private void SetSceneViewBinding_Click(object sender, RoutedEventArgs e)
        {
            MyMapView.Visibility   = Visibility.Collapsed;
            MySceneView.Visibility = Visibility.Visible;
            Binding geoviewBinding = new Binding();

            geoviewBinding.Source = MySceneView;
            BookmarksView.SetBinding(UI.Controls.BookmarksView.GeoViewProperty, geoviewBinding);
        }
Exemplo n.º 2
0
        private void SetSceneViewBinding_Click(object sender, EventArgs e)
        {
            MyMapView.IsVisible   = false;
            MySceneView.IsVisible = true;
            Binding geoviewBinding = new Binding();

            geoviewBinding.Source = MySceneView;
            BookmarksView.SetBinding(Esri.ArcGISRuntime.Toolkit.Xamarin.Forms.BookmarksView.GeoViewProperty, geoviewBinding);
        }
Exemplo n.º 3
0
        private void SetSceneViewBinding_Click(object sender, EventArgs e)
        {
            if (_viewContainer.Children.Contains(MySceneView) == false)
            {
                _viewContainer.Children.Add(MySceneView);
            }
            if (_viewContainer.Children.Contains(MyMapView))
            {
                _viewContainer.Children.Remove(MyMapView);
            }
            Binding geoviewBinding = new Binding();

            geoviewBinding.Source = MySceneView;
            BookmarksView.SetBinding(Esri.ArcGISRuntime.Toolkit.Xamarin.Forms.BookmarksView.GeoViewProperty, geoviewBinding);
        }