I use UTM coords for minx+miny+maxx+maxy and it work just fine!

Thank you very much for your help, Armin.

Armin Burger wrote:
> you can use the zoom2extent() function, arguments to pass are mainly 
> the extent with 4 coordinates separated by a plus (+) sign, like
>
> zoom2extent('', '', 'minx+miny+maxx+maxy', '0')
>
> From a single point coordinate you need to set a buffer that defines 
> the min/max values (4 coordinates) you want to zoom to. From UTM or 
> lat/lon you can convert to your map projection with Mapscript 
> functions. See the function in the coordinates plugin for sample code.
>
> armin
>
> On 28/05/2008 20:36, Francisco Silva wrote:
>> Hi,
>>
>> I know that it is possible to zoom into a screen point, but is there 
>> any way to zoom into a UTM or Lat / Long coord?
>>
>> What I want was some function like centerMap(Point p).
>>
>> Anyone was done something like this?
>>
>> Thanks to all,
>> Francisco Silva,
>> Portugal
>
>
>

-------------------------------------------------------------------------
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