Tile Store Observer
interface TileStoreObserver
Content copied to clipboard
Observer for getting notified about changes to TileRegions.
Functions
on Region Geometry Changed
Link copied to clipboard
abstract fun onRegionGeometryChanged(@NonNull id: String, @NonNull geometry: Geometry)
Content copied to clipboard
Called when the geometry of a TileRegion was modified.
on Region Load Finished
Link copied to clipboard
abstract fun onRegionLoadFinished(@NonNull id: String, @NonNull region: Expected<TileRegionError, TileRegion>)
Content copied to clipboard
Called once a TileRegion load completes successfully, or is aborted due to cancellation or errors.
on Region Load Progress
Link copied to clipboard
abstract fun onRegionLoadProgress(@NonNull id: String, @NonNull progress: TileRegionLoadProgress)
Content copied to clipboard
Called whenever the load progress of a TileRegion changes.
on Region Metadata Changed
Link copied to clipboard
abstract fun onRegionMetadataChanged(@NonNull id: String, @NonNull value: Value)
Content copied to clipboard
Called when the user-provided metadata associated with a TileRegion was changed.
on Region Removed
Link copied to clipboard
Called when a TileRegion was removed.