"zoomByWildcard"
Allows to zoom to a specific area of the map that is determined using the field entry of the .dbf file.
Synopsis
void zoomByWildcard(string strLayer, string strVariable, string strVarValue,
double dRangeMin, double dRangeMax);
Parameters
Parameter | Description |
---|---|
strLayer | The layer whose shapes should be zoomed. |
strVariable | The name of the field which is used to determine the shape. |
strVarValue | The value which which must be contained inside the field to identify the shape |
dRangeMin | Minimum range that should be zoomed. |
dRangeMax | Maximum range that should be zoomed. |
Description
Allows to zoom to a specific area of the map that is determined using the field entry of the .dbf file.
Example
Following example zooms to the shape with the entry "Vienna" for the field "NAME" (column inside the .dbf file) inside the "Cities" layer.
main()
{
GisViewer_ewo1.zoomByWildcard("Cities","NAME", "Vienna",0,0);
}
Assignment
GIS Viewer