[Solved] How do I get the shortest path between two given coordinates in MapView? [closed]


You can use Directions API given by Google Maps SDK.
Example:
https://maps.googleapis.com/maps/api/directions/json?origin=lat,long&destination=lat1,lon1

It takes source and destination latitude and longitude and returns a JSON object of routes and the distance for each route. You can select the shortest route and map it.

0

solved How do I get the shortest path between two given coordinates in MapView? [closed]