在google maps api中为邮政编码区域添加颜色?

时间:2012-11-02 12:32:57

标签: api google-maps area postal

我希望通过在其周围设置边框并在其区域内显示颜色来以不同方式显示每个邮政编码。 我在js中使用google maps api服务。

1 个答案:

答案 0 :(得分:-1)

Google API不提供直接在邮政编码或城市的任何类型的地方都有边界的功能。因此,您必须手动从某些第三方获取表示区域边界的 lat lng数组并绘制折线。 以下链接可能会有所帮助。

Google map divided in regions with color and in subregions

google maps v3 - highlight states or regions of states

how to add or show zip code boundary Google maps v3

http://www.quora.com/How-do-I-show-the-boundaries-of-postcodes-on-google-maps

http://www.quora.com/Is-there-a-way-to-get-boundaries-of-neighborhoods-in-Google-maps-api

相关问题