v2.85: Wondering how looong your polylines are or how BIG your polygons are? We have the answers!

window.document.getElementById(‘post-3845’).parentNode.className += ‘ adhesive_post’;<<In the latest version of the API, we’re introducing utility functions to give you more information about your lines and shapes: GPolyline.getLength , GPolyline.getBounds , GPolygon.getArea , and GPolygon.getBounds . Below, I’ve modified the code from the E-Z Digitizer tutorial to show yo…>>   (more…)

Original post by Chris Gilmer