Give nearest location. Google maps api. Google matrix distance api

0

Hi guys, I've created a map with several destination markers and with geolocation. Now I'm using the distance matrix API to get the distance of each point. I want that when the gps of my mobile is activated calculate all the distances between my location and that of the markers that I have registered and depending on the closest one I trace a route to go to that nearest location. Right now, I trace the route but not to the nearest marker.

    
asked by Abel De Jesús 22.05.2018 в 16:04
source

0 answers