sfMaps not showed on IOS but working on android

Hello, i have a new problem:

maps is showed on android project while not in IOS part;


this is code:


<maps:SfMaps x:Name="sfmap" ZoomLevel="10" Tapped="sfmap_Tapped" >

<maps:SfMaps.Layers>

<maps:ImageryLayer LayerType="OSM" x:Name="imagerylayer" ResetOnDoubleTap="False">

<maps:ImageryLayer.Sublayers>

<maps:ShapeFileLayer x:Name="shapeLayer" ShapeType="Polyline">

<maps:ShapeFileLayer.Points>

</maps:ShapeFileLayer.Points>

<maps:ShapeFileLayer.ShapeSettings>

<maps:ShapeSetting x:Name="settings" ShapeStrokeThickness="3" ShapeStroke="#00A0FF" >

</maps:ShapeSetting>

</maps:ShapeFileLayer.ShapeSettings>

 </maps:ShapeFileLayer>

 </maps:ImageryLayer.Sublayers>

<maps:ImageryLayer.MarkerTemplate>

 <DataTemplate>

 <Image x:Name="markerImage"

HorizontalOptions="Center"

Source="{Binding Image}"

VerticalOptions="Center"

HeightRequest="25"

WidthRequest="25" />

</DataTemplate>

</maps:ImageryLayer.MarkerTemplate>

</maps:ImageryLayer>

</maps:SfMaps.Layers>

</maps:SfMaps>




I have tried with more simple code:

<maps:SfMaps ZoomLevel="3">

<maps:SfMaps.Layers>

<maps:ImageryLayer x:Name="layer" GeoCoordinates="51.509,-0.1180">

<maps:ImageryLayer.Markers>

<maps:MapMarker Label="London"

Latitude="51.509"

Longitude= "-0.1180"/>

</maps:ImageryLayer.Markers>

</maps:ImageryLayer>

</maps:SfMaps.Layers>

</maps:SfMaps>


but same thing, ios display only blank screen.


Can you help me?


sfmap is the latest version from nuget: 20.1.0.57


2 Replies


ET Eswaran Thirugnanasambandam Syncfusion Team May 25, 2022 09:18 AM UTC

We are glad to hear that you have achieved your requirement. Please get in touch with us if you require any further assistance.


Loader.
Up arrow icon