I have a MapRenderer that I'm editing directly:
` protected override void OnElementChanged(ElementChangedEventArgs e) {
base.OnElementChanged(e);
var gptMap = (GPTMap)e.NewElement;
if (gptMap != null) {
var mapView = (MapView)Control;
map = mapView.Map;
map.MapType = GoogleMap.MapTypeHybrid;
map.UiSettings.ZoomControlsEnabled = false;
}
}`
I add a marker to the map and set the camera as well to the same location:
map.MoveCamera(CameraUpdateFactory.NewLatLng(llArray[0]));
map.AddMarker(new MarkerOptions().SetPosition(llArray[0]).SetTitle("hi"));
For a fraction of a second, I see the map positioned over my marker, but then it jumps back to Rome. If I scroll manually back to the location of the marker, I see it is still there but for some reason the camera position seems to be overridden.
Does anyone have idea why this could happen? (Camera doesn't show user location and after setting the marker no other custom code is called on the map)