Map Places Manager
class MapPlacesManager
Content copied to clipboard
Types
Fill Places Listener
Link copied to clipboard
interface FillPlacesListener
Content copied to clipboard
Callback interface called when fillPlaces operation finishes
Query Visible Places Listener
Link copied to clipboard
interface QueryVisiblePlacesListener
Content copied to clipboard
Callback interface called when queryVisiblePlaces operation finishes
Functions
clear
Link copied to clipboard
fun clear()
Content copied to clipboard
Clear all places imported by fillPlaces method
fill Places
Link copied to clipboard
fun fillPlaces(places: Array<MapPlace>, categories: Array<MapPlaceCategory>, listener: MapPlacesManager.FillPlacesListener = FillPlacesListenerWrapper(), executor: Executor? = null)
Content copied to clipboard
Import given map places and categories into map drawing engine All previous places are removed during this process
get Places Count
Link copied to clipboard
Get number of places imported by fillPlaces method
query Visible Places
Link copied to clipboard
fun queryVisiblePlaces(categories: Array<String>, emptyDescription: Boolean, listener: MapPlacesManager.QueryVisiblePlacesListener, executor: Executor? = null)
Content copied to clipboard
Query visible places filtered by category and/or description text A place is considered visible when:
update Place
Link copied to clipboard
Update place's data of imported map place of the same id (see MapPlace.id)