Used for MapTripAPI specific configs. More...
Inheritance diagram for IwMapviewerConfig:Static Public Attributes | |
| static final Creator< IwMapviewerConfig > | CREATOR |
Protected Member Functions | |
| void | applyConfigurationOnApiThread (final Mapviewer map, int iwId) |
| void | parseStyleAttributes (Context context, AttributeSet attrs) |
The config can be read from a IwMapView and be applied to any other mapview.
implements Parcelable - can be passed by intents
| IwMapviewerConfig | ( | final Mapviewer | mapviewer | ) |
Create config from a Mapviewer instance
| mapviewer | - the map to create the config from |
Default constructor, default configuration
| IwMapviewerConfig | ( | Context | context, |
| AttributeSet | attrs | ||
| ) |
Create a configuration from XML styled attributes
| context | - activity context |
| attrs | - styled attributes |
| IwMapviewerConfig | ( | Parcel | in | ) |
Create a configuration by saved instance
| in | - parcel to create config from |
| IwMapviewerConfig | ( | IwMapviewerConfig | toCopy | ) |
copy constructor
| toCopy | - parcel to create config from |
|
inherited |
Set the stored configuration values on a mapviewer instance
may not be overwritten - overwrite applyConfigurationOnApiThread instead
| map | - map to read config from |
| iwId | - id of the mapviewer |
|
protected |
Set the stored configuration values on a mapviewer instance
| map |
Reimplemented from IwMapviewerConfigBase.
|
inherited |
| double getCarIconLookAheadRatio2d | ( | ) |
| double getCarIconLookAheadRatio3dLandscape | ( | ) |
| double getCarIconLookAheadRatio3dPortrait | ( | ) |
| Boolean getCoiZoom | ( | ) |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| Boolean getRealityView | ( | ) |
|
inherited |
| Boolean getSignPosts | ( | ) |
| Boolean getSpeedDependendZoom | ( | ) |
|
inherited |
|
protected |
Parse attributes from XML and store in variables
| context | |
| attrs |
Reimplemented from IwMapviewerConfigBase.
| void setCarIconLookAheadRatio2d | ( | float | ratio | ) |
| void setCarIconLookAheadRatio3dLandscape | ( | float | ratio | ) |
| void setCarIconLookAheadRatio3dPortrait | ( | float | ratio | ) |
| void setCoiZoom | ( | boolean | enabled | ) |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| void setRealityView | ( | boolean | show | ) |
|
inherited |
|
inherited |
| void setSignPosts | ( | boolean | show | ) |
| void setSpeedDependendZoom | ( | boolean | enabled | ) |
|
inherited |
| void writeToParcel | ( | Parcel | destination, |
| int | flags | ||
| ) |
Write this config data to a parcel (used onSaveInstanceState)
| destination | - parcel to write to |
| flags | - specific flags for the parcel |
Reimplemented from IwMapviewerConfigBase.
|
static |
Creator required to save config in a bundle