Package | com.distriqt.extension.nativemaps.objects |
Class | public class MapApplicationOpenOptions |
Inheritance | MapApplicationOpenOptions Object |
Property | Defined By | ||
---|---|---|---|
directionsType : String = d
The directions type
This should be one of the following:
MapApplicationOpenOptions.DIRECTIONS_DRIVING
MapApplicationOpenOptions.DIRECTIONS_BIKING (only on Android)
MapApplicationOpenOptions.DIRECTIONS_WALKING
Biking/cycling directions mode is not available on iOS and will default to DRIVING mode. | MapApplicationOpenOptions | ||
mode : String = mapapplicationopenoptions:place
The view mode
This should be MapApplicationOpenOptions.MODE_PLACE or MapApplicationOpenOptions.DIRECTIONS
| MapApplicationOpenOptions | ||
name : String
An optional name to be used on the marker displayed. | MapApplicationOpenOptions | ||
place1 : *
The first place to be displayed on the map. | MapApplicationOpenOptions | ||
place2 : *
The second place to be displayed on the map. | MapApplicationOpenOptions |
Method | Defined By | ||
---|---|---|---|
Constructor
| MapApplicationOpenOptions |
Constant | Defined By | ||
---|---|---|---|
DIRECTIONS_BIKING : String = b [static]
Biking/cycling directions mode. | MapApplicationOpenOptions | ||
DIRECTIONS_DRIVING : String = d [static]
Driving directions mode
| MapApplicationOpenOptions | ||
DIRECTIONS_WALKING : String = w [static]
Walking directions mode
| MapApplicationOpenOptions | ||
MODE_DIRECTIONS : String = mapapplicationopenoptions:directions [static]
For showing directions between two places
| MapApplicationOpenOptions | ||
MODE_PLACE : String = mapapplicationopenoptions:place [static]
For showing a single place/location
| MapApplicationOpenOptions |
directionsType | property |
public var directionsType:String = d
The directions type This should be one of the following: MapApplicationOpenOptions.DIRECTIONS_DRIVING MapApplicationOpenOptions.DIRECTIONS_BIKING (only on Android) MapApplicationOpenOptions.DIRECTIONS_WALKING
Biking/cycling directions mode is not available on iOS and will default to DRIVING mode.
mode | property |
public var mode:String = mapapplicationopenoptions:place
The view mode This should be MapApplicationOpenOptions.MODE_PLACE or MapApplicationOpenOptions.DIRECTIONS
name | property |
public var name:String
An optional name to be used on the marker displayed. This is only applicable when using the MODE_PLACE map mode.
place1 | property |
public var place1:*
The first place to be displayed on the map. This is the origin point if you are using the DIRECTIONS mode. This can be either a String (map address) which will be geocoded, or a LatLng object instance.
place2 | property |
public var place2:*
The second place to be displayed on the map. This is the destination point if using the DIRECTIONS mode. This property is ignored if you are using the PLACE mode. This can be either a String (map address) which will be geocoded, or a LatLng object instance.
MapApplicationOpenOptions | () | Constructor |
public function MapApplicationOpenOptions()
Constructor
DIRECTIONS_BIKING | Constant |
public static const DIRECTIONS_BIKING:String = b
Biking/cycling directions mode. Only supported on Android
DIRECTIONS_DRIVING | Constant |
public static const DIRECTIONS_DRIVING:String = d
Driving directions mode
DIRECTIONS_WALKING | Constant |
public static const DIRECTIONS_WALKING:String = w
Walking directions mode
MODE_DIRECTIONS | Constant |
public static const MODE_DIRECTIONS:String = mapapplicationopenoptions:directions
For showing directions between two places
MODE_PLACE | Constant |
public static const MODE_PLACE:String = mapapplicationopenoptions:place
For showing a single place/location