You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It’ll allow me to manually put the co ordinates in but will not allow me to put a variable containing the exact same co ordinates in the same format. Would anyone have a solution to this thanks.
The text was updated successfully, but these errors were encountered:
def pins():
global translation
global rdata
conn = sqlite3.connect('address_book.db')
c = conn.cursor()
c.execute("SELECT * FROM parking")
data1 = c.fetchone()
rdata = (data1[0])
print(rdata)
marker_1 = map_widget.set_marker(rdata, text="52.55, 13.4")
conn.commit()
conn.close()
53.727830, -1.353003
not sure what to do as when I paste that co ordinate or address manually instead of 'rdata' or 'data1[0]' it works fine and loads the map up with the pin in the location I want, but when I put in rdata it seems to be having none of it even if I translate it into an address and put it through. New to Tkinter so Im probs missing something silly, help would be appreciated. cheers
It’ll allow me to manually put the co ordinates in but will not allow me to put a variable containing the exact same co ordinates in the same format. Would anyone have a solution to this thanks.
The text was updated successfully, but these errors were encountered: