XamMapz.Map.OnRegionChanged C# (CSharp) Method

OnRegionChanged() private static method

private static OnRegionChanged ( BindableObject bindable, object oldValue, object newValue ) : void
bindable BindableObject
oldValue object
newValue object
return void
        private static void OnRegionChanged(BindableObject bindable, object oldValue, object newValue)
        {
            if (oldValue == newValue)
                return;

            var map = (Map)bindable;
            map.OnPropertyChanged(nameof(Center));
        }