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

Two-way bind a ngfor list to a featureGroup #57

Open
AndreasSchmid1 opened this issue Jun 7, 2018 · 5 comments
Open

Two-way bind a ngfor list to a featureGroup #57

AndreasSchmid1 opened this issue Jun 7, 2018 · 5 comments

Comments

@AndreasSchmid1
Copy link

I want to create an additional list in angular with basic information about each shape inside the featureGroup (like. length, type, radius and so on).

Is it somehow possible to two way bind both collections? Or do I have to implement it myself with the change events of both collections

Thank you very much in advance.

@reblace
Copy link
Contributor

reblace commented Jun 7, 2018

There's no built-in way to do that right now. It's an interesting idea that might make a good feature request. I'll keep it in mind for the next version.

For now, you'll have to maintain your own collection and sync it with the featureGroup.

@AndreasSchmid1
Copy link
Author

That would be amazing.
When one can two way bind an Angular List to the featureGroup collection. Even more exciting szenarios are possible using RxJS reactive extensions. (For e.g. do a three way binding with a backed database).
Really looking forward to this feature!

@tvfire
Copy link

tvfire commented Jul 31, 2018

I am also interested in this feature

@AndreasSchmid1
Copy link
Author

any news on this topic?

@reblace
Copy link
Contributor

reblace commented Sep 1, 2018

I haven't had time or need to do this yet, so it's relatively low on the priority list. PR's are welcome though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants