是否可以将 Google 地图与路线和公交图层集成到 iPhone 应用程序中?

发布于 2024-08-30 20:28:19 字数 210 浏览 4 评论 0原文

很抱歉,如果这个问题对你们中的一些人来说是显而易见的。

我知道我们可以链接到现有的 Goggle Maps 应用程序,但我希望有一个不会退出并提供内部方向的应用程序。我打算将 GTFS 用于公共交通。

另一方面,是否可以在 iPhone 应用程序内根据 Google Transit 返回的结果绘制一条线? (比如说,我将到达和出发地址发送给它)

非常感谢!

Sorry if this question is obvious for some of you.

I know we can link to the existing Goggle Maps app, but I would like to have an app that does not exit and provides the direction within. I intend using GTFS for public transit.

On the other hand, would it be possible to plot a line inside the iPhone app the results as returned by Google Transit? (say, I send it the arrival and departure addresses)

Thank you so much!

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

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

发布评论

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

评论(1

神仙妹妹 2024-09-06 20:28:19

我目前正在努力在 iPhone 应用程序中集成方向支持,并且找到了以下选项:

  • 使用 maps.google.com URL 调用地图应用程序
  • 使用 Google Maps JavaScript APIUIWebView
  • 画一条线覆盖在 MKMapView 上的透明视图。

我已经认为#3 不可行...

I'm working on integrating direction support in an iPhone app at the moment, and I've found these options:

  • Call out to the maps app using a maps.google.com URL
  • Use the Google Maps JavaScript API in a UIWebView
  • Draw a line in a transparent view overlaid on a MKMapView.

I already discounted #3 as infeasible...

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