panBy static method
- double xOffset,
- double yOffset
Creates an update to pan map camera over the map by the specified number of pixels in the x and y direction starting from current principal point position.
-
xOffsetX offset in pixels -
yOffsetY offset in pixels
Returns MapCameraUpdate. MapCameraUpdate instance.
Implementation
static MapCameraUpdate panBy(double xOffset, double yOffset) => $prototype.panBy(xOffset, yOffset);