Hello,
I have an application which has a Window with a sfmap in which I have a few coordinates marked.
for this I am using this code:
<syncfusion:SfMap x:Name="Map" ZoomLevel="1" MaxZoom="19" HorizontalAlignment="Left" Height="500" VerticalAlignment="Center" Width="1000" BorderBrush="Black" BorderThickness="1">
<syncfusion:SfMap.Layers>
<syncfusion:ImageryLayer Markers="{Binding Coordinates}" LayerType="OSM">
<syncfusion:ImageryLayer.MarkerTemplate>
<DataTemplate>
<Ellipse Height="10" Width="10" Stroke="White" Fill="Red"/>
What I am trying to accomplish is to when I start the application directly zoom to a coordinate on a zoomlevel of 9.
I have tried everything I could think of but couldn't find an answer to the question how this is possible.
Is there someone who has a sample code on how I can achieve this?
Kind Regards,
Rutger van Kempen