| java.lang.Object | |
| ↳ | com.steerpath.sdk.maps.UiSettings |
UI configuration settings which relate to the functionality provided by SteerpathMap.
Deprecated: functionality will be moved to SteerpathMapOptions in android-3.10.0.0. Will be removed in android-3.10.0.0
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| View |
getIndoorLevelPicker()
Warning: Will become internal at some point
| ||||||||||
| float |
getLevelPickerVisibileZoomLevel()
Retrieve the zoom level at which the LevelPicker may appear.
| ||||||||||
| View |
getMyLocationButton()
Warning: Will become internal at some point
| ||||||||||
| float |
getRouteAlpha()
Obtain the opacity of the route.
| ||||||||||
| int |
getRouteColor()
Obtain the color with which the route should be drawn.
| ||||||||||
| float |
getRouteWidth()
Obtain the current configured width of the route.
| ||||||||||
| boolean |
isAutomaticallySwitchingLevels()
Obtain whether or not the map view should automatically switch to a level when the user's
level changes.
| ||||||||||
| boolean |
isIndoorLevelPickerEnabled()
Obtain whether or not the level picker UI widget is to be shown or not.
| ||||||||||
| boolean |
isMyLocationButtonEnabled()
Obtain whether or not the "My location" UI button is to be shown or not.
| ||||||||||
| void |
setAutomaticallySwitchLevels(boolean enabled)
Set whether or not the map view should automatically switch to a level when the user's
level changes.
| ||||||||||
| void |
setIndoorLevelPickerEnabled(boolean enabled)
Set whether or not the level picker UI widget is to be shown.
| ||||||||||
| void |
setLevelPickerVisibleZoomLevel(float visibleAtZoomLevel)
Retrieve the zoom level at which the LevelPicker may appear.
| ||||||||||
| void |
setRouteAlpha(float alpha)
Set the opacity of the drawn route
| ||||||||||
| void |
setRouteColor(int color)
Set the color with which the route should be drawn.
| ||||||||||
| void |
setRouteWidth(float width)
Set the width of the route.
| ||||||||||
| void |
setShowLevelOfAllBuildins(boolean showAllBuildingsIndoorLevel)
Set whether or not to show the corresponding indoor level of the neighboring buildings.
| ||||||||||
| boolean |
shouldShowLevelOfAllBuildings()
When switching levels, we can show either only the indoor maps of the building to which
the level switcher corresponds to, or we can show the level of all buildings.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Warning: Will become internal at some point
Retrieve the zoom level at which the LevelPicker may appear. The default is 15.0.
Warning: Will become internal at some point
Obtain the opacity of the route.
Obtain the color with which the route should be drawn.
Obtain the current configured width of the route. The default is 8.
Obtain whether or not the map view should automatically switch to a level when the user's level changes.
Obtain whether or not the level picker UI widget is to be shown or not.
Obtain whether or not the "My location" UI button is to be shown or not.
Set whether or not the map view should automatically switch to a level when the user's level changes.
| enabled | set to true to allowe an automatic floor switch to occur when the user moves from one floor to another, false otherwise. |
|---|
Set whether or not the level picker UI widget is to be shown.
| enabled | true if the widget can be shown when viewing a building with floorplans (default: true) |
|---|
Retrieve the zoom level at which the LevelPicker may appear. The default is 15.0.
| visibleAtZoomLevel | the zoom level as a float at which the level picker will appear. |
|---|
Set the opacity of the drawn route
| alpha | a value between 0.0 and 1.0, where 0.0 means fully transparent, and 1.0 means opaque. |
|---|
Set the color with which the route should be drawn.
| color | an AARRGGBB value describing the color that the route should have |
|---|
Set the width of the route.
| width | a width in pixels of the route. The default value is 8. |
|---|
Set whether or not to show the corresponding indoor level of the neighboring buildings. For more details, see shouldShowLevelOfAllBuildings().
| showAllBuildingsIndoorLevel | true means the currently active indoor level will be shown for all buildings. |
|---|
When switching levels, we can show either only the indoor maps of the building to which the level switcher corresponds to, or we can show the level of all buildings. The default is to not show the levels of all buildings, i.e. false.