Android map 方向

标签 android google-maps-android-api-2 map-directions

我希望集成纬度、经度和用户当前位置之间的方向。我希望通过单击按钮将用户引导至已安装的 Google map /其他应用程序并显示方向。

我搜索了 SO 和 Google,但找不到好的来源,因此发布此问题。

Tour Bangalore似乎能够做到。 找不到有关如何实现此目的的文档

最佳答案

抱歉,没有记录和支持的Intent结构。您可以bring up a map on a point ,但不强制 map 获取方向。

另外,请记住:

  • 并非所有设备都有 Google map
  • 用户可能不想使用 Google map ,即使已安装(例如,他们购买了一些想要使用的第三方 map 应用)

关于Android map 方向,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14445827/

相关文章:

android - 如何在外部 Google map 应用程序中加载 Android Direction API 结果?

android - Nativescript:如何关闭 Android 上文本字段的预测?

android - 如何获取设备的当前位置?谷歌地图

android - MapFragment 或 MapView getMap() 在 Lollipop 上返回 null

google-maps - Google maps api Directions 用户定义的步骤

android - 谷歌地图 API 方向

android - 如何禁用在 AChartEngine 中显示缩放 Pane

android - 使用 KSOAP Android 创建 SOAP 请求

Android 在 String.xml 中设置字符串值

Android MapView getMap() 返回 null