reactjsgoogle-mapsgoogle-maps-api-3openstreetmapgeofencing

Is there a Google Map API which returns a polygon that maps the boundary for a specific location?


I want a set of coordinates representing a polygon around a region like given by OpenStreetMap. Does google map provide any similar API? I found a similar implementation on OpenStreetMaps API which provides a polygon for a specific area like this example.


Solution

  • As mentioned by MrUpsidedown there is no Google API for automatic city/region boundaries as Polygon from Google Maps API but I integrated nominatim of OSM with Google Maps to get the desired functionality.