[Chameleon-dev] [Bug 1009] New WMSLegend widget
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Fri May 27 16:58:16 EDT 2005
http://bugzilla.maptools.org/show_bug.cgi?id=1009
bartvde at xs4all.nl changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From bartvde at xs4all.nl 2005-05-27 16:58 -------
I've added the WMSLegend widget to the CVS head. ALPHA maturity level.
I tested it with the OGC sample, only problem is the DM Solutions Mapserver is
apparently not new enough (Mapserver 4.3!) so it does not support the changes
made to GetLegendGraphic in 4.4 to get back a full legend if no Rule is
specified. Eg:
http://www2.dmsolutions.ca/cgi-bin/mswms_world?&request=getlegendgraphic&scale=226787247.36&width=18&height=12&version=1.1.1&layer=WorldRoads&format=image/png&sld_body=%3CStyledLayerDescriptor+version%3D%221.0.0%22+xmlns%3D%22http%3A%2F%2Fwww.opengis.net%2Fsld%22+xmlns%3Agml%3D%22http%3A%2F%2Fwww.opengis.net%2Fgml%22+xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22+xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22+xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22+xsi%3AschemaLocation%3D%22http%3A%2F%2Fwww.opengis.net%2Fsld+http%3A%2F%2Fschemas.opengeospatial.net%2Fsld%2F1.0.0%2FStyledLayerDescriptor.xsd%22%3E%0A%3C%2FStyledLayerDescriptor%3E%0A
Example usage:
<!-- WMSLEGEND -->
<td><cwc2 type="WMSLegend" image="icons/icon_legend.png" label="WMS
Legend" visible="true" styleresource="TextButtons"
popupstyleresource="TextButtons" imagetip="show WMS legend" popupwidth="640"
popupheight="620">
<image state="normal"/>
<image state="selected"/>
<image state="hover"/>
</cwc2>
</td>
Marking as fixed.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Chameleon-dev
mailing list