Packagecom.distriqt.extension.nativemaps.objects
Classpublic class MapOptions
InheritanceMapOptions Inheritance Object

Map Options utility class for setting options on the native map extension.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
Constructor
MapOptions
  
Restores all settings to their default value.
MapOptions
Property Detail
compassEnabledproperty
public var compassEnabled:Boolean = false

Defines whether the compass control is enabled in the map interface.

Supported OS: Android only

indoorEnabledproperty 
public var indoorEnabled:Boolean = false

Defines whether the indoor view are enabled on the map.

Supported OS: Android only

mapToolbarEnabledproperty 
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

myLocationButtonEnabledproperty 
public var myLocationButtonEnabled:Boolean = false

Defines whether the My Location button is enabled in the map interface.

Supported OS: Android only

rotateGesturesEnabledproperty 
public var rotateGesturesEnabled:Boolean = true

Defines whether rotation gestures are enabled on the map.

Supported OS: iOS and Android

scrollGesturesEnabledproperty 
public var scrollGesturesEnabled:Boolean = true

Defines whether scroll gestures are enabled on the map.

Supported OS: iOS and Android

showBuildingsproperty 
public var showBuildings:Boolean = true

Defines whether buildings are displayed. Default is TRUE

showMapkitPointsOfInterestproperty 
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

showScaleproperty 
public var showScale:Boolean = false

Whether the map shows scale information

Supported OS: iOS only

tiltGesturesEnabledproperty 
public var tiltGesturesEnabled:Boolean = true

Defines whether tilt gestures are enabled on the map.

Supported OS: iOS and Android

trafficEnabledproperty 
public var trafficEnabled:Boolean = false

Defines whether traffic layers are enabled and shown on the map.

Supported OS: Android only

zoomControlsEnabledproperty 
public var zoomControlsEnabled:Boolean = true

Defines whether the zoom control buttons are displayed in the map interface.

Supported OS: Android only

zoomGesturesEnabledproperty 
public var zoomGesturesEnabled:Boolean = true

Defines whether zoom gestures are enabled on the map.

Supported OS: iOS and Android

Constructor Detail
MapOptions()Constructor
public function MapOptions()

Constructor

Method Detail
restoreDefaults()method
public function restoreDefaults():void

Restores all settings to their default value.