Geographical boundaries of states/provinces -> Google Maps Polygon

前端 未结 4 1109
灰色年华
灰色年华 2020-11-28 20:23

I\'m building a web application that is going to dynamically highlight certain U.S. states and Canadian provinces on a Google Map, based on buttons and click events.

4条回答
  •  [愿得一人]
    2020-11-28 20:44

    I've got XML for US state polygons here. I use them like this.

    I deliberately kept the detail fairly light to reduce the loading time and end up with a map that's reasonably responsive in slow browsers.

    I don't have anything for Canada.

提交回复
热议问题