Given the projection you're using, call the inverse(int x, int y) method, which will return a LatLonPoint.
-----Original Message-----
From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com]On
Behalf Of Chhaya Mudgal
Sent: Thursday, July 15, 2004 11:07 AM
To: dietrick_at_bbn.com; cbahamon_at_infor.cl
Cc: openmap-users_at_bbn.com
Subject: [OpenMap Users] getting latlon values from x,y coordinates
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
--
[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"]
--
[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 - 12:14:16 EDT