GroundOverlayManager

open class GroundOverlayManager : MapObjectManager<O, C> , 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()

Constructors

Link copied to clipboard
constructor(@NonNull map: GoogleMap)

Types

Link copied to clipboard
open class Collection : MapObjectManager.Collection

Functions

Link copied to clipboard
open fun getCollection(id: String): C
Gets a named collection that was created by newCollection
Link copied to clipboard

open fun newCollection(id: String): C
Create a new named collection, which can later be looked up by getCollection
Link copied to clipboard
open fun onGroundOverlayClick(@NonNull groundOverlay: GroundOverlay)
Link copied to clipboard
open fun remove(object: O): Boolean
Removes an object from its collection.