...
With this layer a background shape file can be defined. This layer supports the common shape layer elements.
Other elements that can be used include:
...
To make use of a Wfs or ArcSDE connection you have to use the option for serverShapeLayer. This layer supports the common shape layer elements.
layer
Definition of a GIS layer to be displayed.
...
These elements are supported for both the serverShapeLayer and the esriShapeLayer:
- visible: Controls if the layer is automatically visible. When false the user has to switch on the layer manually. By default the layer becomes automatically visible.
- usedBySelectByMapItemTool: Controls if the layer is used by the "Select by map item tool" in the FEWS explorer to easily select all locations in a polygon.
selectByMapItemLocationRelation: When this element is specified an location relation is used to find locations at the map instead of the polygon border.
selectByMapItemAttributeEquals: When this element is specified a (multivalued) location attribute is used to find locations at the map instead of the polygon border.
- label: Label that is displayed at the map. Labels are decluttered so not all labels will be visibile when zooming out.
- tooltip : information that is displayed when the user is moving the mouse cursor over a shape. To see this information turn on the 'Information' button.
- lineColor : color of the line
- fillColor : color of the area
- opaquenessPercentage: percentage of opaqueness.
- lineWidth : width of the line
- pointSize or pointIconId: allow size adjustment of points in a shape-layer, resp. displays an icon (as defined in LocationIcons.xml) at the points in the shape-layer (Notice: add filename extension!)
- classBreaksAttributeName : name of a shape attribute (dbase column name) which is to be used to determine the class breaks.
- classBreaks : used to define class breaks for the shape-layer. The fill color can depend on the value of a shape attribute. When the shape attribute is of type text, e.g. country name, add a class break for every country with a label that equals the country name. For the lower values use 1, 2, 3, ... etc
...