Can't delete markers on UWP

Hello,
On attached Zip, you can find a sample app. The use case is the following :
- On load the Map have a set of Markers
- On click "Add", a marker will be added
- On click "Clear", all markers should be removed.

On Droid app, this works well. On UWP, the 2 first steps are ok. The clearing doesn't work.

Thank you for advices,
Olivier

Attachment: App4_710b02a8.zip

6 Replies

HM Hemalatha Marikumar Syncfusion Team March 18, 2020 01:54 PM UTC

Hi Olivier Marquis, 
 
Greetings from Syncfusion. 
 
We would like to let you know that the reported issue has already been fixed. This fix will be included in our upcoming Volume 1 2020 release which is expected to be rolled out by end of March 2020. 
 
We appreciate your patience until then. 
 
Regards, 
Hemalatha M. 
 



AU Alina Ulrich October 8, 2020 12:19 AM UTC

Has this issue been fixed? I am using  custom markers and when using imagerylayer.markers.clear() the pins do not get deleted from the map. However the markers collection is empty. I am using sfmap version 18.3.0.35. 


SS Sridevi Sivakumar Syncfusion Team October 9, 2020 06:36 AM UTC

Hi Alina Ulrich,

We have checked the reported query with v18.3.0.35 NuGet and working fine at our end. Please have a sample from the below link.

Link:  https://www.syncfusion.com/downloads/support/directtrac/295487/ze/Map_Sample-832546002

Testing scenarios

Dynamically add the marker

Dynamically clear the marker collection.

Can you please share the issue reproducing steps?

If it is possible to share the issue reproducing sample. It will be helpful for us to analyse further and provide an appropriate solution.

Regards,

Sridevi S. 



RS Ramya Soundar Rajan Syncfusion Team October 12, 2020 05:43 AM UTC

Hi Alina Ulrich,

 
Sorry for the inconvenience caused. 
 
Please find the sample link from below location. 
 
 
Regards, 
Ramya S 



DA David March 24, 2023 10:54 PM UTC

Have

  ImageryLayer.Markers =ObservableCollection<MapMarker>();


but when clearing the ObservableCollection or ImageryLayer.Markers.Clear();


Markers are not deleted



VO Vishal Omprasad Syncfusion Team March 27, 2023 10:28 AM UTC

Hi David,

Regarding “Markers are not deleted”:

As per the instruction we have followed to check the reported issue and we are unable to replicate the issue from our end. We have attached the tested simple sample and the tested video below for your reference. Please check our sample and let us know if you still facing the same issue.

Additional information:

SfMaps version: 18.3.0.35, and 21.1.35

Xamarin.Forms version: 4.5.0.725, and 5.0.0.2578

If the shared information doesn’t meet your requirement kindly revert us back with the following details which would be helpful for us to check on it and provide you the solution as soon as possible,

  • Share the issue replicate video.

  • Share the code snippets.

  • Share the issue reproducible sample.


Regards,

Vishal O.


Attachment: Maps_Sample_65f1443e.zip

Loader.
Up arrow icon