panBy method

void panBy(
  1. double x,
  2. double y
)

Changes the center of the map by the given distance in pixels. If the distance is less than both the width and height of the map, the transition will be smoothly animated. Note that the map coordinate system increases from west to east (for x values) and north to south (for y values).

Implementation

void panBy(double x,double y)=>_sendData('panBy',{'x':x,'y':y});