Exemple #1
0
        private async void MyMapOnTargetViewChanged(object sender, TargetViewChangedEventArgs targetViewChangedEventArgs)
        {
            if (_positionChangeDetectionActive)
            {
                _positionChangeDetectionActive = false;

                var bounds = myMap.TargetBounds;
                await ViewModel.DownloadInfoAsync(bounds.South, bounds.West, bounds.North, bounds.East);
            }
        }
Exemple #2
0
        private void MyMapOnTargetViewChanged(object sender, TargetViewChangedEventArgs targetViewChangedEventArgs)
        {
            var bounds = myMap.TargetBounds;

            ViewModel.SetLongLatRectangle(bounds.South, bounds.West, bounds.North, bounds.East);
        }