This repository has been archived by the owner on May 1, 2024. It is now read-only.
Xamarin.Forms.Maps.Map.MapElements.Clear() seems effectless #9096
Labels
a/maps 🌐
e/3 🕒
3
feedback-ticket
Issue originates from https://developercommunity.visualstudio.com
p/Android
t/bug 🐛
This issue has been moved from a ticket on Developer Community.
Xamarin.Forms 4.4.0.991265
Xamarin.Forms.Maps 4.4.0.991265
VS 16.4.1 and 16.5 Preview 1
Android project (Api 28):
In my first attempt for a Xamarin App with Maps I insert polygons into the MapElements collection on VisibleRegion changes. Before inserting new polygons I clear the MapElements collection but in the display the (old) polygons remain and are overlayed with the newly added ones. So I get memory problems after a short time.
Looks like clearing the MapElements collection (the Count changes to 0) does not remove the corresponding elemnts from the google map.
Original Comments
Visual Studio Feedback System on 12/13/2019, 02:30 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: