I am displaying a small map that is centered on a map marker as a result of Geolocation to an address. Here is the XAML for the map:
<map:SfMaps EnablePanning="True"
EnableZooming="True"
ZoomLevel="15">
<map:SfMaps.Layers>
<map:ImageryLayer BingMapKey="[redacted]"
BingMapStyle="Road"
GeoCoordinates="{Binding WorksiteGeoCoordinates}"
LayerType="Bing">
<map:ImageryLayer.Markers>
<map:MapMarker Latitude="{Binding WorksiteLatitude}"
Longitude="{Binding WorksiteLongitude}" />
</map:ImageryLayer.Markers>
</map:ImageryLayer>
</map:SfMaps.Layers>
</map:SfMaps>
WorksiteGeoCoordinates is declared in the ViewModel as a Xamarin.Forms.Point value:
public Point WorksiteGeoCoordinates
On Android, this works beautifully and the map interaction is smooth and generally works as expected. On iOS, however, the map loads in the center of the Atlantic Ocean and the zooming and panning is generally unusable; the viewport jumps back and forth and I cannot pan even by hand to the location where the map marker is placed. This behavior occurs both in the Simulator and on a physical iOS device.
I am using SfMaps package version 19.1.0.54