Getting Coordinates From Drawn Rectangle

Adding to OpenLayers Draw Features the ability to get/grab the coordinates. Only a rectangle. draw_get_coordinatess_controller.js

Coordinates not displayed on the page. YET?, but are in console. Not sure which set of coords, several are available. It is in another example.

Another approach to getting and displaying coordinates.

Click, move, click to define rectangle

 

< < < Use nav bar at left. < < < The following may not be complete
OpenLayers Basic Layer Switcher Home Page Next: OpenLayers with an OSM map