Inherits from: | oscar.Control.Multi |
Description: This control is used for measuring distance or area.
oscar. | |
Properties | |
sketchSymbolizers | {Object{Object}} Contains the display of the look of the measurement tools. |
defaultUnit | {String} The default display unit of the measurement. |
Functions | |
initialize |
{Object{Object}} Contains the display of the look of the measurement tools.
"Point": { pointRadius: 4, graphicName: "square", fillColor: "white", fillOpacity: 1, strokeWidth: 1, strokeOpacity: 1, strokeColor: "#333333" }, "Line": { strokeWidth: 3, strokeOpacity: 1, strokeColor: "#666666", strokeDashstyle: "dash" }, "Polygon": { strokeWidth: 2, strokeOpacity: 1, strokeColor: "#666666", fillColor: "white", fillOpacity: 0.3 }
initialize:function( options )