"setSmoothSteps"

Set smooth zooming steps for a map.

Synopsis

void setSmoothSteps(int iSteps);

Parameters

Parameter Description
iSteps The number of steps used when a map will be zoomed.

Description

Set smooth zooming steps for a map. This means that when you zoom a map, the map will be zoomed smoothly in the given steps.

If you want to deactivate smooth steps, don't use "setSmoothSteps(0)" because in this case the event ExtentChanged will not be executed anymore. Therefore, use "setSmoothSteps(1)" in order to deactivate smooth steps.

Example

The code zooms the map to the full extent.

main()
{
  GisViewer_ewo1.setSmoothSteps (10);
}

Assignment

GIS Viewer