Adding to MapShapeLayer DataSource collection doesn't redraw the new bubble

When updating or adding to the Markers bound collection the map correctly displays the updates and new markers.

If the DataSource bound collection is changed when using bubbles, the tooltip reflects the change for the SizeValuePath field but the actual size doesn't change. 

If the DataSource bound collection is changed by adding a new element, the new element is not drawn.

I couldn't find an example of adding new elements at runtime to the MapShapeLayer DataSource collection when using MapShapeLayer.BubbleSettings.

Thanks for your help 


3 Replies

VO Vishal Omprasad Syncfusion Team June 10, 2024 02:07 PM UTC

Hi George,

We have checked and we are able to replicate the reported scenarios “dynamically changing DataSource bound collection does not draw the new element”, and “dynamically changing the SizeValuePath field of the DataSource bound collection reflected in tooltip, but the bubble size does not change” in the .NET MAUI SfMaps control from our end. We have logged issue report for the same. We will fix this issue and will include the fix in our upcoming weekly NuGet release update, which is expected to roll out on July 2, 2024. We appreciate your patience until then.

You can track the status of this report through the following feedback link.

Feedback link: https://www.syncfusion.com/feedback/58534/mapshapelayer-datasource-collection-does-not-update-when-changng-dynamically

Note: The provided feedback link is private, and you need to log in to view this feedback.

Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.

Regards,
Vishal O.



VO Vishal Omprasad Syncfusion Team July 2, 2024 11:45 AM UTC

Hi George,

We have fixed the reported scenario “MapShapeLayer DataSource collection does not update when changing dynamically” in the .NET MAUI SfMaps control from our end. Due to testing phase, we have prepared a private patch including the issue fix and shared it below for your reference. Please check with our patch and let us know whether your issue is resolved.

Note:

Before installing the patch, kindly remove bin and obj folders from all the projects of solution and clear NuGet cache:

https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache

Disclaimer:

Please note that the private patch was created for version 26.1.35 specifically to address this issue. We will include the issue fix in our upcoming weekly NuGet release update. We appreciate your patience until then.

Regards,
Vishal O.


Attachment: Syncfusion_MAUI_Maps_Patch_e9671120.zip


VO Vishal Omprasad Syncfusion Team July 9, 2024 09:52 AM UTC

Hi George,

We have fixed the reported scenario MapShapeLayer DataSource collection does not update when changing dynamically in the .NET MAUI SfMaps control and included the fix in our latest weekly NuGet release update version 26.1.41 which is available for download in nuget.org.

Root-cause: DataSource property changed not hooked when the given collection changes.

We thank you for your support and appreciate your patience in waiting for this update. Please feel free to reach out to us if you would require any further assistance.

Regards,

Vishal O.


Loader.
Up arrow icon