ArcGISRuntime.WPF.Samples.AnalyzeViewshed.AnalyzeViewshed.Initialize C# (CSharp) Метод

Initialize() приватный Метод

private Initialize ( ) : void
Результат void
        private void Initialize()
        {
            // Create a map with topographic basemap and an initial location
            Map myMap = new Map(BasemapType.Topographic, 45.3790902612337, 6.84905317262762, 13);

            // Hook into the tapped event
            MyMapView.GeoViewTapped += OnMapViewTapped;

            // Create empty overlays for the user clicked location and the results of the viewshed analysis
            CreateOverlays();

            // Assign the map to the MapView
            MyMapView.Map = myMap;
        }