[Chameleon-dev] [Bug 626] New: [Chameleon-Docs] Document ZoomSelectedLayers widget

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Tue Aug 24 15:19:33 EDT 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=626

           Summary: [Chameleon-Docs] Document ZoomSelectedLayers widget
           Product: Chameleon
           Version: 1.99
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: jmckenna at dmsolutions.ca


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



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list