Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
private PositioningManager posManager;
...
private void onMapFragmentInitializationCompleted() {
// retrieve a reference of the map from the map fragment
map = mapFragment.getMap();
// start the position manager
posManager = PositioningManager.getInstance();
PositioningManager.getInstance();
posManager.start(PositioningManager.LocationMethod.GPS_NETWORK);
// Display position indicator
map.getPositionIndicator().setVisible(true);
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.