【问题标题】:Color the postal code area in google maps api?在google maps api中为邮政编码区域着色?
【发布时间】:2012-10-23 02:50:27
【问题描述】:

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

【问题讨论】:

标签: api google-maps area postal


【解决方案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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-01-03
    • 2011-11-28
    • 2011-05-19
    • 2011-07-31
    • 1970-01-01
    • 2017-01-16
    • 2014-06-11
    • 2017-02-15
    相关资源
    最近更新 更多