Bug 626

Summary: [Chameleon-Docs] Document ZoomSelectedLayers widget
Product: Chameleon Reporter: Jeff McKenna <jmckenna@gatewaygeomatics.com>
Component: DocumentationAssignee: Jeff McKenna <jmckenna@gatewaygeomatics.com>
Status: NEW    
Severity: normal CC: chameleon-dev@lists.maptools.org
Priority: P2    
Version: 1.99   
Target Milestone: FUTURE   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description From 2004-08-24 15:19:31
The ZoomSelectedLayers widget zooms to the extents of a selected layer.  The
code looks for the layer metadata "SELECTED" to be "1".  Here's an example
widget def:

                              <!-- ZOOMSELECTEDLAYERS -->
                              <td><cwc2 type="ZoomSelectedLayers" visible="true"
imagetip="Zoom to selected layers" image="icons/icon_zoomactive.png"
styleresource="NavButtons" imagewidth="24" imageheight="24">
                                      <image state="normal"/>
                                      <image state="hover"/>
                                      <image state="selected"/>
                              </cwc2></td>

Also:

- the layer MUST be queryable
- there is a BUFFER parameter that can be set.  Valid values are 0 - 100, 1 is
the default.  It is a percent value.
- do NOT include this in the Toolset...unless u want an enless loop of fun
------- Comment #1 From 2004-09-03 13:02:10 -------
Changed Target to 1.99 RC 1.
------- Comment #2 From 2004-11-08 15:37:17 -------
since you know what needs to be done ... ;)
------- Comment #3 From 2004-12-02 10:38:18 -------
Changing target to FUTURE, since this is not one of the base widgets for 1.99.