rotateBy static method

MapCameraUpdate rotateBy(
  1. GeoOrientationUpdate delta
)

Creates an update to change map camera orientation by specified geodetic orientation delta.

Orientation elements that are not valid will be excluded from the update. Resulting bearing values are wrapped around degrees range [0, 360]. Resulting tilt values are clamped inside degrees range [0, 180]. Resulting roll values are wrapped around degrees range [-180, 180].

  • delta Geodetic orientation delta update.

Returns MapCameraUpdate. MapCameraUpdate instance.

Implementation

static MapCameraUpdate rotateBy(GeoOrientationUpdate delta) => $prototype.rotateBy(delta);