Hi Oliver,

> In ESRI there is the ability to have an AcetateLayer defined and draw
> Graphics on it Like Squares/Rectangles/Arcs etc...  using Graphics2D
>
> How would I go about building the option for an AcetateLayer in geotools and
> displaying Graphics on it?

Well, this is basically what your demo is doing :)

> Would it be really harry to integrate the AcetateLayer as an option into a
> mapContext?

I don't think so.  MapContext isn't a GUI component - it resides in
the data universe.  Extending JMapPane is the appropriate way to do
it.

> Is option 3) above my only realistic solution for getting graphics into a
> specific Layer that can be displayed/manipulated?

You mean turning graphics into features and displaying the feature
collection ?  That's probably not the best approach for an 'Acetate
Layer' because, once again, you want to keep the data and display
domains clearly separated.

> I'm willing to do the work to integrate an AcetateLayer option and post to
> the forum.  I just need your expert direction to get 'er done :-)
>

If you're feeling brave (braver than me :) you might like to delve
into the bowels of the widget-swing-pending module which had the
concept of map decorations similar to an acetate layer.  I say brave
because the code is undocumented and not terrible easy to follow.
However, it may be that parts could be lifted or adapted to implement
an acetate layer for the swing module.

Michael

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to