replaceMap
Replaces the current TomTomMap with a new one.
This method is useful for handling Android configuration changes. For example, you can use this method to provide the new TomTomMap instance created when the device screen is rotated (because a screen rotation causes the activity/fragment to be destroyed and reconstructed).
Parameters
tomtomMap
The new TomTomMap that replaces the current one.