Users Manual
Dynamic Options
There may be scenarios when configuration options are dynamic; for example. if visualizing the results of a search query. In this situation, parameters can be passed into worldKit from the HTML, or the entire config.xml can be dynamically generated.

Most config options can be passed through HTML, rather than the config.xml. Options are specified as HTTP GET arguments on the two worldkit.swf references. The value of the options must be URL encoded.

Categorized options can be dynamically set in this format: option:catgeory=value. For example, "plotsize:metro=20" would set the plotsize for annotations categorized with "metro" to 20.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=",0,0,0" WIDTH="800" HEIGHT="400" id="worldkit">
<param NAME=movie VALUE="worldkit.swf?dataurl=%2fsearch.php%3Dgeo%2Bcrazy">
<param NAME=quality VALUE="high">
<param NAME=bgcolor VALUE="#000000">

<embed src="worldkit.swf?dataurl=%2fsearch.php%3Dgeo%2Bcrazy" quality="high" bgcolor="#000000" WIDTH="800" HEIGHT="400" NAME="worldkit" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="">
To have worldKit request another url for config.xml, simply pass "confurl=[URL]" as above. That url can be a dynamically generated file.

If confurl is set to NULL ("confurl="), then no config.xml is requested and all settings are taken as defaults or through dynamic options.