setLayersDrawingOrder problem
Ryan, Adam
ARyan at CO.LINN.OR.US
Tue Apr 5 11:18:22 PDT 2005
> -----Original Message-----
> From: Stéphane RIFF [mailto:stephane.riff at CERENE.FR]
> Sent: Tuesday, April 05, 2005 8:56 AM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-USERS] setLayersDrawingOrder problem
>
>
> Hi
>
> I have a mapfile with one layer inside.
> In my application i add some dynamic layer by mapscript.
> I want that the static layer alwayes drawn last so i used
> setLayersDrawingOrder but i can't get it works.
>
> I did $map->save(<filename>) (just after setLayersDrawingOrder and
> map->draw) and look at it :
>
> My dynamic layer is the last in the mapfile .
>
> Does someone success with that
> Thanks
>
Stéphane,
Try using ... $map -> moveLayerUp($layerIndexNumber) ... instead of
setLayersDrawingOrder.
Adam
More information about the MapServer-users
mailing list