Skip to main content

@mapgear/mapengine > Map > SetRotation

Map.SetRotation() method

Set the rotation of the map

Signature:
SetRotation(rotation: number, isRadians: boolean): void;

Parameters

ParameterTypeDescription
rotationnumberExpected rotation of the map
isRadiansbooleanIf the rotation is specified in radians. When false, the rotation should be specified in degrees
Returns:

void