Class: objecteditinggetwmsfeatureDirective directive:gmfObjecteditinggetwmsfeature

gmf.objecteditinggetwmsfeatureDirective

new objecteditinggetwmsfeatureDirective()

When activated, this directive registers clicks on an OL3 map and use the clicked coordinate to fetch a feature using the ObjectEditing query service. A feature returned is pushed to a collection.

Example:

<gmf-objecteditinggetwmsfeature
    gmf-objecteditinggetwmsfeature-active="ctrl.active"
    gmf-objecteditinggetwmsfeature-features="ctrl.features"
    gmf-objecteditinggetwmsfeature-layerinfo="ctrl.layerInfo"
    gmf-objecteditinggetwmsfeature-map="::ctrl.map">
</gmf-objecteditinggetwmsfeature>
HTML attributes:
Name Type Description
gmf-objecteditinggetwmsfeature-active Whether the directive is active or not.
gmf-objecteditinggetwmsfeature-features The collection of features where to add those created by this directive.
gmf-objecteditinggetwmsfeature-layerinfo Queryable layer info.
gmf-objecteditinggetwmsfeature-map The map.
Returns:
angular.Directive

The directive specs.