Hi,
I'm trying to use the component SfMaps on Windows phone 8.1. It does Initialize and shows on Android and iOS, but it crashes on Windows phone
I've got 2 errors that are raised when I'm trying to access the screen where my map is:
Error: BindingExpression path error: 'ShowDistanceScale' property not found on 'Syncfusion.UI.Xaml.Maps.ShapeFileLayer'. BindingExpression: Path='ShowDistanceScale' DataItem='Syncfusion.UI.Xaml.Maps.ShapeFileLayer'; target element is 'Windows.UI.Xaml.Controls.Grid' (Name='PART_DistanceScaleGrid'); target property is 'Visibility' (type 'Visibility')
Error: BindingExpression path error: 'Distance' property not found on 'Syncfusion.UI.Xaml.Maps.ShapeFileLayer'. BindingExpression: Path='Distance' DataItem='Syncfusion.UI.Xaml.Maps.ShapeFileLayer'; target element is 'Windows.UI.Xaml.Controls.TextBlock' (Name='null'); target property is 'Text' (type 'String')
I'm not using those properties.
My Xaml:
<maps:SfMaps VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" x:Name="map">
<maps:SfMaps.Layers>
<maps:ShapeFileLayer Uri="XXX.shp" EnableSelection="True" x:Name="layers" ShapeSelected="ItemSelected"/>
</maps:SfMaps.Layers>
Am I missing something required for Windows Phone but optional for the other OS?
I did add the "new SfMapsRenderer();" on my MainPage.xaml.cs for my windows phone 8.1 projet.
Do you have any ideas why?
Sincerely,
Bastien