* Move to region on layout change
* remove visibility check
else if (changed)
{
UpdateVisibleRegion(NativeMap.CameraPosition.Target);
+ MoveToRegion(Element.LastMoveToRegion, false);
}
}
UpdateHasScrollEnabled();
else if (e.PropertyName == Map.HasZoomEnabledProperty.PropertyName)
UpdateHasZoomEnabled();
- else if (e.PropertyName == VisualElement.IsVisibleProperty.PropertyName && ((Map)Element).LastMoveToRegion != null)
+ else if (e.PropertyName == VisualElement.HeightProperty.PropertyName && ((Map)Element).LastMoveToRegion != null)
_shouldUpdateRegion = true;
}