MapstedMapEventManager

Manager class for implementing map events and map vector element events

Constructors

Link copied to clipboard
constructor(mapApi: MapApi)

Functions

Link copied to clipboard
Register a map click listener (e.g.
Link copied to clipboard
Register a map event listener (e.g.
Link copied to clipboard
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
open fun onMapClicked(@NonNull mapClickInfo: MapClickInfo)
Base map has been clicked
Link copied to clipboard
open fun onMapIdle()
Called when the map is idle
Link copied to clipboard
open fun onMapMoved()
Called when the map is moved
Link copied to clipboard
open fun onMapStable()
Called when the map is stable
Link copied to clipboard
open fun onVectorElementClicked(@Nullable clickInfo: VectorElementClickInfo): Boolean
Vector element on map has been clicked.
Link copied to clipboard
open fun onVectorTileClicked(clickInfo: VectorTileClickInfo): Boolean
Vector Tile element on map has been clicked (carto-css) Vector Tiles are elements like entites on the map drawn via carto-css
Link copied to clipboard
Unregister a map click listener (e.g.
Link copied to clipboard
Unregister a map event listener (e.g.
Link copied to clipboard
Control whether or not map listener allows the selection of non-searchable entities