Created
April 21, 2016 13:20
-
-
Save here-devblog-gists/7dfb5851538591ec9633283c262497a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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