Hi Affan,
You'd use the Projection.inverse(x, y) method.
- Don
On Feb 11, 2005, at 4:12 PM, Affan Qureshi wrote:
> Hi,
>
> Does anyone know how to get LatLong values if I have the x,y
> coordinates
> (generated from a drag-n-drop operation)? Do I have to calculate it
> myself?
>
> To convert LatLong to x,y I used Projection.forward() but wanted to
> know
> if I could do the reverse somehow. I looked at various classes in
> com.bbn.openmap.proj.coords, com.bbn.openmap.layer.location and OMPoint
> etc but couldnt find what I need.
>
> Thanks for your time.
>
> Affan
>
>
> --
> [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"]
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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 Fri Feb 11 2005 - 16:48:12 EST