I am having a somewhat strange issue with MoveToRegion.
When I have a clean project with this code:
var newYork = new Position(40.7142700, -74.0059700);
var mapView = new TKCustomMap(MapSpan.FromCenterAndRadius(newYork, Distance.FromKilometers(2)));
mapView.MoveToRegion(MapSpan.FromCenterAndRadius(new Xamarin.Forms.Maps.Position(52.219147, 6.893663), Distance.FromMiles(3)).WithZoom(9));
With the code above, my map still stays in New York.
With this code, it goes to Enschede (the point I used in MoveToRegion)
var newYork = new Position(40.7142700, -74.0059700);
var mapView = new Xamarin.Forms.Maps.Map(MapSpan.FromCenterAndRadius(newYork, Distance.FromKilometers(2)));
mapView.MoveToRegion(MapSpan.FromCenterAndRadius(new Xamarin.Forms.Maps.Position(52.219147, 6.893663), Distance.FromMiles(3)).WithZoom(9));
Any idea why MoveToRegion isnt working?
Xamarin.Forms: v2.3.4.247
TK.CustomMap: v1.5.0
Xamarin.Forms.Maps: v3.3.193
Dear,
I am having a somewhat strange issue with MoveToRegion. When I have a clean project with this code:
With the code above, my map still stays in New York. With this code, it goes to Enschede (the point I used in MoveToRegion)
Any idea why MoveToRegion isnt working? Xamarin.Forms: v2.3.4.247 TK.CustomMap: v1.5.0 Xamarin.Forms.Maps: v3.3.193