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

Method panStart

modules/core/src/controllers/map-controller.ts:203–207  ·  view source on GitHub ↗

* Start panning * @param {[Number, Number]} pos - position on screen where the pointer grabs

({pos}: {pos: [number, number]})

Source from the content-addressed store, hash-verified

201 * @param {[Number, Number]} pos - position on screen where the pointer grabs
202 */
203 panStart({pos}: {pos: [number, number]}): MapState {
204 return this._getUpdatedState({
205 startPanLngLat: this._unproject(pos)
206 });
207 }
208
209 /**
210 * Pan

Callers

nothing calls this directly

Calls 2

_getUpdatedStateMethod · 0.95
_unprojectMethod · 0.95

Tested by

no test coverage detected