it's probably just not working with POINT layers (I never tested it with 
them). Since the function 'getMapFrameURL()' in initmap.php extracts 
just the min/max extents, the zoom extent will probably not be valid and 
you should get a PHP error in your error log, stemming from mapscript 
and saying that the extent is not valid.

a buffer is not applied in this function but you can add it taking the 
one from the query.

armin

Tony Gray wrote:
> Armin,
> 
>  
> 
> We have been attempting to zoom to a given point from the start.html 
> page using the following command:
> 
>  
> 
> <a href="javascript:openFrames('960#700#medium', 'en', '', 
> '&zoomPoint=discrepancy_flag&zoomQuery=UTIL_ID at [EMAIL PROTECTED] at 
> 1')">Zoom to 
> Flag</a><p>
> 
>  
> 
> The map opens and the point is highlighted?however, the map does not 
> zoom in?it stays at the maximum extent of the map. We have set the 
> pointBuffer within the config.ini file to zoom the same points to a 
> reasonable extent when using the search tool within the map, but this 
> doesn?t seem to apply to this command within the start.html page. We are 
> trying to avoid using the zoomExtent command to keep the link as simple 
> as possible.
> 
>  
> 
> How can we use a similar command within the start.html page to zoom in 
> to a selected point to the same level as set in the config.ini file?
> 
>  
> 
> Thanks,
> 
>  
> 
>  
> 
> **Tony Gray****, CPG**
> 
> **WTH Technology**
> 
> //(812) 683-5713//
> 
> //Cell (812) 631-3096//
> 
> email:  tgray at wthengineering.com <mailto:tgray at wthengineering.com>
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pmapper-users mailing list
> Pmapper-users at faunalia.it
> http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users

Reply via email to