Moxi Media Inc.
<dynamic-image-layer> Discussion Forum
IMF Developer's Guide » Layer Configuration » <dynamic-image-layer>  

The <dynamic-image-layer> element is used to set layer properties, and to organize layers into folders and groups.

Frequency Parent Elements (the <dynamic-image-layer> element is valid within):
PO+ <folder>
PO+ <group>
PO+ <layer-config>
   

Frequency Child Elements (the <dynamic-image-layer> element may contain):
RS1 <arcxml>
OS+ <layer-list-icon>
OS+ <layer-list-legend>
OS+ <property>
   

Frequency Description (in this context)
PO+ The <dynamic-image-layer> element may appear one or more times within the parent element in any order.
OS+ The child element may appear one or more times within the <dynamic-image-layer> element in the specified order.
RS1 The <arcxml> element must appear once within the <dynamic-image-layer> element in the specified order.
   

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".
   

Valid HTML 4.01!