First, color selection works if a country is clicked on, but I'm unable to highlight countries programmatically as per data binding exam in the documentation: https://help.syncfusion.com/uwp/sfmaps/data-binding?cs-save-lang=1&cs-lang=xml.
In the XAML editor, it shows an error on the rangecolor mapping;
<syncfusion:RangeColorMapping To="0" From="0" Color="#C7E9FA"/>
"Failed to add RangeColorMapping to ObservableCollection. Element not found."
The application starts, but countries aren’t highlighted.
Secondly, I can get bubbles rendering on the map, but performance is poor taking several seconds to add new elements. I'm using the viewmodel and example code from the bubble documentation here: https://help.syncfusion.com/uwp/sfmaps/bubbles. Is there a sample project that shows new elements being added in real time?
Thanks in advance
<syncfusion:ShapeFileLayer.ShapeSettings>
<syncfusion:ShapeSetting ShapeStroke="#C1C1C1" ShapeStrokeThickness="0.5"
ShapeValuePath="Population" ShapeFill="#E5E5E5" ShapeColorValuePath="NAME">
<syncfusion:ShapeSetting.FillSetting>
<syncfusion:ShapeFillSetting AutoFillColors="False">
<syncfusion:ShapeFillSetting.ColorMappings>
<syncfusion:EqualsColorMapping Color="Red" Value="Australia"></syncfusion:EqualsColorMapping>
</syncfusion:ShapeFillSetting.ColorMappings>
</syncfusion:ShapeFillSetting>
</syncfusion:ShapeSetting.FillSetting>
</syncfusion:ShapeSetting>
</syncfusion:ShapeFileLayer.ShapeSettings> |