Layer display order (z-index)?
LITTLE Nelson
nelson.little at TENIX.COM
Tue May 29 17:06:03 PDT 2007
Is there a way to dynamically change the order the layers appear without
having to manually edit the mapfile?
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Steve Lime
Sent: Wednesday, 30 May 2007 7:28 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Layer display order (z-index)?
Layers are rendered in the order they appear in the mapfile so I'm not
sure how the POI symbols
could be rendered below the line work. You could try turning them into
annotation instead of point
layers since annotation is always drawn last. You might need to post
your mapfile...
Steve
>>> On 5/29/2007 at 4:06 AM, in message
<C69E8A2815154DF2B5E9416C95DA580F at jackey>,
Jackey Cheung <cheung.jackey at GMAIL.COM> wrote:
> Greetings!
>
> I've put some roads, polygons and poi to my map, their order in the
map file
> is: polygon layers go first, then road layers, and the poi layer is
the last.
> A picture is generated like this:
http://www3.mapasia.com/jackout/mapserv.png
>
> As you can see, those 2 POI icons are covered by roads, can I make
those POI
> icons always on top of everything else in the map?
>
> I've tried re-ordering layers in the map file, but the icons are kept
covered
> by roads.
Disclaimer :
The contents of this e-mail including any attachments are intended only
for the person or entity to which this e-mail is addressed. If you are not,
or believe you may not be, the intended recipient, please advise the sender
immediately by return e-mail, delete this e-mail and destroy any copies.
Tenix does not warrant nor guarantee that this email communication is free
from errors, virus, interception or interference.
More information about the MapServer-users
mailing list