English (en-ca) 2004-12-18 $id: $ Doc_Builder DM Solutions Group Inc. chameleon@lists.maptools.org Christopher R. Thorne DM Solutions Group Inc. chameleon@lists.maptools.org xmlthemelegend TBD TBD 1.99 1999-12-31 BETA Paul Spencer DM Solutions Group Inc. chameleon@lists.maptools.org The XMLThemeLegend widget provides generic legend control capabilities for Chameleon applications. The widget is controlled by a template file and a theme file that describe how layers in the current context should be presented to the user. This widget provides the capability to select between several contexts defined for this application. The XML Theme Legend widget also provides the capability to modify the visibility of layers and groups of layers in the current context. To change the visibility of a layer, click the checkbox next to the layer name or theme name and click the apply button. Hawaii Demo http://www.mapsherpa.com/hawaii2/ The Hawaii Demo uses the latest 1.99 Chameleon version. base popup XML Child Element to Chameleon widget tag (subtag) Widget & Shared Resource float Widget & Shared Resource CONTEXTSELECTOR unknown Used by XMLThemeLegend to avoid processing URL values on first load. CONTEXT unknown The currently loaded context TEMPLATE unknown The current template that is being displayed CONTEXTSELECTOR_CONTEXT_CHANGED unknown Used by XMLThemeLegend to determine if the current context has changed. CONTEXTSELECTOR_LAYERS_ON unknown Used by XMLThemeLegend to track which layers are currently visible. CONTEXTSELECTOR_ALL_LAYERS unknown Used by XMLThemeLegend to track all layers that are currently being controlled. CONTEXTSELECTOR_TEMPLATE unknown Used by XMLThemeLegend to remember the name of the current template. gContextSelectorManager Private The global context selector manager. ContextSelector_initialize Private Called by the XMLThemeLegend to initialize all themes and groups. unknown Describe the JS functions (if any) that define or rather trigger events through the Chameleon JSAPI. ContextSelector_openGroupInfo Private Called by the XMLThemeLegend to display metadata about layers in a group. groupName string groupAbstract string groupLayers string unknown Describe the JS functions (if any) that define or rather trigger events through the Chameleon JSAPI. ContextSelector_openThemeInfo Private Called by the XMLThemeLegend to display metadata about all groups and layers in a theme. themeName string themeAbstract string themeGroups string unknown Describe the JS functions (if any) that define or rather trigger events through the Chameleon JSAPI. ContextSelector_SetThemeStatus Private Called by the XMLThemeLegend to toggle the state of a theme. nTheme string bStatus string unknown Describe the JS functions (if any) that define or rather trigger events through the Chameleon JSAPI. ContextSelector_SetGroupStatus Private Called by the XMLThemeLegend to toggle the state of a group of layers. nTheme string nGroup string bStatus string unknown Describe the JS functions (if any) that define or rather trigger events through the Chameleon JSAPI. ContextSelected Private Called by the XMLThemeLegend when a new context has been requested by the user. szTemplate string szContext string unknown Describe the JS functions (if any) that define or rather trigger events through the Chameleon JSAPI. string Private Private string false unknown JSAPI function calls for this widget are outlined here. string false PHP Mapscript none Error message string.... The description of what the message means...... Any possible solution that will help application developers troubleshoot and fix the problem.