iOS MapKit 公园地图上的标签构建

发布于 2024-10-04 19:53:22 字数 224 浏览 0 评论 0原文

我想要实现的是,在堪培拉(澳大利亚)的展览公园举办了一场活动,该活动利用了该地产上的建筑。我不确定的是,当这些建筑物没有出现在地图应用程序中时,如何在 MapKit 中显示它们并对其进行标记。

有人对此有任何解决方案吗?我应该只使用定位点和注释还是有更好的方法来完成任务?

请注意,我不熟悉 MapKit,因此如果答案中包含更多详细信息,我们将不胜感激。

谢谢,

马特。

What I'm trying to achieve is that there is an event being held at Exhibition Park in Canberra (that's in Australia) which makes use of the building on the property. What I'm not sure about is how to show these buildings and label them in MapKit when they don't appear in the maps application.

Does anyone have any solutions about this? Should I just use pin points and annotations or is there a better way of accomplishing things?

Please note that I'm unfamiliar with MapKit so as much detail in the answer would be appreciated.

Thanks,

Matt.

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

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

发布评论

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

评论(1

久伴你 2024-10-11 19:53:22

我建议您使用 MKPinAnnotation 向地图添加图钉,并配置为在点击图钉时显示标注。

了解 MapKit 的最简单方法是观看有关该主题的 WWDC 视频,您可以从 iOS 开发人员门户下载该视频。

I would recommend you use MKPinAnnotation to add pins to the map, configured to show callouts when you tap on them.

The easiest way to pickup MapKit is to watch the WWDC video on the subject, which you can download from the iOS developer portal.

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