DataSourcesImpl
Functions
Link copied to clipboard
Be notified of map selection changes
Link copied to clipboard
Deselects the current building (property remains selected)
Link copied to clipboard
Deselect all entities
Link copied to clipboard
enable/disable automated click processing
Link copied to clipboard
Finds the nearest Entity based on the given SearchEntity.
Link copied to clipboard
Get access to the Map Overlay Repository
Link copied to clipboard
Get current selected building data.
Link copied to clipboard
Gets the selected entity if any
Link copied to clipboard
Call this function to get selected building location.
Link copied to clipboard
Gets SelectedLocation name
Link copied to clipboard
Get current selected property id.
Link copied to clipboard
Check whether or not automatic click processing is enabled
Link copied to clipboard
Check whether or not a building is plotted
Link copied to clipboard
Check whether or not a building is plotted and visible
Link copied to clipboard
Check whether or not a property is plotted
Link copied to clipboard
Plotting a building on the map (without selecting it)
Link copied to clipboard
Plotting a property on the map (without selecting it)
Link copied to clipboard
refresh mapoverlay on the map
Link copied to clipboard
* Call this function to remove a specific building on the map
Link copied to clipboard
Unsubscribe from map selection change events
Link copied to clipboard
Call this function if you want to remove the property drawings from the map.
Link copied to clipboard
Remove selected entity pin from map
Link copied to clipboard
Select a specific building and plot it
Link copied to clipboard
Call this function to select an entity.
Link copied to clipboard
open fun selectPropertyAndDrawIfNeeded(propertyId: Int, @Nullable listener: MapApi.PropertyPlotListener)
Call this function to changes the current selected property corresponding to a new selected property id.
Link copied to clipboard
Selects the given building id
Link copied to clipboard
open fun startPropertyDownload(context: Context, propertyId: Int, listener: PropertyDownloadManager.Listener)
Starts a property download.
Link copied to clipboard
Call this function to perform a floor switch.
open fun switchFloor(targetBuildingId: Int, targetFloorId: Int, @Nullable onSwitched: Consumer<Boolean>): Boolean
Same as switchFloor but notifies
onSwitched once the target floor is actually visible (its native layers materialized for a deferred floor).