source code is very small but it provides
full range of rotating map objects such as: point, polyline, polygon.
You can use its algorithm to rotate raster and image objects too.
source code does not use any third party
library.
J2MERotating source code template is used in VGPS -
World's First and Only GPS application runs on any cell phone that can
install java J2ME application. www.digitalmobilemap.com
J2MERotating has 4
classes:
J2MERotating.java --> main midlet,
this class handles the life cycle of the midlet.
AppCanvas.java --> main canvas, this
class handles and controls the canvas.
AppForm.java --> application form,
this class provides UI for setup and about form.
Logo.java --> this class is used to
display logo when the application starts.
J2MERotating
demo movie
This movie demonstrates J2MERotating is rotating map objects
(point, polyline, polygon) in any angle. If you
could not see the movie, you may need to download flash player from: http://www.macromedia.com/go/getflashplayert