removeTileRegion

open fun removeTileRegion(@NonNull id: String)

Removes a tile region. Removes a tile region from the existing packages list. The actual resources eviction might be deferred. All pending loading operations for the tile region with the given id will fail with Canceled error.

Parameters

id

The tile region identifier.

open fun removeTileRegion(@NonNull id: String, @NonNull callback: TileRegionCallback)

An overloaded version with a callback for feedback. On successful tile region removal, the given callback is invoked with the removed tile region. Otherwise, the given callback is invoked with an error.

Parameters

id

The tile region identifier.

callback

A callback to be invoked when a tile region was removed.