deleteCachedMap

fun deleteCachedMap(identifier: String)

Deletes a map from the application that has been cached by the SDK.

Notes

If this method is called while the map is loaded, the result is undefined.

Since

1.21

try {
mMapController.deleteCachedMap("asset://map_bundle_theme.zip");
mMapController.deleteCachedMap("mc8f3fec89d2b7283d15cfcf4eb28a0517428f054");
}
catch (FileNotFoundException e) {
e.printStackTrace();
}

Parameters

identifier

The map hash or map path associated with the cached map that is to be deleted

Throws