Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose gmfEditfeatureselectorTree to be able to watch selected editab… #4788

Merged
merged 1 commit into from
Apr 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion contribs/gmf/src/editing/editFeatureSelectorComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ exports.run(/* @ngInject */ ($templateCache) => {
* buffer in pixels to use when making queries to get the features.
* @htmlAttribute {ol.layer.Vector} gmf-editfeatureselector-vector The vector
* layer where the selected or created features are drawn.
* @htmlAttribute {ngeo.layertree.Controller} gmf-editfeatureselector-tree The
* layertree controller handling the selectable editable layers list.
* @return {angular.Directive} The directive specs.
* @ngdoc directive
* @ngname gmfEditfeatureselector
Expand All @@ -57,7 +59,8 @@ exports.component_ = function() {
'active': '=gmfEditfeatureselectorActive',
'map': '<gmfEditfeatureselectorMap',
'tolerance': '<?gmfEditfeatureselectorTolerance',
'vectorLayer': '<gmfEditfeatureselectorVector'
'vectorLayer': '<gmfEditfeatureselectorVector',
'selectedEditableTreeCtrl': '=?gmfEditfeatureselectorTree'
},
bindToController: true,
templateUrl: 'gmf/editing/editFeatureSelectorComponent'
Expand Down