javascriptgoogle-mapsgoogle-maps-api-3

How to display city limits using google maps API V3


If I do a search for a city or neighbourhood which google recognizes, like Fernwood, Victoria, I get a pretty map with a drawn boundary. Is there any way to access this kind of information with the google maps API?

I am not looking to draw my own lines on maps, I am looking to make a map showing multiple neighbourhoods with limits on the same map. Bonus points for the ability to style these limits (eg: fill them in like a regular polygon)?


Solution

  • I'm pretty sure that this kind of functionality is not supported by the API and works only for Google Maps.

    I had implement this by finding the boundaries that I needed insert them in my postgis db and then send them with JSON whenever the polygon was within the map viewport.