[mapserver-users] Fwd: imgxy

Vu Pham vu at sivell.com
Wed Mar 27 07:30:13 EST 2002


If your current html template has had the form with appropriate
parameters, then I think you don't need to have another html file.
You can see the example of the demo or the tutorial.

Vu

-----Original Message-----
From: orkun [mailto:temiz at deprem.gov.tr] 
Sent: Wednesday, March 27, 2002 1:37 AM
To: Vu Pham; map_server4
Subject: Re: [mapserver-users] Fwd: imgxy


Vu Pham wrote:

> Steve Lime wrote:
>
>>
>> ---------------------------------------------------------------------
>> ---
>>
>> Subject:
>>
>> imgxy
>> From:
>>
>> orkun <temiz at deprem.gov.tr>
>> Date:
>>
>> Fri, 22 Mar 2002 16:58:59 +0200
>> To:
>>
>> steve.lime at dnr.state.mn.us
>>
>>
>> Hi
>>
>> I couldn't locate the maps at the center of the view when I performed
>> zooming, although
>> I manipulated imgxy. (But I don't know the logic of imgxy in depth. )
>>
>> How can I solve this problem ?
>> Would you give some hints ?
>>
>> Thanks in advance
>>
>
>
> Let me try to answer your question [ I just got it answered yesterday
> :-) ]
> When you don't click on the map itself , e.g. you click on the 
> submit-type button of the form, then imgxy will be used as the center 
> point for zooming.
> If the map size if X and Y, and imgxy will be "X/2-1  Y/2-1 " ( 
> perhaps X/2 -0.5 and Y/2 -0.5 is more exactly ).
>
> For example, my img size is 220 300 ( well, it loads it on my pocket
> pc ), then my form has this line :
> <input type="hidden" name="imgxy" value="109 149">
>
> ( When you click on the map then img.x and img.y will be used )
>
> HTH,
>
> Vu
>
>
>
>
>
Hi

 Thank you very much.
 You say "When you click on the map then img.x and img.y will be used". 
In this case
 I want to know if I have to build new html page for zooming or how to 
change
 existing page

kind regards

-- 
Ahmet Temiz
Geological Engineer
General Directorate
of Disaster Affairs
TURKEY




______________________________________
Scanned and protected by Inflex
http://pldaniels.com/inflex




More information about the mapserver-users mailing list