MapSceneLoadOptionsBuilder class abstract

Builder for creating MapSceneLoadOptions instances.

This builder ensures that either a MapScheme or a configuration file is set, but not both.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.

Constructors

MapSceneLoadOptionsBuilder()
Creates a new builder instance.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() → MapSceneLoadOptions
Builds the MapSceneLoadOptions instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
withConfigurationFile(String configurationFile) → MapSceneLoadOptionsBuilder
Sets the configuration file path to load.
withDisabledFeatures(List<String> disabledFeatures) → MapSceneLoadOptionsBuilder
Sets the features to disable in the new configuration.
withEnabledFeatures(Map<String, String> enabledFeatures) → MapSceneLoadOptionsBuilder
Sets the features to enable in the new configuration.
withMapScheme(MapScheme mapScheme) → MapSceneLoadOptionsBuilder
Sets the map scheme to load.
withOverridingMapStyle(Style overridingMapStyle) → MapSceneLoadOptionsBuilder
Sets the style to override what is defined in the scene configuration.
withWatermarkStyle(WatermarkStyle watermarkStyle) → MapSceneLoadOptionsBuilder
Sets the watermark style.

Operators

operator ==(Object other) → bool
The equality operator.
inherited