Types

Link copied to clipboard

Callback interface called when setClusterSettings finishes

Link copied to clipboard

Callback interface called when fillPlaces operation finishes

Link copied to clipboard

Callback interface called when queryVisiblePlaces operation finishes

Functions

Link copied to clipboard
fun clear()

Clear all places imported by fillPlaces method

Link copied to clipboard
fun fillPlaces(places: Array<MapPlace>, categories: Array<MapPlaceCategory>, listener: MapPlacesManager.FillPlacesListener = FillPlacesListenerWrapper(), executor: Executor? = null)

Import given map places and categories into map drawing engine All previous places are removed during this process

Link copied to clipboard

Get number of places imported by fillPlaces method

Link copied to clipboard
Link copied to clipboard
fun queryVisiblePlaces(categories: Array<String>, emptyDescription: Boolean, listener: MapPlacesManager.QueryVisiblePlacesListener, executor: Executor? = null)

Query visible places filtered by category and/or description text A place is considered visible when:

Link copied to clipboard
fun setClusterSettings(settings: MapPlaceClusterSettings, listener: MapPlacesManager.ClusterSettingsListener = ClusterSettingsListenerWrapper(), executor: Executor? = null)

Provide settings for the cluster calculation. The clustering joins nearby places to cluster objects when a view is zoomed out. The settings will be used in the subsequent fillings of places. This function itself doesn't perform any clusters processing. If settings are invalid, the radius is too small or too large, previous or default settings will be used.

Link copied to clipboard
fun updatePlace(place: MapPlace)

Update place's data of imported map place of the same id (see MapPlace.id)