【问题标题】:Current location in SKOBBLER mapSKOBBLER 地图中的当前位置
【发布时间】:2015-05-27 12:46:28
【问题描述】:

我是 android 新手,甚至是 Skobbler sdk 的新手 我正在尝试访问当前位置,但它把我带到了柏林 我正在使用下面的代码:

mapView.getMapSettings().setCurrentPositionShown(true);

【问题讨论】:

    标签: android skmaps currentlocation


    【解决方案1】:

    在 SKMapSurfaceView 上使用getCurrentGPSPosition 获取当前位置(匹配或不匹配路网)。

    查看文档:http://developer.skobbler.ro/docs/android/com/skobbler/ngx/map/SKMapSurfaceView.html#getCurrentGPSPosition(boolean)

    或者,您可以通过SKCurrentPositionListener列出位置更新

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-11-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多