Package | com.distriqt.extension.nativemaps.objects |
Class | public class MapOptions |
Inheritance | MapOptions Object |
Property | Defined By | ||
---|---|---|---|
compassEnabled : Boolean = false
Defines whether the compass control is enabled in the map interface. | MapOptions | ||
indoorEnabled : Boolean = false
Defines whether the indoor view are enabled on the map. | MapOptions | ||
mapToolbarEnabled : Boolean = true
Sets the preference for whether the Map Toolbar should be enabled or disabled. | MapOptions | ||
myLocationButtonEnabled : Boolean = false
Defines whether the My Location button is enabled in the map interface. | MapOptions | ||
rotateGesturesEnabled : Boolean = true
Defines whether rotation gestures are enabled on the map. | MapOptions | ||
scrollGesturesEnabled : Boolean = true
Defines whether scroll gestures are enabled on the map. | MapOptions | ||
showBuildings : Boolean = true
Defines whether buildings are displayed. | MapOptions | ||
showMapkitPointsOfInterest : Boolean = true
Defines whether the iOS MapKit points of interest icons are displayed. | MapOptions | ||
showScale : Boolean = false
Whether the map shows scale information
Supported OS: iOS only
| MapOptions | ||
tiltGesturesEnabled : Boolean = true
Defines whether tilt gestures are enabled on the map. | MapOptions | ||
trafficEnabled : Boolean = false
Defines whether traffic layers are enabled and shown on the map. | MapOptions | ||
zoomControlsEnabled : Boolean = true
Defines whether the zoom control buttons are displayed in the map interface. | MapOptions | ||
zoomGesturesEnabled : Boolean = true
Defines whether zoom gestures are enabled on the map. | MapOptions |
Method | Defined By | ||
---|---|---|---|
Constructor
| MapOptions | ||
restoreDefaults():void
Restores all settings to their default value. | MapOptions |
compassEnabled | property |
public var compassEnabled:Boolean = false
Defines whether the compass control is enabled in the map interface.
Supported OS: Android only
indoorEnabled | property |
public var indoorEnabled:Boolean = false
Defines whether the indoor view are enabled on the map.
Supported OS: Android only
mapToolbarEnabled | property |
public var mapToolbarEnabled:Boolean = true
Sets the preference for whether the Map Toolbar should be enabled or disabled. If enabled, and the Map Toolbar can be shown in the current context, users will see a bar with various context-dependent actions, including 'open this map in the Google Maps app' and 'find directions to the highlighted marker in the Google Maps app'.
Supported OS: Android only
myLocationButtonEnabled | property |
public var myLocationButtonEnabled:Boolean = false
Defines whether the My Location button is enabled in the map interface.
Supported OS: Android only
rotateGesturesEnabled | property |
public var rotateGesturesEnabled:Boolean = true
Defines whether rotation gestures are enabled on the map.
Supported OS: iOS and Android
scrollGesturesEnabled | property |
public var scrollGesturesEnabled:Boolean = true
Defines whether scroll gestures are enabled on the map.
Supported OS: iOS and Android
showBuildings | property |
public var showBuildings:Boolean = true
Defines whether buildings are displayed. Default is TRUE
showMapkitPointsOfInterest | property |
public var showMapkitPointsOfInterest:Boolean = true
Defines whether the iOS MapKit points of interest icons are displayed. Default is TRUE
This represents the iOS MapKit icons and labels for points of interest such as restaurants, schools etc.
Supported OS: iOS only
showScale | property |
public var showScale:Boolean = false
Whether the map shows scale information
Supported OS: iOS only
tiltGesturesEnabled | property |
public var tiltGesturesEnabled:Boolean = true
Defines whether tilt gestures are enabled on the map.
Supported OS: iOS and Android
trafficEnabled | property |
public var trafficEnabled:Boolean = false
Defines whether traffic layers are enabled and shown on the map.
Supported OS: Android only
zoomControlsEnabled | property |
public var zoomControlsEnabled:Boolean = true
Defines whether the zoom control buttons are displayed in the map interface.
Supported OS: Android only
zoomGesturesEnabled | property |
public var zoomGesturesEnabled:Boolean = true
Defines whether zoom gestures are enabled on the map.
Supported OS: iOS and Android
MapOptions | () | Constructor |
public function MapOptions()
Constructor
restoreDefaults | () | method |
public function restoreDefaults():void
Restores all settings to their default value.