This content has been marked as final. Show 3 replies
Hello!1 person found this helpful
What kind of API you trying to use?
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.
If this is for the MapViewer Java API then oracle.lbs.mapclient.MapViewer.setCenter(X,Y) should be in Long/Lat or coordinates in the SRID of the map request.