In my web app, I have to show the path between my current location and another place.
The latitude and longitude of the other location has been saved in my database (I am using DB2). I can show both locations in map with 2 different markers, I am unable to make a path between
You need Google to accept latitude and longitude values for its original and destination parameters.
See the following example: https://maps.googleapis.com/maps/api/directions/json?origin=< Latitude & gt ;, & lt; Latitude & gt; & Amp; Destination = & lt; Latitude & gt ;, & lt; Longitude & gt; & Amp; Key = API_KEY
No comments:
Post a Comment