rotate(alpha: Number, v_x: PP.Vector3 || Number, y: Number, z: Number);
alpha. Rotation angle in degrees.
v_x. Offset angle or its X component.
y. Y component of vector.
z. Z component of vector.
The rotate method rotates a coordinate system.
To execute the example the HTML page must contain the MapChart component named map (see Example of Creating the MapChart Component). Open a spherical map. Rotate coordinate system of spherical map:
// Get class object used to work with 3D projection var projection = map.getGLControl().getProjection(); // Rotate coordinate system projection.rotate(30, 5);
As a result the map is rotated:
See also: