[OpenMap Users] Re: getting latlon values from x,y coordinates

From: Don Dietrick <dietrick_at_bbn.com>
Date: Thu, 15 Jul 2004 15:53:11 -0700

Hi Chhaya,

The trick is that you have to have your servlet provide the projection
parameters of the current image to the page being displayed, so that
when you send back the x, y point to the servlet, you can provide those
parameters as well. Then, you create a projection from those
parameters, and inverse project the x, y coordinates from that
projection.

- Don

On Jul 15, 2004, at 8:06 AM, Chhaya Mudgal wrote:

>
> Hi Don,
>
> I have a servlet in which javascript gives the x and y coordinates
> when clicked on
> the image. This image is generated from the maphandler. My problem is
> that the lat
> lon values that is returned from the mapRequestHandler is different
> all the time.
> I will really appreciate if anyone has seen this problem and know the
> solution to it.
>
> thanks
>
> Chhaya
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Jul 15 2004 - 19:03:50 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:05 EDT