开发者

Google map divided in regions with color and in subregions

开发者 https://www.devze.com 2023-03-15 10:13 出处:网络
I need to divide USA map into political boundaries. i.e. states and in seven Regional boundaries on Google map. Each region will have its own color. Example, California, Hawaii, Nevada, Utah, Arizona

I need to divide USA map into political boundaries. i.e. states and in seven Regional boundaries on Google map. Each region will have its own color. Example, California, Hawaii, Nevada, Utah, Arizona and Colorado (Southwestern US) will all be same color. Political boundaries will also be on map along with regio开发者_Python百科nal boundaries. On national view only regional names should be visible and no state name. On zooming in to region state names will be shown, no city name should be visible either I zoom in or out.

Can you please help me understanding that from where should I start? Links? Tutorial?

Do I need an Image to put on map as overlay.

I am really not getting it.

If you want to close this question then please help me that what is the forum to ask this so I put it there?


I need to divide USA map into political boundaries. i.e. states and in seven Regional boundaries on Google map. Each region will have its own color.

You can do this with a relatively simple polygon overlay. You'll need to obtain polygon data for each region of interest from a third party since the API does not provide any.

On zooming in to region state names will be shown, no city name should be visible either I zoom in or out.

This starts to get more complicated. Probably best done using a custom map type (see image map types) if you don't want to see features like city names.

See also

  • Google Maps w/ counties overlay?
  • http://maps.forum.nu
  • State polygon overlay example (for API v2)
  • MapTiler - Map Tile Cutter
  • Polymaps - a personal favorite alternative to Google Maps, with a really slick API
0

精彩评论

暂无评论...
验证码 换一张
取 消