RE: [mapserver-users] De-coupling legend from class name

2010-01-28 Thread Fawcett, David (MPCA)
that it matches. David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of ni...@maich.gr Sent: Thursday, January 28, 2010 1:53 AM To: mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] De-coupling legend from class

RE: [mapserver-users] De-coupling legend from class name

2010-01-27 Thread Lime, Steve D (DNR)
(MPCA) [david.fawc...@state.mn.us] Sent: Wednesday, January 27, 2010 9:05 AM To: ni...@maich.gr; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] De-coupling legend from class name Nick, Just as you did with 'style[0]', you can reference a layer or class by it's numeric index

RE: [mapserver-users] De-coupling legend from class name

2010-01-27 Thread nikos
-coupling legend from class name Nick, Just as you did with 'style[0]', you can reference a layer or class by it's numeric index. This gives you the flexibility to change the class name, but now you need to know which class it is based on order (index). http://mapserver.org/cgi/controls.html