"setLayerFillColor"

Sets the layer fill color.

Synopsis

void setLayerFillColor( string strLayer, string strColor )

Parameters

Parameter Description
strLayer Name of the layer the shape file will be loaded to.
strColor The color to be set.

Description

Sets the layer fill color.

You can set the background color of the GIS viewer to transparent in the property editor of the graphics editor and then set a graphic object with an image to the background of the viewer. When the viewer is loaded, the background image will be shown.

Example

Sets the layer fill color "blue" for the layer "lakes".

main()
{
  GisViewer_ewo1.setLayerFillColor("lakes", "blue");
}

Assignment

GIS Viewer