It's possible that the query functions themselves are mucking with the
map extent. Did you try:

  1) printing the extent before and after the query?
  2) expressly setting its value to what you expect before calling drawQuery?

Steve

>>> Thomasch <[email protected]> 08/23/09 7:15 AM >>>
Hi,
I'm using Mapserver 5.2.1 on WinXP.
If I try to draw a query using drawQuery() the scale of my map is 
changed - even if the qurery returns no result. If I don't draw the 
query, everyting is fine.

Please see my code in Attachement.

Is there a workaraund?


Thank you


Thomasch

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to