TileStoreObserverNative

class TileStoreObserverNative : TileStoreObserver

Observer for getting notified about changes to TileRegions.

Constructors

TileStoreObserverNative
Link copied to clipboard
open fun TileStoreObserverNative(peer: Long)

Functions

onRegionGeometryChanged
Link copied to clipboard
open fun onRegionGeometryChanged(id: String, geometry: Geometry)
Called when the geometry of a TileRegion was modified.
onRegionLoadFinished
Link copied to clipboard
open fun onRegionLoadFinished(id: String, region: Expected<TileRegionError, TileRegion>)
Called once a TileRegion load completes successfully, or is aborted due to cancellation or errors.
onRegionLoadProgress
Link copied to clipboard
open fun onRegionLoadProgress(id: String, progress: TileRegionLoadProgress)
Called whenever the load progress of a TileRegion changes.
onRegionMetadataChanged
Link copied to clipboard
open fun onRegionMetadataChanged(id: String, value: Value)
Called when the user-provided metadata associated with a TileRegion was changed.
onRegionRemoved
Link copied to clipboard
open fun onRegionRemoved(id: String)
Called when a TileRegion was removed.