-
- All Implemented Interfaces:
-
com.google.android.gms.maps.GoogleMap.OnGroundOverlayClickListener
public class GroundOverlayManager extends MapObjectManager<GroundOverlay, GroundOverlayManager.Collection> implements GoogleMap.OnGroundOverlayClickListener
Keeps track of collections of ground overlays on the map. Delegates all GroundOverlay-related events to each collection's individually managed listeners.
All ground overlay operations (adds and removes) should occur via its collection class. That is, don't add a ground overlay via a collection, then remove it via GroundOverlay.remove()
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classGroundOverlayManager.Collection
-
Constructor Summary
Constructors Constructor Description GroundOverlayManager(GoogleMap map)
-
Method Summary
Modifier and Type Method Description GroundOverlayManager.CollectionnewCollection()voidonGroundOverlayClick(@NonNull() GroundOverlay groundOverlay)-
Methods inherited from class com.google.maps.android.collections.MapObjectManager
getCollection, newCollection, newCollection, remove -
Methods inherited from class com.google.android.gms.maps.GoogleMap.OnGroundOverlayClickListener
onGroundOverlayClick -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
newCollection
GroundOverlayManager.Collection newCollection()
-
onGroundOverlayClick
void onGroundOverlayClick(@NonNull() GroundOverlay groundOverlay)
-
-
-
-