コード例 #1
0
 /** Clears any vehicle markers from the map */
 public synchronized void clear() {
   if (mMarkerData != null) {
     mMarkerData.clear();
     mMarkerData = null;
   }
   if (mCustomInfoWindowAdapter != null) {
     mCustomInfoWindowAdapter.clear();
   }
 }
コード例 #2
0
 /**
  * Clears any stop markers from the map
  *
  * @param clearFocusedStop true to clear the currently focused stop, false to leave it on map
  */
 public synchronized void clear(boolean clearFocusedStop) {
   if (mMarkerData != null) {
     mMarkerData.clear(clearFocusedStop);
   }
 }