Dec-06-2020, 06:50 PM
If you change your print line to
I am guessing you are trying to have a distance calculator to determine the distance between the 2 location addresses selected?
If this is true then you need a database with the distance information so you can query and populate your widget with that data otherwise you are only calling the data that you already have assigned to the widget, straat2.
No actual KM data is available to calculate the distance of travel between a users 2 city locations.
print(straat2.get())you will get the Straat2, which is already known.
I am guessing you are trying to have a distance calculator to determine the distance between the 2 location addresses selected?
If this is true then you need a database with the distance information so you can query and populate your widget with that data otherwise you are only calling the data that you already have assigned to the widget, straat2.
No actual KM data is available to calculate the distance of travel between a users 2 city locations.