[mapserver-users] How to use moveLayerUp

Daniel Morissette dmorissette at mapgears.com
Fri Jul 9 03:08:07 PDT 2010


Stefan Schwarzer wrote:
> Hi,
> 
> I am working with PHP Mapscript. I would like to move in some secific cases a layer up so that it gets drawn after all the other layers have been drawn.
> 
> I searched quite some time, but couldn't find any example that would show me how to implement this. Can anyone give me a hint?
> 

Have a look at the mapObj's getlayersdrawingorder() and
setlayersdrawingorder() methods

-- 
Daniel Morissette
http://www.mapgears.com/



More information about the MapServer-users mailing list