Charan Charan - 2 months ago 18
Android Question

Default current location pin in Skobbler map

I am using skobbler map for Android. I do not require current location to pointed on the map, so I am not registering for the current location listener and skobbler map itself adds an default current location pin on the map. Please check the image attached. screenshot , please tell me how to not display this. And, by default the maps takes to Berlin, Germany can this be avoided? If yes, how?

alx alx
Answer

You can set the behavior of the default position annotation with mapView.getMapSettings().setCurrentPositionShown(false).
To center the map on a desired location use mapView.centerMapOnPosition(skPosition).
Where mapView is your SKMapSurfaceView instance.

Comments