Moxi Media Inc.
<MAP-CONFIG-XML> Tree View | Discussion Forum
IMF Developer's Guide » Site Configuration » <MAP-CONFIG-XML>  

The <MAP-CONFIG-XML> element is used to specify the map configuration file that is used to define the services, layers and folders used in the site defined by the site configuration XML file.

See the Map Configuration Reference for more information about configuring the map.

Frequency Parent Elements (this element is valid within):
PRS1 <SITE-CONFIG>
   

Attributes Description
url The URL of the XML document containing the map configuration. The URL can contain 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 site configuration XML file. Required.
   

Frequency Description (in this context)
PRS1 The <SITE-CONFIG> element must contain exactly one <MAP-CONFIG-XML> element in the specified sequence.
   

Examples:

<!-- Full URL document path -->
<MAP-CONFIG-XML url="http://someserver.com/xml/map.xml" />

<!-- Relative URL (same directory as the site configuration) -->
<MAP-CONFIG-XML url="map.xml" />

<!-- Relative to the IMF installation -->
<MAP-CONFIG-XML url="$IMF/sites/botany/map.xml" />

Valid HTML 4.01!