I'm trying to set the Layers property programmatically (from a ViewModel class), but I got a NullReferenceException somewhere in the Refresh method:
System.NullReferenceException was unhandled
Message: An unhandled exception of type 'System.NullReferenceException' occurred in Syncfusion.SfMaps.WPF.dll
Additional information: Object reference not set to an instance of an object.
Syncfusion.SfMaps.WPF.dll!Syncfusion.UI.Xaml.Maps.ShapeFileLayer.Refresh
Did I do something wrong? I've included a sample project in the attachment.
Attachment:
SISTAR_b93d71d0.zip