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.
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.