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

Jeremy
  • 1,908
  • 3
  • 25
  • 38

3 Answers3

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.

bamnet
  • 2,525
  • 17
  • 21
0

Google Static Map API

Here it is

  • 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. http://maps.googleapis.com/maps/api/staticmap?center=32.725409,%20-97.320849&zoom=10&size=400x400&sensor=false – Heitor Chang Mar 13 '12 at 17:53
  • @HeitorChang: Can you link to the map with boundaries? I don't see them in the Google Maps map. – Andrew Leach Mar 14 '12 at 07:54
  • At close zooms, the boundaries disappear. http://maps.google.com/maps?q=Fort+Worth,+TX,+United+States&hl=en&ll=32.814978,-97.289429&spn=0.626696,1.352692&sll=-23.550633,-46.653168&sspn=0.010681,0.021136&oq=fort+wort&hnear=Fort+Worth,+Tarrant,+Texas&t=m&z=10 – Heitor Chang Mar 14 '12 at 13:22
  • 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? – Jeremy Mar 19 '12 at 04:50