Module: SceneMode

Indicates if the scene is viewed in 3D, 2D, or 2.5D Columbus view.
Source:
See:

Members

(static, constant) COLUMBUS_VIEW :Number

Columbus View mode. A 2.5D perspective view where the map is laid out flat and objects with non-zero height are drawn above it.
Type:
  • Number
Source:

(static, constant) MORPHING :Number

Morphing between mode, e.g., 3D to 2D.
Type:
  • Number
Source:

(static, constant) SCENE2D :Number

2D mode. The map is viewed top-down with an orthographic projection.
Type:
  • Number
Source:

(static, constant) SCENE3D :Number

3D mode. A traditional 3D perspective view of the globe.
Type:
  • Number
Source:

Methods

(static) getMorphTime(value) → {Number}

Returns the morph time for the given scene mode.
Parameters:
Name Type Description
value SceneMode The scene mode
Source:
Returns:
The morph time
Type
Number