How do I get the vertices of a defined area / region in google maps -
i'm trying vertices of region that's showing in google.
for example here region of "piñeiro" in buenos aires, argentina:
https://www.google.com.ar/maps/place/piñeiro,+provincia+de+buenos+aires/
and here region kent in united kingdom:
https://www.google.co.uk/maps/place/kent,+uk/
in both region recognized google , shows polygon on map.
i want vertices of polygon without having manually define or copy myself.
the information i'm looking list of latlng coordinates defining polygon.
how can that?
the polygons show when using google maps. not available through google maps api or google places api.
if @ response format here: https://developers.google.com/places/web-service/details#placedetailsresponses. geometry object contains location coordinate , view port.
"geometry" : { "location" : { "lat" : -33.866651, "lng" : 151.195827 }, "viewport" : { "northeast" : { "lat" : -33.8653881697085, "lng" : 151.1969739802915 }, "southwest" : { "lat" : -33.86808613029149, "lng" : 151.1942760197085 } } }
Comments
Post a Comment