[OpenMap Users] Rotate a OMAreaList

From: Ruben DF <rdocasalf_at_yahoo.es>
Date: Wed, 22 Jul 2009 10:17:23 +0000 (GMT)

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_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Jul 22 2009 - 06:18:09 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT