clear Data
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 and does not affect persistent map data like offline style packages.
Parameters
resource Options
The resource options
that contain the map data path to be used
callback
Called once the request is complete or an error occurred.