Class GroundOverlayManager
-
- 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.CollectionA collection of GroundOverlays on the map with its own set of listeners.
-
Constructor Summary
Constructors Constructor Description GroundOverlayManager(GoogleMap map)
-
Method Summary
Modifier and Type Method Description GroundOverlayManager.CollectionnewCollection()UnitremoveObjectFromMap(GroundOverlay groundOverlay)UnitsetVisible(GroundOverlay mapObject, Boolean visible)UnitonGroundOverlayClick(GroundOverlay groundOverlay)-
-
Method Detail
-
newCollection
GroundOverlayManager.Collection newCollection()
-
removeObjectFromMap
Unit removeObjectFromMap(GroundOverlay groundOverlay)
-
setVisible
Unit setVisible(GroundOverlay mapObject, Boolean visible)
-
onGroundOverlayClick
Unit onGroundOverlayClick(GroundOverlay groundOverlay)
-
-
-
-