new component_()
Directive used to create, modify and delete vector features on a map with the addition of changing their style. Example:
<gmf-drawfeature
gmf-drawfeature-active="ctrl.drawFeatureActive"
gmf-drawfeature-map="::ctrl.map">
</gmf-drawfeature>
HTML attributes:
Name | Type | Description |
---|---|---|
gmf-drawfeature-active |
boolean | Whether the directive is active or not. |
gmf-drawfeature-map |
ol.Map | The map. |
Returns:
angular.Directive
The directive specs.