this max extent that you cannot go over is currently hardcoded in the 
zoompoint function. You can globally disable it modifying in map.php for 
function 'pmap_zoompoint()' the line

$this->map->zoompoint($this->zoom_factor, $xy_pix, $this->mapwidth, 
$this->mapheight, $this->geoext0, $this->maxextent);

to

$this->map->zoompoint($this->zoom_factor, $xy_pix, $this->mapwidth, 
$this->mapheight, $this->geoext0);


There might be other parts where this limitation is as well.

Or you can set the max extent in the map file higher and set the initial 
extent via the URL key like "...map.phtml?me=xmin,ymin,xmax,ymax"


Armin


Kai Behncke wrote:
> Hello List,
> 
> I wonder if it`s possible with p.mapper to zoom out as far as I want.
> I alredy tried out to change sliderMin and sliderMax in config.ini, but still,
> if I get my map and press the "- button" (zoomout) the map always go to the
> extent that is written in the mapfile, but I would like to regard the area
> from a much higher level.
> What can I do to reach that?
> 
> Thank you very much, Kai
> 
> --
> Dipl.-Geogr. Kai Behncke
> 
> Institut für Geoinformatik und Fernerkundung (IGF)
> Universität Osnabrück
> Kolpingstr. 7
> 49074 Osnabrück
> 
> Raum: 01/308
> Tel.: +49 541 969-4450
> E-Mail: mailto:[EMAIL PROTECTED] 
> Web:  http://www.igf.uni-osnabrueck.de
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
> 
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to