RE: [OpenMap Users] Constructive Area Geometry

From: Chris Hopkins <>
Date: Wed, 18 Jul 2007 16:09:13 -0400

Hey Phil -


One thing that we've done is written a JLayeredPane wrapper around the
BasicMapPanel so that we can essentially layer Swing components over the
map. We are using this currently for popup details for map items. You
could use the same approach for drawing over the map using Java2D but
you'd have to add some hooks to make sure that while drawing in the X,Y
coordinate space you were over the correct lat,lon coordinates if that
is what you are intending to achieve.


In any case, let me know if you (or anyone else for that matter) are
interested and I can try to decouple the implementation and post it to
the group.


  - Chris



From: []
On Behalf Of Monte Philip V NPRI
Sent: Wednesday, July 18, 2007 2:53 PM
Subject: [OpenMap Users] Constructive Area Geometry


Does openmap have any support for Constructive Area Geometry (CAG) like
in Java2D? I would like to be able to draw something like the attached
image shows (subtracts a small arc from a larger arc to make a
ring/annulus segment)? If openmap does not support CAG, does anyone have
any suggestions on how to accomplish this? Thanks.

Phil Monte



[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Jul 18 2007 - 16:11:45 EDT

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