@mapgear/mapengine > Map > SetRotation
Map.SetRotation() method
Set the rotation of the map
Signature:SetRotation(rotation: number, isRadians: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
rotation | number | Expected rotation of the map |
isRadians | boolean | If the rotation is specified in radians. When false, the rotation should be specified in degrees |
void