颜色邮政code在谷歌地图API的面积? [英] Color the postal code area in google maps api?

查看:173
本文介绍了颜色邮政code在谷歌地图API的面积?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过将其区域内周围边框和颜色不同的显示每个邮政code。
我正在使用JS谷歌地图API服务。

I want to show each postal code differently by having border around it and color inside its area. I am using google maps api service in js.

推荐答案

谷歌API不提供一个功能直接周围有任何地方的边界是它的邮政code或城市。所以,你必须手动得到的纬度LNG阵列的一些第三方表示区域边界和绘制的折线的。
下面的链接可能会有所帮助。

Google API does not provide a feature to directly have a boundary around any kind of locality be it postal code or city. So you will have to manually get the lat lng array denoting the region boundary from some third party and plot the polyline. The below links might be helpful.

<一个href=\"http://stackoverflow.com/questions/6455917/google-map-divided-in-regions-with-color-and-in-subregions\">Google地图中的区域色彩,并在次区域划分

<一个href=\"http://stackoverflow.com/questions/7734875/google-maps-v3-highlight-states-or-regions-of-states\">google地图V3 - 彰显国家或国家地区

<一个href=\"http://stackoverflow.com/questions/13051149/how-to-add-or-show-zip-$c$c-boundary-google-maps-v3\">how添加或显示压缩code边界谷歌地图V3

http://www.quora.com/How-do-I-show-the-boundaries-of-post$c$cs-on-google-maps

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

这篇关于颜色邮政code在谷歌地图API的面积?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆