Jady,

Try to use the parameter &resetsession=y in the link (pmapper 3.2 or
above. The parameters you use are stored in the session cookie. And are
reused the next time. If that is not a solution search the list for
session.use_cookies=0 in php-ini.

Andre van Atten  

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Jady
Verzonden: donderdag 15 mei 2008 2:35
Aan: pmapper-users@lists.sourceforge.net
Onderwerp: Re: [pmapper-users] zoom with zoomQuery


Hi, 

I am experiencing the same problem raised here.  I have a webpage
displaying the attribute table of a layer.  Each record in the table
provides a hyperlink which opens pmapper and zooms to that feature.  So
I use "zoomLayer=countries&[EMAIL PROTECTED]@[EMAIL PROTECTED]@0" with my
parameters in the link.  The problem is when I click the hyperlink of
feature A, it opens the pmapper and zooms to feature A with no problem.
But when I then click the hyperlink of feature B, it opens the pmapper
and zooms to feature A again instead of feature B.  If I first click the
hyperlink of feature A and then in pmapper I pan the map to somewhere
else, then when I click the hyperlink of feature B, it zooms to where I
just panned to instead of feature B. 

Thanks for any help in advance. 

Jady 



Armin Burger wrote:
> 
> Mauricio Stange H. wrote:
>> Hi all, hope yo can help with my problema
>> 
>> first of all, i'm using pmapper 3.1 and mapserver 4.10, and a postgis

>> layer
>> 
>> i'm trying to use the zoomQuery function, well, i have no error but
>> 
>> what happens is this:
>> zoomLayer=propiedades&[EMAIL PROTECTED]@[EMAIL PROTECTED]@1
>> if I use this values it centers on the correct polygon, but if i try 
>> another query it centers on the new one, but if the max scale is 
>> bigger than before, it preserve the older one, and don't make a full 
>> extent zoom.
>> 
>> and what I really want is to have a full zoom to the query result 
>> polygon and that it don't set the max extent to the query result 
>> extent, so i use this values
> 
>> zoomLayer=propiedades&[EMAIL PROTECTED]@[EMAIL PROTECTED]@0
>> but i seem that it preserve all, no centering on the new result, and 
>> preserving the old scale.
> 
> I don't understand what you mean with this... and what is the final 
> result. Nor do I know if you get any errors (PHP or JS).
> 
> For me it works fine and you can see an example on the demo site. I 
> could imagine that there are problems with some versions of MS 
> (4.10.0) because of bugs for attribute queries on Postgis layers, but 
> you say it works for the first setting.
> 
> armin
> 
> ----------------------------------------------------------------------
> --- This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a
browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/ 
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
> 
> 

--
View this message in context:
http://www.nabble.com/zoom-with-zoomQuery-tp13203052p17243768.html
Sent from the pmapper users mailing list archive at Nabble.com.


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to