[mapserver-users] Mapscript Strange behaviour of drawQuery

Thomasch thomaschx at gmx.de
Tue Aug 25 07:18:29 PDT 2009


Hi,
I set the ectends before the query. But I found, that's possible to draw 
the querymap instead of the "normal" map like the GMap demo does. So I 
didn't deal with this case any longer.


Thomasch
Steve Lime wrote:
> 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