reloadScene method - MapScene class - mapview library - Dart API
reloadScene
reloadScene abstract method
Asynchronously reloads the current map scene from file.
This skips any cached data used internally and reloads the scene including any changes made to the (custom) map styles in JSON.
MapFeature settings will be preserved.
Internal optimization checks will be skipped to ensure all custom style changes are loaded. Therefore,
calling this method may take slightly longer than calling one of the loadScene(..) overloads.
Implementation
void reloadScene();