[OpenMap Users] Rotate a OMAreaList

From: Ruben DF <rdocasalf_at_email.domain.hidden>
Date: Wed Jul 22 2009 - 06:17:23 EDT

Hi,

I have a shape defined by an OMAreaList. How could i rotate that shape fixing a specific point? I have started to rotate a simple OMLine adding at render(g) method the code line:

((Graphics2D)g.rotate(angle,x,y)

I suppose that x and y are the center coordinates of the rotation. Since i have latitude and longitude points, how can i translate those points in X and Y points?

Thanks a lot
Regards

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Jul 22 06:24:30 2009

This archive was generated by hypermail 2.1.8 : Wed Jul 22 2009 - 06:24:31 EDT