iPhone 上的本机 Google 地图应用程序支持哪些 KML 字段?

发布于 2024-07-12 08:43:06 字数 225 浏览 6 评论 0原文

我一直在做一些关于在 iPhone 应用程序中使用地图的研究,看起来我的大部分需求都可以通过将 KML 数据传递到内置的谷歌地图应用程序来满足,但我似乎无法设置相同的值(电话、主页、地址),在地图应用程序中执行内置搜索时可用。 有谁知道是否有任何方法可以设置这些值,或者哪些字段可用?

更新:随着 3.0 操作系统和 Map API 的出现,应用程序不再需要将控制权传递给内置地图应用程序,因此这个问题不再相关。

I have been doing some research on using maps in iPhone applications and it looks like most of my needs can be met passing KML data into the built-in google maps application, but I cannot seem to set the same values (phone, home page, address) that are available when performing a built-in search in the maps application. Does anyone know if there is any way to set those values, or what fields are available?

UPDATE: With the advent of the 3.0 OS and the Map API, applications no longer need to pass control to the built-in map application, so this question is no longer relevant.

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

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

发布评论

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

评论(3

原野 2024-07-19 08:43:06

目前 Apple 尚未正式支持 KML。 它在 URL 方案文档中指定。 ?q= 参数中的任何 URL 将被忽略。

KML is not officially supported by Apple as of now. It's specified in the URL schemes documentation. Any URL in the ?q= parameter will be ignored.

空袭的梦i 2024-07-19 08:43:06

对于计划在其软件中使用 Google 地图的 iPhone 开发人员来说,可用的选项很少。 我已经看到了 WebKit 的示例代码和实现,可以将手势转换为加载到其中的 Google 地图,但性能充其量也很糟糕。 在原生 API 可用之前,制作不进行大量缩放或滚动的静态地图几乎是唯一保留性能的选项。

There are few options available for iPhone developers planning to use Google Maps in their software. I've seen sample code and implementations of WebKit that translates gestures to Google Maps loaded inside it, but performance is dismal at best. Doing a static map without a lot of zooming or scrolling is pretty much the only performance-preserving option until a native API is available.

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