"pan";

Pans a map.

Synopsis

void pan(double x, double y);

Parameters

Parameter Description
x The factor for panning in x direction.
y The factor for panning in y direction.

Description

Pans a map in the X and Y direction. A value of 0.25 means that the map is moved by a quarter of the total visible area.

Example

Pans a map by the factor 0.25 and 0.0 meaning the code moves the map to the left.

main()
{
  GisViewer_ewo1.pan(0.25, 0.0);
}

Assignment

GIS Viewer