谷歌已开始突出粉红色的搜索区域。此功能是否可在Google Maps API 3中使用? [英] Google has started highlighting search areas in Pink color. Is this feature available in Google Maps API 3?

查看:116
本文介绍了谷歌已开始突出粉红色的搜索区域。此功能是否可在Google Maps API 3中使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自2012年1月以来,Google已开始以挑选颜色突出搜索区域。在此处查看详情:
http:// googlesystem.blogspot.in/2012/01/highlight-areas-in-google-maps.html



有谁知道这是否可以通过编程方式完成谷歌地图API 3?我希望在地图上显示我的城市,如上面链接所示。



我已经尝试了Geocode API,在其中搜索城市。该API只给我经纬度信息。它无法帮助我绘制城市边界。 解决方案

不。它在API中不可用。



(它可能将来可用.Google地图的功能会迁移到API中,但是 Google没有提前发布消息,也没有人有水晶球。)



您需要查找城市边界并绘制排队。边界数据几乎可以肯定是美国的公有领域。其他司法管辖区可能不会如此。

Since Jan 2012, Google has started highlighting search areas in pick color. See the details here: http://googlesystem.blogspot.in/2012/01/highlight-areas-in-google-maps.html

Does anyone know if this can be programmatically done using google maps API 3? I would want to show my cities in the map highlighted as shown in the link above.

I have already tried the Geocode API where I search for a city. That API only gives me the lat and long information. It does not help me in plotting the city boundaries.

解决方案

No. It's not available in the API.

(It may be available in the future. Features of Google Maps do migrate into the API, but Google don't make announcements in advance and no-one has a crystal ball.)

You would need to find the city boundaries and draw the line yourself. Boundary data is almost certainly public-domain for the US. Other jurisdictions may not be so forthcoming.

这篇关于谷歌已开始突出粉红色的搜索区域。此功能是否可在Google Maps API 3中使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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