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

Fixed WPF example layer collection changed handler #40

Merged
merged 1 commit into from Feb 16, 2017

Conversation

AleksandarDev
Copy link
Contributor

Collection changes were not handled properly in WPF host example.

I replaces sender with e.NewItems and e.OldItems.

If there is existing layer with the same name as added layer, new layer is ignored.
If there is no existing layer with the same name as removed layer, noting is removed from map layers.

@AleksandarDev AleksandarDev changed the title Fixed WPF example layer changed handler Fixed WPF example layer collection changed handler Dec 1, 2016
Copy link
Member

@FObermaier FObermaier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok to me, @petlof, since this is your contribution, could you review this please.

@FObermaier FObermaier merged commit 7f1c0d8 into SharpMap:Branches/1.0 Feb 16, 2017
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.

None yet

2 participants