loadSceneFromConfigurationFileWithWatermarkStyle abstract method
- String configurationFile,
- WatermarkStyle watermarkStyle,
- MapSceneLoadSceneCallback? callback
Asynchronously loads a map scene described by a specified file in one of the supported formats.
The style of the HERE watermark matching the map scheme is specified. Any previous map scene config will be replaced.
When loading the same file again, consider to call reloadScene() instead.
Map features enabled or disabled using MapScene.enableFeatures and MapScene.disableFeatures will be reset to defaults for the new scene configuration.
The callback is called on the main thread.
-
configurationFileMap scheme configuration file. It must contain the whole scene configuration. In case it contains references to other files, they have to be reachable under the paths specified in the main configuration file. -
watermarkStyleThe style for the HERE watermark, see WatermarkStyle. -
callbackOptional callback that will receive the result of this operation.
Implementation
void loadSceneFromConfigurationFileWithWatermarkStyle(String configurationFile, WatermarkStyle watermarkStyle, MapSceneLoadSceneCallback? callback);