Beispiel #1
0
 private void detachOverview() {
   if (!overviewAttached) {
     return;
   }
   for (Marker m : overview) {
     m.setMap(null);
   }
   overviewAttached = false;
 }
Beispiel #2
0
 private void attachOverview() {
   if (overviewAttached) {
     return;
   }
   if (map == null) {
     return;
   }
   for (Marker m : overview) {
     m.setMap(map);
   }
   overviewAttached = true;
 }
Beispiel #3
0
 private void attachCurrentHum() {
   if (currentHum == null || currentHum.getMap() != null) {
     return;
   }
   currentHum.setMap(map);
 }
Beispiel #4
0
 private void detachCurrentHum() {
   if (currentHum == null || currentHum.getMap() == null) {
     return;
   }
   currentHum.setMap(null);
 }