Class: mobileMeasurePointDirective directive:gmfMobileMeasurePoint

gmf.mobileMeasurePointDirective

new mobileMeasurePointDirective(gmfMobileMeasurePointTemplateUrl)

Provide a directive to do a point (coordinate and elevation) measure on the mobile devices.

Example:

 <div gmf-mobile-measurepoint
   gmf-mobile-measurepoint-active="ctrl.measurePointActive"
   gmf-mobile-measurepoint-layersconfig="::ctrl.measurePointLayers"
   gmf-mobile-measurepoint-map="::ctrl.map">
 </div>

Where ctrl.measurePointLayers is an object like this:

 this.measurePointLayers = [
   {name: 'srtm', unit: 'm', decimals: 2},
   {name: 'wind', {unit: 'km/h'},
   {name: 'humidity'}
 ];
HTML attributes:
Name Type Attributes Description
gmf-mobile-measurepoint-active boolean Used to active or deactivate the component.
gmf-mobile-measurepoint-coordinatedecimals number <optional>
number of decimal to display for the coordinate.
gmf-mobile-measurepoint-layersconfig Array:.<gmf.MobileMeasurePointController.LayerConfig:> Raster elevation layers to get information under the point and its configuaration.
gmf-mobile-measurepoint-map ol.Map The map.
gmf-mobile-measurepoint-sketchstyle ol.style.Style | Array:.<ol.style.Style:> | ol.StyleFunction A style for the measure point.
Returns:
angular.Directive

The Directive Definition Object.