Skip to main content

PanZoomEventPayload

Payload for a pan/zoom event from a surface.

Properties

event?

optional event: Event

Event that caused the pan. May be null.


oldZoom

oldZoom: number

previous zoom


x

x: number

Current x pan value


y

y: number

Current y pan value


zoom

zoom: number

current zoom