Hello,
I found a java script that shows directions on the map
var sourceAddress = Apperyio("from").val();
var destinationAddress = Apperyio("to").val();
displayDirections(sourceAddress, destinationAddress, map);
from this tutorial https://devcenter.appery.io/tutorials...
"from" and "to" are buttons
I want to change them,
because in my map, I display a location by using set storage and set property for the longitude and latitude on the map (first location)
Also, the map shows current location (second location)
I want to show directions between these two locations (the first location that + current location)
How can I do that?
I hope someone could understand me,
thank you,
Asmaa