BasemapStyleParameters class final
Provides parameters for creating a Basemap from a BasemapStyle.
BasemapStyleParameters allows you to set preferences, such as the language to use for basemap labels, when creating a Basemap that suits your application.
BasemapStyleParameters build upon a BasemapStyle to adjust settings for how that style is displayed. For example, you can choose from a set of options that determine the language for displaying labels on the basemap.
- Set the BasemapStyleParameters.specificLanguage to specify a desired language for basemap labels.
- Set BasemapStyleParameters.languageStrategy to use local language, use global language, or attempt to use the application locale.
Once you are finished configuring the options for your BasemapStyleParameters, they can be used with a BasemapStyle to create a Basemap. When the Basemap is loaded, the parameters in the BasemapStyleParameters are evaluated.
- Implemented types
Constructors
- BasemapStyleParameters()
-
Creates a BasemapStyleParameters that controls how a BasemapStyle is
used when constructing a Basemap.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- languageStrategy ↔ BasemapStyleLanguageStrategy
-
The option for setting the language for basemap labels.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- specificLanguage ↔ String
-
The desired language for place labels on the Basemap or an empty string
if no specific language is required.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited