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 wmscache TBD TBD 1.99 1999-12-31 BETA Paul Spencer DM Solutions Group Inc. chameleon@lists.maptools.org The WMSCache widget gets the contents (servers and layers) and places it inside a SharedResource widget in a format suitable for accessing via a javascript- enabled SharedResource. It can either list the servers or list the layers available in a single server. SHAREDRESOURCENAME ="[string]" WMSCACHEDIRECTORY ="[string]" LISTSERVERS ="[boolean]" LISTLAYERS ="[boolean]" SERVERIMAGE ="[string]" THEMEIMAGE ="[string]" THEMEOPENIMAGE ="[string]" LAYERIMAGE ="[string]" Hawaii Demo http://www.mapsherpa.com/hawaii2/ The Hawaii Demo uses the latest 1.99 Chameleon version. base SHAREDRESOURCENAME string Required The name of the SharedResource to populate with output from this widget. WMSCACHEDIRECTORY string Required The directory to get the wms cached capabilities from. May be relative or absolute. If relative, then it is considered relative to the location of the template containing this widget. LISTSERVERS boolean Widget Only true false Control the outputting of servers from the WMS Cache. If true, then all servers will be copied into the selected SharedResource. If false, then only the selected server will be copied. LISTLAYERS boolean Widget Only true false Control the outputting of layers from the WMS Cache. If true, then all layers for all selected servers will be copied into the selected SharedResource. SERVERIMAGE string Widget Only The image to associate with servers. THEMEIMAGE string Widget Only The name of the default image to use with themes (a group of layers). WMSCache will try to get an icon from the style associated with a theme and will use this image only if it cannot find a valid style. THEMEOPENIMAGE string Widget Only The name of the default image to use with themes that have been expanded. This will be overwritten if the theme has a valid style. LAYERIMAGE string Widget Only The name of the default image to use with layers. WMSCache will try to get an icon from the style associated with a layer and will use this image only if it cannot find a valid style. XML Child Element to Chameleon widget tag (subtag) Widget & Shared Resource float Widget & Shared Resource unknown 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.