Closed rizaanlakay closed 6 years ago
I know that map.padding can be used to offset the centre of the map. Any idea how I can offset the center of map when I am using the camera? Padding doesnt offset properly when using a Camera with a tilt.
eg. map.AnimateCamera(CameraUpdateFactory.NewCameraPosition(new CameraPosition(new Xamarin.Forms.GoogleMaps.Position(pos1.Value.Latitude, pos1.Value.Longitude), 17d, bearing, 80d)));
I'm trying to get a view with a 80d tilt, but offset the centre point a bit further down the screen. Kind of like a navigation app does.
Could you try Map.Padding property?
Map.Padding
I know that map.padding can be used to offset the centre of the map. Any idea how I can offset the center of map when I am using the camera? Padding doesnt offset properly when using a Camera with a tilt.
eg. map.AnimateCamera(CameraUpdateFactory.NewCameraPosition(new CameraPosition(new Xamarin.Forms.GoogleMaps.Position(pos1.Value.Latitude, pos1.Value.Longitude), 17d, bearing, 80d)));
I'm trying to get a view with a 80d tilt, but offset the centre point a bit further down the screen. Kind of like a navigation app does.