android - 您如何在 google maps api 中访问国家/州/省多边形?

标签 android overlay google-maps

我在谷歌地图数据上显示了相当大的 map 叠加层,但仍然希望通过我的叠加层查看国家/州/省线(因此这些线基本上在顶部我的叠加层)。

据我了解,这些线只是绘制在 map 上的多边形。有没有办法访问这些?如果是这样,我如何让它们通过我的叠加图像显示出来?

最佳答案

would still like to see the country/state/province lines through my overlay

您可以通过叠加层中项目的适当透明度来实现这一点。

(so the lines would essentially be on top of my overlay)

我不知道这在 Android 中是可能的。

Is there any way to access these?

据我所知不是。

如果您更习惯于使用基于 Web 的 Maps API,您始终可以在 WebView 小部件中使用它,而不是使用 MapView。市场上有许多应用程序都以这种方式工作。

关于android - 您如何在 google maps api 中访问国家/州/省多边形?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3037310/

相关文章:

android - 哪个版本的 Eclipse 与 Android 一起使用

Jquery 页面覆盖

android - 如何从谷歌地方检索搜索建议?

google-maps - 谷歌地图 Adsense adunit 样式

android - 如何在react-native中集成方向

android - TextureAtlas 大小有限制吗?

android - 如何让listview的header不消耗触摸事件

iOS AVFoundation - 在视频上显示时间并导出

c# - 是什么让 Winform 职位最初变得陈旧?

javascript - Uncaught ReferenceError : google is not defined (index):21 initialize ( Google Maps API )