Package com.luciad.format.bingmaps
Class TLcdBingMapsDataSourceBuilder
java.lang.Object
com.luciad.format.bingmaps.TLcdBingMapsDataSourceBuilder
Instances of this class can be used to create an
ILcdDataSource
that
can be used to decode a Bing Maps model using the TLcdBingMapsModelDecoder
. This builder
creates instances of TLcdBingMapsDataSource
, data sources that connect to the main bing
maps servers using an application id.- Since:
- 11.0
- See Also:
-
Constructor Summary
ConstructorDescriptionTLcdBingMapsDataSourceBuilder
(String aApplicationId) Creates a newTLcdBingMapsDataSourceBuilder
with the passed application id. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a data source that can be used to create a BingMaps model using theTLcdBingMapsModelDecoder
.Sets the culture.mapStyle
(ELcdBingMapsMapStyle aMapStyle) Sets the map style property.
-
Constructor Details
-
TLcdBingMapsDataSourceBuilder
Creates a newTLcdBingMapsDataSourceBuilder
with the passed application id.- Parameters:
aApplicationId
- the application id used to access the bing maps servers.
-
-
Method Details
-
mapStyle
Sets the map style property. This property controls which BingMaps coverage will be visible. SeeELcdBingMapsMapStyle
for all possibilities.- Parameters:
aMapStyle
- the map style that will be used.- Returns:
- this builder.
-
culture
Sets the culture. This has influence on the labels when available (certain map styles). At the time of writing, values that support custom labeling are:- nl-BE: Dutch
- en-US: English
- fr-CA: French (Canada)
- fr-FR: French (France)
- de-DE: German
- it-IT: Italian
- ja-JP: Japanese (only over Japan)
- es-MX: Spanish (Mexico)
- es-ES: Spanish (Spain)
- es-US: Spanish (US)
- ja-JP: Japanese (only over Japan)
- Parameters:
aCulture
- the culture to use.- Returns:
- this builder.
- See Also:
-
build
Creates a data source that can be used to create a BingMaps model using theTLcdBingMapsModelDecoder
.- Returns:
- an
TLcdBingMapsDataSource
-