"setLayerVisibleRange"

Sets the visible range of a layer.

Synopsis

bool setLayerVisibleRange(string strLayer,double dRangeFrom,double dRangeTo);

Parameters

Parameter Description
strLayer The layer whose visible range will be set.
dRangeFrom The Range from which the layer will be visible. The horizontal width. The width is given in degrees or meters depending on which map you use.
dRangeTo The Range to which the layer will be visible. The horizontal width. The width is given in degrees or meters depending on what for map you use.

Description

Sets the visible range of a layer.

Example

Sets the visible range of the layer "SHAPES" (The width is given in degrees or meters depending on what for map you use).

main()
{
  GisViewer_ewo1.setLayerVisibleRange("SHAPES",21,1000);
}

Assignment

GIS Viewer