close
Closes the store and releases the native map.
Blocks until the components that read the map, such as offline search, routing, and map display, finish their in-flight work and release it. This can take several seconds, so avoid calling it on the main thread.