Exemple #1
0
  public void findMe() {
    if (mapController.getLocation() != null) {
      addLocationDot();
      if (followMe || !initialRelocateHappened) {
        // TODO find ways to accomplish this without two flags ;(
        mapController.resetMapForUser();
        initialRelocateHappened = true;
        getMap().setMapPosition(getUserLocationPosition());
      }

      updateMap();
    }
  }
Exemple #2
0
 @Subscribe
 public void onLocationUpdate(LocationUpdateEvent event) {
   addLocationDot();
 }