clear Data
open fun clearData(resourceOptions: ResourceOptions, callback: AsyncOperationResultCallback)
Content copied to clipboard
Clears temporary map data. Clears temporary map data from the data path defined in the given resource options. Useful to reduce the disk usage or in case the disk cache contains invalid data. Note that calling this API will affect all maps that use the same data path. Note that calling this API does not affect persistent map data like offline style packages.
Parameters
callback
Called once the request is complete or an error occurred.
resourceOptions
The `resource options` that contan the map data path to be used