RE: [mapserver-users] How to use moveLayerUp

2010-07-13 Thread Worth Lutz
One thing that I have done is clone or copy a layer and add it to the map
object.  This puts the new layer at the end of the layer list thus it is the
last one drawn.  What I've been doing is using the new layer to show the
selected items from that layer with a new class.  For example, the original
layer shows all parcels and the new layer shows the selected ones.  To make
this work, I remove all the classes from the cloned layer and add the new
class which describes the new colors for the selected items.

I'd give an example, but I'm at home answering this.

Worth

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stefan
Schwarzer
Sent: Friday, July 09, 2010 5:05 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] How to use moveLayerUp

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?

Thanks a lot,

Stefan___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] How to use moveLayerUp

2010-07-09 Thread Daniel Morissette
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/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] How to use moveLayerUp

2010-07-09 Thread Stefan Schwarzer
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?

Thanks a lot,

Stefan___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users