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 boolean Whether the directive is active or not.
gmf-objecteditinggetwmsfeature-features ol.Collection The collection of features where to add those created by this directive.
gmf-objecteditinggetwmsfeature-layerinfo gmf.ObjectEditingQuery.QueryableLayerInfo Queryable layer info.
gmf-objecteditinggetwmsfeature-map ol.Map The map.
Returns:
angular.Directive

The directive specs.