MCPcopy
hub / github.com/visgl/deck.gl / rotateLeft

Method rotateLeft

modules/core/src/controllers/map-controller.ts:400–404  ·  view source on GitHub ↗
(speed: number = 15)

Source from the content-addressed store, hash-verified

398 }
399
400 rotateLeft(speed: number = 15): MapState {
401 return this._getUpdatedState({
402 bearing: this.getViewportProps().bearing - speed
403 });
404 }
405
406 rotateRight(speed: number = 15): MapState {
407 return this._getUpdatedState({

Callers

nothing calls this directly

Calls 2

_getUpdatedStateMethod · 0.95
getViewportPropsMethod · 0.80

Tested by

no test coverage detected