Beispiel #1
0
 @Override
 public void onPause() {
   super.onPause();
   mapController.saveLocation();
   locationMarkerLayer.removeAllItems();
   poiMarkersLayer.removeAllItems();
   unregisterLocationReceivers();
 }
Beispiel #2
0
 private void addLocationDot() {
   if (locationMarkerLayer != null) {
     locationMarkerLayer.removeAllItems();
     locationMarkerLayer.addItem(getUserLocationMarker());
   }
 }