I want to convert latitude/longitude value into X-Y co-ordinates,but I couldn't find an API for same.
As we have an API for converting X-Y co-ordinates to latitude/longitude i.e. getUserPoint(x,y) is there anything similar to do the reverse operation?
Thanks for the reply.
I am using Swing.For converting mouse click to lat/long I have used getUserPoint(x,y) and I have got lat/long sucessfully too.
Now I want to perform a reverse operation for getting lat/long in pixels so that I can use it in setCenter(x,y) method,
as I want to perform a operation of shifting center to a particular point.But I have details of lat/long for that point.And setCenter(x,y) needs pixel information.(as using Jpanel to diaplay map)
I hope my problem is clear to you.
thanks for help.