How to retrieve a static map showing city or municipality boundaries
Asked Answered
D

3

8

I'm not sure where to start looking in the documentation, but I'm trying to load map images of cities with their boundaries outlined.

Like this...

Fort Worth map including boundaries

Any help getting started would be greatly appreciated, I'm pretty new to the maps api.

Thanks

Drawee answered 13/3, 2012 at 17:7 Comment(1)
You might try using: openstreetmap.orgAmbros
C
4

There is currently no way to request a map with boundaries automatically rendered on it. Your best bet is to pull the polygon information from another system and render using an encoded polyline if you're using the Static Map API or regular overlays in the JavaScript API.

Capelin answered 29/3, 2012 at 0:28 Comment(0)
P
0

Google Static Map API

Here it is

Prosit answered 13/3, 2012 at 17:50 Comment(4)
I'd like to see an example. I can't get it to work. Here's a static map API link without the boundaries, that at the same zoom on maps.google.com, shows boundaries. maps.googleapis.com/maps/api/…Christensen
@HeitorChang: Can you link to the map with boundaries? I don't see them in the Google Maps map.Buckshot
At close zooms, the boundaries disappear. maps.google.com/…Christensen
I looked through this pretty close and don't see any obvious way to display borders at any zoom level. Am i missing something obvious? Do you have to pass in encoded data to draw out the boundaries?Drawee

© 2022 - 2024 — McMap. All rights reserved.