![]() |
||||
|
|
||||
[Chameleon-dev] [Bug 35] New: [Chameleon] XMLThemeLegend-> use ms generated leg_icons/symbol definition.bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.orgMon, 11 Aug 2003 15:52:26 -0400
|
||||
http://www.maptools.org/bugzilla/show_bug.cgi?id=35
Summary: [Chameleon] XMLThemeLegend-> use ms generated
leg_icons/symbol definition.
Product: Chameleon
Version: 1.1
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: enhancement
Priority: P4
Component: Widget
AssignedTo: chameleon-dev@lists.maptools.org
ReportedBy: thorne@dmsolutions.ca
A good enhancement request to the XMLThemeLegend widget. Is to allow the user to
get mapserver to auto generate the legend icons, based on symbol layer
definitions. Currently the user must point to an image for each group within the
XML theme file.
Currently:
<group name="Beach" visible="true" icon="./images/beach.png">
<layer name="Beach_rec"/>
<layer name="Resort_rec"/>
</group>
Proposed:
<group name="Beach" visible="true" icon=" Beach_rec ">
<layer name="Beach_rec"/>
<layer name="Resort_rec"/>
</group>
(Where the ThemeParser would search the layers within the group to see if
“Beach_rec” layer is found. If layer name found go to mapfile to get the symbol
definition of the first class.)
Also, it would be handy if a symbol definition can be read from the theme layers
to display the legend icon.
Eg.
<group name="Beach" visible="true" symbol="beach ">
<layer name="Beach_rec"/>
<layer name="Resort_rec"/>
</group>
(Where the symbol definition would be read directly from the symbol.sym file
used in the mapfile.)
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |