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 Used to active or deactivate the component.
gmf-mobile-measurepoint-Coordinatedecimals <optional>
number of decimal to display for the coordinate.
gmf-mobile-measurepoint-layersconfig Raster elevation layers to get information under the point and its configuaration.
gmf-mobile-measurepoint-map The map.
gmf-mobile-measurepoint-sketchstyle A style for the measure point.
Returns:
angular.Directive

The Directive Definition Object.