I need a control for drawing simple boxes on a vector layer. It needs to sit in a Panel. It needs to activate when clicked, and deactivate when any other control in the panel is clicked.
When it's active, it should record the location of a mousedown on the map, and the next mouseup, and fire an event to a listener, passing the coordinates of the two locations (perhaps as a Bounds object). Seems simple enough, but I'm not sure where to start. The examples I have found are far more complicated than I need.
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
