removeTileRegion

open fun removeTileRegion(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(id: String, 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

callback

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

id

The tile region identifier.