[mapserver-users] Mapscript Strange behaviour of drawQuery

Steve Lime Steve.Lime at dnr.state.mn.us
Mon Aug 24 20:25:15 PDT 2009


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 <thomaschx at gmx.de> 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




More information about the MapServer-users mailing list