|
Attributes |
Description |
|
active-identify |
Sets the layer to be the default identify layer when the application starts. Valid values are "true" or "false". The default is "false". Only one layer should be designated as active, but if more than one layer contains a true value, the last layer processed will be the active one. Optional.
|
|
can-drill-identify |
Sets whether the layer appears on the drill identify report. Valid values are "true" or "false". The default is "true". Optional.
|
|
can-identify |
Sets whether a layer can be identified. Valid values are "true" or "false". The default is "true". Layers that cannot be identified do not have the identify icon beside them in the theme list. Optional.
|
|
can-set-visibility |
Sets whether a layer can be turned on and off by the user. Valid values are "true" or "false". The default is "true". Layers that have can-set-visibility set to "false" show up in the layers list with the visibility checkbox disabled (grayed out). Optional.
|
|
can-set-visibility-beyond-scale |
Sets whether a layer can be turned on and off by the user if it is outside of the visible scale range. Valid values are "true" or "false". The default is "false". Optional.
|
|
identify-window |
Sets whether the identify results for a layer are shown in a separate browser window. The default is "false" which means that the results are shown in the data frame. Valid values are "true" or "false". Optional.
|
|
immediate-refresh |
Sets whether the map should immediately refresh when the user changes the visibility of the layer. Valid values are "true" or "false". The default is "false".
|
|
max-scale |
Sets the maximum scale at which the layer will be displayed. Use numeric values, for example to set the scale to 1:10000, use 10000. Defaults to the maxscale setting in the map service, or 1.0E99 if no maximum scale is set for the layer in the map service.
|
|
metadata-handler |
Sets the URL for a dynamic page that describes the layer. The URL is called with parameters
layer id, name, and the layer's object id.
The URL can start with the special variable $IMF to specify that the
document is relative to the IMF installation directory. Absolute URLs may
also be used. URLs that don't start with http: or $IMF are resolved
relative to the location of the XML file. Optional. By default, there is no
metadata.
|
|
metadata-url |
Sets the URL for a metadata page that describes the layer. By default, there is no metadata. Optional.
|
|
min-scale |
Sets the minimum scale at which the layer will be displayed. Use numeric values, for example to set the scale to 1:10000, use 10000. Defaults to the minscale setting in the map service, or 0 if no minimum scale is set for the layer in the map service.
|
|
position |
Sets the drawing order of the layer. Valid values are "top", "bottom", or the desired indexed position between 0 (bottom) and one less than the layer count (top).
|
|
show-legend |
Sets whether the layer will show in the legend. Valid values are "true" or "false". The default is "true".
|
| |
|