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