Bug 626 - [Chameleon-Docs] Document ZoomSelectedLayers widget
: [Chameleon-Docs] Document ZoomSelectedLayers widget
Status: NEW
: Chameleon
Documentation
: 1.99
: PC Windows XP
: P2 normal
: FUTURE
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-08-24 15:19 by
Modified: 2004-12-02 10:38 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


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.