query Visible Places
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:
it's located inside of the visible area on at least one map view
current zoom level of the map is bigger (closer) than corresponding SYMapPlaceCategory.zoomLimit
not currently grouped into a cluster If a place fits criteria but actually hidden due to overlapping with another place, it's considered as visible.
Parameters
categories
array of category identifiers which should be included in result (see MapPlaceCategory.id)
empty Description
if true, only places with empty description text will be included in result (see MapPlace.description)
listener
callback listener with matching map places array which will be called when operation finishes
executor
callback will be called on this executor