Class: mobileMeasureLengthDirective directive:gmfMobileMeasureLength

gmf.mobileMeasureLengthDirective

new mobileMeasureLengthDirective(gmfMobileMeasureLengthTemplateUrl)

Provide a directive to do a length measure on the mobile devices.

Example:

 <div gmf-mobile-measurelength
   gmf-mobile-measurelength-active="ctrl.measureLengthActive"
   gmf-mobile-measurelength-map="::ctrl.map">
 </div>
HTML attributes:
Name Type Attributes Description
gmf-mobile-measurelength-active boolean Used to active or deactivate the component.
gmf-mobile-measurelength-precision number <optional>
the number of significant digits to display.
gmf-mobile-measurelength-map ol.Map The map.
gmf-mobile-measurelength-sketchstyle ol.style.Style | Array:.<ol.style.Style:> | ol.StyleFunction A style for the measure length.
Returns:
angular.Directive

The Directive Definition Object.