On 14/05/2009 09:56, dejan.gam...@pula.hr wrote:
> Hi,
> 
> I have read some posts and just need a confirmation - if I have XY layer 
> with X and Y coordinates, and want to show the map zoomed at this 
> coordinate, I to have define a "buffer" with minx/miny/maxx/maxy 
> coordinates and use something like:
> 
> http://localhost/pmapper/map.phtml?config=myconfig&me=minx,miny,maxx,maxy
> 
> So, in my database I have to define 4 additional columns with those 
> values? No possibility to zoom to point and let pmapper define this 
> extent?
> 
> regards, dejan
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
> 

Zooming to the extent of a feature is possible, but only for 'normal' 
Mapserver layers ('XY layers' are a construct of p.mapper and need extra 
logic for querying). The docs contain a description. The zoom extent for 
points is defined via the 'pointBuffer' in the config. You could try 
defining this layer instead as an OGR layer that also allows to be 
queried with Mapscript. Otherwise you would need to add the logic for 
initial zoom extent outside of p.mapper and start the application with 
the already known extents.

armin

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to