GWT Overlay Manager for Google Maps

In a previous post, GWT Implementation of GMaps Utility Library's Marker Manager, I mentioned that I was working on some new features that would allow for more versatility in managing Markers, and possibly any Overlay.  I've successfully created an Overlay Manager implementation that I believe works pretty well.  You can download the source code here.

The OverlayManagerImpl class has the following features:
- It can manage Markers, Polylines, and Polygons.  However, hiding and showing the Polyline and Polygon elements can use improvement.
- It has an event handler framework that allows you to listen for when the manager is expecting overlays, so you can go get them if necessary.

With the event handler framework, you can create listeners that only get the overlays that you need.  If you extend the BoundsCachingListener class, then you'll be able to only send the data that has not been sent previously based on the current and past bounding boxes of the map view.  I've implemented this for my Retail Biodiesel Locations application and I really like how it works.

I welcome any suggestions for improving the code, especially when it comes to managing Polylines and Polygons.

AttachmentSize
CoreMaps2.zip25.37 KB