Package com.luciad.format.azuremaps
Class TLcdAzureMapsDataSource.Builder
java.lang.Object
com.luciad.format.azuremaps.TLcdAzureMapsDataSource.Builder
- Enclosing class:
TLcdAzureMapsDataSource
This builder creates instances of
TLcdAzureMapsDataSource, representing a data source that connects to
Azure Maps sing a subscription key. You can use a created data source to decode an Azure Maps model using the
TLcdAzureMapsModelDecoder.- Since:
- 2025.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionall(TLcdAzureMapsDataSource aDataSource) Initializes this builder to the values of the givenTLcdAzureMapsDataSource.build()Create theTLcdAzureMapsDataSourceinstance that corresponds to the values in this builder.Sets the language.mapStyle(ELcdAzureMapsMapStyle aMapStyle) Sets the map style property.subscriptionKey(String aSubscriptionKey) Sets the subscription key to access the Azure Maps servers.
-
Method Details
-
subscriptionKey
Sets the subscription key to access the Azure Maps servers.- Parameters:
aSubscriptionKey- the subscription key to be used to access the Azure Maps servers.- Returns:
- this builder.
-
mapStyle
Sets the map style property. This property controls which Azure Maps coverage will be visible. SeeELcdAzureMapsMapStylefor all the possibilities.- Parameters:
aMapStyle- the map style that will be used.- Returns:
- this builder.
-
language
Sets the language. This has influence on the labels when available (certain map styles). At the time of writing, values that support custom labeling are:- ar: Arabic
- bg-BG: Bulgarian
- cs-CZ: Czech
- da-DK: Danish
- de-DE: German
- el-GR: Greek
- en-AU: English (Australia)
- en-NZ: English (New Zealand)
- en-GB: English (United Kingdom)
- en-US: English (USA)
- es-ES: Spanish (Spain)
- es-MX: Spanish (Mexico)
- fi-FI: Finnish
- fr-FR: French (France)
- hu-HU: Hungarian
- id-ID: Indonesian
- it-IT: Italian
- ko-KR: Korean
- lt-LT: Lithuanian
- ms-MY: Malay
- nb-NO: Norwegian Bokmål
- NGT: Neutral Ground Truth (Local)
- NGT-Latn: Neutral Ground Truth (Latin)
- pl-PL: Polish
- pt-BR: Portuguese (Brazil)
- pt-PT: Portuguese (Portugal)
- ru-RU: Russian
- sk-SK: Slovak
- sl-SI: Slovenian
- sv-SE: Swedish
- th-TH: Thai
- zh-HanS-CN: Chinese (Simplified, China)
- zh-HanT-TW: Chinese (Traditional, Taiwan)
There are other valid language values, but these do not have custom labeling. Please refer to the Azure Maps documentation for more information. The default value is "en-US".
- Parameters:
aLanguage- the language to use.- Returns:
- this builder.
- See Also:
-
all
Initializes this builder to the values of the givenTLcdAzureMapsDataSource.- Parameters:
aDataSource- The data source instance to copy- Returns:
- this builder
-
build
Create theTLcdAzureMapsDataSourceinstance that corresponds to the values in this builder.- Returns:
- a
TLcdAzureMapsDataSource - Throws:
IllegalArgumentException- if a subscription key has not been set.
-