Moxi Media Inc.
<MAP-SCRIPT> Discussion Forum

IMF Developer's Guide » Map Configuration » <MAP-SCRIPT>  

The <MAP-SCRIPT> element is used to specify one or more scripts that will execute during the IMF startup process when the map in the IMF viewer changes. If more than one map script is defined, the scripts will be executed in the order that they appear in the map configuration file.

Frequency Parent Elements (this element is valid within):
POS+ <MAP-CONFIG>
   

Frequency Description (in this context)
POS+ This element may appear multiple times within the <MAP-CONFIG> element in the specified sequence.
   

Attributes Description
file The script name to execute. Must be in the IMF installation directory or a subdirectory of the IMF installation directory. Required.
   

Example:

<startup-script file="startup1.jsp" />
<startup-script file="ext/moxi/startup2.jsp" />