dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.23k stars 1.76k forks source link

Map pins are not updated if the ItemsSource collection sends Reset event #18503

Open notanaverageman opened 1 year ago

notanaverageman commented 1 year ago

Description

MapHandler just clears the pin list on NotifyCollectionChangedAction.Reset event, however the documentation of the event states that: Reset | 4 | The contents of the collection changed dramatically.

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

7.0.96

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android, Windows, macOS, Other (Tizen, Linux, etc. not supported by Microsoft directly)

Affected platform versions

No response

Did you find any workaround?

Workaround is to apply the changes individually which is not cost effective as applying once and notifying with reset event.

Relevant log output

No response

ghost commented 1 year ago

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.