Moxi Media Inc.
<layer-manager> Discussion Forum

IMF Developer's Guide » Site Configuration » <layer-manager>  

The <layer-manager> element is used to specify a different approach for an IMF site. When the layer manager is used, the site opens up with a blank map, and the layer list page displays an option to add or remove layers from the working map. Layers all appear in the same folder, and can be reordered by the user. This function was developed for the BC Government's iGOAT project but may be of interest to other organizations wishing to use IMF as more of a data browser.

This element is optional, and omitting it results in the standard IMF operation.

Frequency Parent Elements (the <layer-manager> element is valid within):
POS1 <site-config>
   

Frequency Description (in this context)
POS1 The <layer-manager> element may appear once in the <site-config> element in the specified sequence.
   

Attributes Description
enable Sets whether the layer manager is enabled. Valid values are "true" or "false". The default is "false".
   

Example:

<!-- Use iGOAT layer manager. -->
<layer-manager enable="true"/>