public class TLcdBingMapsDataSourceBuilder extends Object
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.TLcdBingMapsDataSource
Constructor and Description |
---|
TLcdBingMapsDataSourceBuilder(String aApplicationId)
Creates a new
TLcdBingMapsDataSourceBuilder with the passed application id. |
Modifier and Type | Method and Description |
---|---|
TLcdBingMapsDataSource |
build()
Creates a data source that can be used to create a BingMaps model using the
TLcdBingMapsModelDecoder . |
TLcdBingMapsDataSourceBuilder |
culture(String aCulture)
Sets the culture.
|
TLcdBingMapsDataSourceBuilder |
mapStyle(ELcdBingMapsMapStyle aMapStyle)
Sets the map style property.
|
public TLcdBingMapsDataSourceBuilder(String aApplicationId)
TLcdBingMapsDataSourceBuilder
with the passed application id.aApplicationId
- the application id used to access the bing maps servers.public TLcdBingMapsDataSourceBuilder mapStyle(ELcdBingMapsMapStyle aMapStyle)
ELcdBingMapsMapStyle
for all possibilities.aMapStyle
- the map style that will be used.public TLcdBingMapsDataSourceBuilder culture(String aCulture)
aCulture
- the culture to use.ELcdBingMapsMapStyle.AERIAL_WITH_LABELS
,
ELcdBingMapsMapStyle.ROAD
public TLcdBingMapsDataSource build()
TLcdBingMapsModelDecoder
.TLcdBingMapsDataSource