scrollBy static method

CameraUpdate scrollBy(
  1. double dx,
  2. double dy
)

Returns a camera update that moves the camera target the specified screen distance.

For a camera with bearing 0.0 (pointing north), scrolling by 50,75 moves the camera's target to a geographical location that is 50 to the east and 75 to the south of the current location, measured in screen coordinates.

Implementation

static CameraUpdate scrollBy(double dx, double dy) {
  return CameraUpdateScrollBy(dx, dy);
}