moveCenter method

void moveCenter(
  1. double dx,
  2. double dy
)

Moves the center of the map in relative pixel coordinates.

Implementation

void moveCenter(double dx, double dy) {
  MapPosition newPosition = _lastPosition!.moveCenter(dx, dy);
  setPosition(newPosition);
}