Class: drawprofilelineDirective directive:gmfDrawprofileline

gmf.drawprofilelineDirective

new drawprofilelineDirective()

Simple directive that can be put on any element. The directive listen on clicks events to allow/disallow to draw one line (and only one) on the map. Typically used to draw the line that will serve the gmf.Profile.

Example:

 <gmf-drawprofileline
   gmf-drawprofileline-active="mainCtrl.drawProfileActive"
   gmf-drawprofileline-map="mainCtrl.map"
   gmf-drawprofileline-line="mainCtrl.line"
 </gmf-drawprofileline>
HTML attributes:
Name Type Attributes Description
gmf-drawprofileline-map The map.
gmf-drawprofileline-line The variable to connect with the drawed line.
gmf-drawprofileline-active <optional>
Active the component.
gmf-drawprofileline-style <optional>
Optional style for the drawed line.
Returns:
angular.Directive

Directive Definition Object.