loadSceneFromConfigurationFileWithWatermarkStyle abstract method

void loadSceneFromConfigurationFileWithWatermarkStyle(
  1. String configurationFile,
  2. WatermarkStyle watermarkStyle,
  3. 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.

  • configurationFile Map 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.

  • watermarkStyle The style for the HERE watermark, see WatermarkStyle.

  • callback Optional callback that will receive the result of this operation.

Implementation

void loadSceneFromConfigurationFileWithWatermarkStyle(String configurationFile, WatermarkStyle watermarkStyle, MapSceneLoadSceneCallback? callback);