HSLayers.Control.Measure ======================== `HSLayers.Control.Measure `_ is cover control for *line length* and *polygon area* measurements. .. code-block:: javascript var measure = new HSLayers.Control.Measure({layer:vector_layer}); map.addControl(this.measure); // add the controls to map mapToolBar.addControls([measure.distance, measure.area]); Another interesting parameter could be :attr:`renderTo`, which expects either `Ext.Panel` or HTML DIV id.