Google 已开始以粉红色突出显示搜索区域.此功能在 Google Maps API 3 中可用吗? [英] Google has started highlighting search areas in Pink color. Is this feature available in Google Maps API 3?

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

问题描述

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

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

有谁知道这是否可以使用谷歌地图 API 3 以编程方式完成?我想在上面的链接中突出显示的地图中显示我的城市.

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.

我已经尝试过使用 Geocode API 搜索城市.该 API 只给我经纬度信息.它对我绘制城市边界没有帮助.

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.

推荐答案

没有.它在 API 中不可用.

No. It's not available in the API.

(它可能在未来可用.Google Maps 的功能确实迁移到 API 中,但是Google 不会提前发布公告,也没有人一个水晶球.)

(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 已开始以粉红色突出显示搜索区域.此功能在 Google Maps API 3 中可用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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