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