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:[EMAIL PROTECTED] On Behalf Of Steve Lime Sent: Wednesday, 30 May 2007 7:28 AM To: [email protected] 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 <[EMAIL PROTECTED]>, Jackey Cheung <[EMAIL PROTECTED]> 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.
