[Geomoose-users] controlling items in the legend GM 2.2

Mark Volz MarkVolz at co.lyon.mn.us
Wed Apr 7 11:49:44 EDT 2010


Hello.

I have map setup where multiple layers are pointing to a single map source
file.  I would like to do it this way so I can draw all of my layers on a
single image.  When I turn on the legend on for any layer the legend for all
the layers shows up.  I am assuming this is the case as if I am not mistaken
legends are drawn at the .map level and not layer by layer?  Anyways, is
there any way to make sure that only relevant items show up on the legend?
For example if I click on the legend for my parcel layer, I would only like
only parcels to show up in that legend, and if I click on my section layer I
would like only the sections to draw on the layer.

<map-source name="Boundaries" type="mapserver">
<file> ./Boundaries.map</file>
	<layer name="parcels">
	<layer name="sections">
	....
</map-source>
...
<catalog>
	...
<layer title="Parcels" src="AllLayers/parcels " status="on" legend="true" />

<layer title="Sections" src="AllLayers/sections" status="on" legend="true" />
...			
</catalog>

Thanks

Mark Volz
GIS Specialist
Lyon County, MN


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20100407/b65fca40/attachment.html


More information about the Geomoose-users mailing list