在 Xcode 上使用 Mapkit 时如何删除城市标签

发布于 2024-10-07 21:01:41 字数 110 浏览 0 评论 0原文

我想删除所有标签,例如当我在 xcode 上使用 Mapkit 时默认附带的城市名称,即我将加载带有大陆的普通 MapView,但没有有关城市/国家名称的信息。我有什么办法可以做到吗?

谢谢

I would like to remove all the labels such as the city names that comes with default when I use the Mapkit on xcode i.e I would be loading a plain MapView with the continents but no information about the cities/countries name. Is there any way I could do it?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

迷你仙 2024-10-14 21:01:41

如果您需要修改地图,请查看一些自定义地图 SDK,例如基于 OpenStreetMap 图块的 CloudMade:

http://cloudmade.com/

If you need to modify maps look into some of the custom mapping SDK's, like CloudMade based on OpenStreetMap tiles:

http://cloudmade.com/

南风几经秋 2024-10-14 21:01:41

不幸的是,来自 Google 的数据无法修改,而且我相信您在使用 MapKit 时同意的许可明确不允许修改地图。

Unfortunately the data coming from Google cannot be modified, and I believe that the license you agree to when using MapKit specifically disallows modifying the maps.

寒江雪… 2024-10-14 21:01:41

你也可以制作自己的覆盖层来掩盖谷歌数据,尽管据我所知,它仍然会在幕后获取。我正在尝试找出如何停止加载 Google 地图,如果可行的话我会通知您。

查看 Apple 的 TileMap 演示,了解如何显示叠加层的信息。

You could also make your own overlays that would obscure the Google data, though it would still be fetched behind the scenes as far as I can tell. I'm trying to find out how to stop loading Google's maps and will let you know if that's possible.

Look at the TileMap demo from Apple for info on how to display your overlays.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文