0

I am new to android and even newer to Skobbler sdk I am trying to access the current location but it taking me to berlin I am using the code below :

mapView.getMapSettings().setCurrentPositionShown(true);
pradeep
  • 29
  • 1

1 Answers1

1

Use getCurrentGPSPosition on SKMapSurfaceView to get the current position (either matched to the road network or not).

Check also the documentation: http://developer.skobbler.ro/docs/android/com/skobbler/ngx/map/SKMapSurfaceView.html#getCurrentGPSPosition(boolean)

Alternatively you can listed to position update via SKCurrentPositionListener

Ando
  • 11,199
  • 2
  • 30
  • 46
SylviA
  • 1,577
  • 9
  • 13