Hi Don,
I tried following but no luck
document.glider.src="http://marine.rutgers.edu:80/openmap?
REQUEST=PAN&AZIMUTH=90.0&SCALE=2200000&LAT=39.3800&LON=-
73.90&PROJTYPE=mercator&LAYERS=sat,graticule,ru3path";
thanks for your help
chhaya
---- Original Message ----
From: Don Dietrick
Date: Mon 1/12/04 16:37
To: Chhaya Mudgal
Cc: bart.jourquin@fucam.ac.be, openmap-users@bbn.com
Subject: Re: [OpenMap Users] Re: pan and recenter in maprequesthandler
Hi Chhaya,
I see why. Looking at the code, you need to pass in the original
projection parameters. Otherwise, the MapRequestHandler doesn't know
where to pan *from*. It doesn't keep track of state between requests.
If you don't pass in the projection parameters, it will pan from the
original projection parameters it was initially configured with in the
properties.
Same thing with the RECENTER command.
- Don
On Jan 12, 2004, at 4:28 PM, Chhaya Mudgal wrote:
> Hi
>
> I have tried following
> http://..../openmap?REQUEST=PAN&AZIMUTH=90.0
>
> but when i do pan the image which is the request earlier using
> REQUEST=MAP
> disappears. I am using simpleHttpImageserver.
> any idea why this is happening?
>
> thanks
> chhaya
>
> ---- Original Message ----
> From: Don Dietrick
> Date: Mon 1/12/04 13:37
> To: Chhaya Mudgal
> Cc: bart.jourquin@fucam.ac.be, openmap-users@bbn.com
> Subject: Re: [OpenMap Users] Re: pan and recenter in maprequesthandler
>
>
> On Jan 12, 2004, at 12:41 PM, Chhaya Mudgal wrote:
>
>> Hi
>>
>> I am sure my request format is not correct, please let me know the
>> correct format to
>> pan and recenter the map.
>>
>> I just tried
>> http://..../openmap?REQUEST=PAN
>
> PAN needs an AZIMUTH argument, with the value in decimal degrees, north
> is zero, east is positive.
>
>> http://..../openmap?REQUEST=RECENTER.
>
> RECENTER needs X and Y arguments, with their value being the pixel of
> the image you want to recenter on.
>
> - Don
>
>>
>> Your help will be highly appreciated.
>>
>> thanks
>>
>> Chhaya
>>
>> ---- Original Message ----
>> From: Don Dietrick
>> Date: Fri 1/9/04 10:14
>> To: Chhaya Mudgal
>> Cc: bart.jourquin@fucam.ac.be, openmap-users@bbn.com
>> Subject: Re: [OpenMap Users] Re: pan and recenter in maprequesthandler
>>
>> What do your requests look like? What is their format?
>>
>> - Don
>>
>> On Jan 9, 2004, at 9:32 AM, Chhaya Mudgal wrote:
>>
>>> Hi,
>>>
>>> I am using servlet to show map data using maprequesthandler.
>>> I try to use PAN and RCENTER requests to pan and recenter the image,
>>> it does not
>>> work.
>>>
>>> Has anyone tried it or has any ideas how to do it with or without
>>> maprequesthandler.
>>>
>>> thanks
>>>
>>> Chhaya
>>> --
>>> [To unsubscribe to this list send an email to "majdart@bbn.com"
>>> with the following text in the BODY of the message "unsubscribe
>>> openmap-users"]
>>>
>>
>>
>> --
>> [To unsubscribe to this list send an email to "majdart@bbn.com"
>> with the following text in the BODY of the message "unsubscribe
>> openmap-users"]
>>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Mon Jan 12 17:01:02 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:37 EDT