Forget my last mail.

It was my mistake.

I'm developing a ADOBE FLEX application that shows pmapper generated 
maps, and it was a flex problem.

Thank you very much for your help Armin.

Francisco

Francisco Silva wrote:
> The function you told had 4 arguments but the one I have in pmapper 
> (pmapper-3.2.beta4), just have three:
> zoom2extent(layer,idx,geoextent)
> What is the meaning of the other 3 ones?
>
> As I said, the function works fine, but sometimes it fails and i don't 
> understand why.
>
> In this cases, the result that a get for the AJAX call is strange for 
> the GEO parameters:
>
> minx_geo:'-9.62491419898E-10', maxy_geo:'9115701.79507', xdelta_geo:'361223', 
> ydelta_geo:'220988.59014'
>
> The minx_geo is something like 0.
>
> This was the function call for this example:
> zoom2extent(0, 0, '264879+8955440+361223+9054975')
>   
> The maxy_geo is greater than the one I request, and the minx_geo is 
> smaller.
>
> Francisco
>
>
> Francisco Silva wrote:
>> 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
>>
>>   
-------------------------------------------------------------------------
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