Drawquerymap ignores setlayersdrawingorder?

Edward Mac Gillavry emacgillavry at HOTMAIL.COM
Mon Aug 14 06:00:28 EDT 2006


Dear list,

Added a thematic layer from PostGIS to the MAP-file using PHP/MapScript. 
Then changed drawing order using setlayersdrawingorder(). This works fine 
when invoking before draw(). Thus, the static layers (rivers, roads) are 
drawn on top of the thematic layer. No problem.

However, upon querying the thematic layer with a mouse-click I invoke 
drawquerymap() to highlight one of the areas in the thematic layer. Now, the 
highlighted thematic layer still appears on top of the static layers despite 
the call to setlayersdrawingorder().

Any suggestions are welcome! Thanks in advance.

Cheers,

Edward


------------------------------------------
E. Mac Gillavry (Edward)

what the map can be...
------------------------------------------
[i] http://www.webmapper.net/
------------------------------------------



More information about the mapserver-users mailing list