Replies: 2 comments 1 reply
-
I was able to look at this double call to MapPins() by compiling .net Maui as described in dotnet maui Development guide and using Maui.Controls.Sample PinItemsSourceGallery page. |
Beta Was this translation helpful? Give feedback.
-
Your latest changes have fixed all of the outstanding issues with the handling of the map pins. Excellent work. I am glad you took the time to determine the appropriate changes to get it all working. Thank you for doing that. |
Beta Was this translation helpful? Give feedback.
-
I added a couple of debug calls in the Android CustomMapHandler method MapPins() in the MauMaps sample. I noticed that when I Add a location to the Map, the MapPins method being called twice in a row with the same map.Pins. This causes a double marker entry for each existing pin.
I would like to help determine why this is happening.
To debug this I downloaded the maui Net7.0 repository. I read the dotnet maui Development guide to learn how to use a local
bin\dotnet
scenario. I was able to compile the maui and start VS 2022 MauiMaps project. I set a breakpoint in MapPins() method with the hope of determining where the 2 calls to MapPin() originated.However all I accomplished was to test MauiMaps app with the latest maui net7.0 branch. I was not able to view where the two calls for MapPin() originated in Maui.
What additional steps in compiling .Net maui repository do I need to perform to be able to step through .Net maui code using the MauiMaps app for debugging?
Thank you for your patience.
Beta Was this translation helpful? Give feedback.
All reactions