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

Ensure correct selectedFeatures is used for GeoExt.selection.FeatureModelMixin #693

Merged
merged 1 commit into from
Jun 17, 2021

Conversation

geographika
Copy link
Member

@geographika geographika commented Jun 10, 2021

Fix for #692 - creating the ol.Collection() in the same place as adding the listeners ensures the correct collection is used.
Still unsure why bindFeatureModel is called multiple times in my application.

Unable to request a review so pinging @simonseyock directly.

Fixes compassinformatics/cpsi-mapview#411

@simonseyock
Copy link
Member

I am still unsure why the bindComponent functions are called multiple times. They are called during destruction as well, which is quite counter-intuitive. The PR looks good to me!

@geographika
Copy link
Member Author

@simonseyock - thanks for the review. Could you please merge? I no longer have merge permissions on geoext/geoext.

@marcjansen
Copy link
Member

marcjansen commented Jun 17, 2021

@simonseyock - thanks for the review. Could you please merge? I no longer have merge permissions on geoext/geoext.

@geographika that is interesting, I thought I had fixed this. Can you try again

@geographika geographika merged commit 871da3b into geoext:master Jun 17, 2021
@geographika
Copy link
Member Author

@marcjansen - merge button back - thanks!

@marcjansen
Copy link
Member

🌞 nice, looks as if it works

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

Successfully merging this pull request may close these issues.

Feature store two-way binding
3 participants