ArcGISRuntime.WPF.Samples.AnalyzeHotspots.AnalyzeHotspots.Initialize C# (CSharp) Method

Initialize() private method

private Initialize ( ) : void
return void
        private void Initialize()
        {
            // Create a map with a topographic basemap
            Map myMap = new Map(Basemap.CreateTopographic());

            // Create a new geoprocessing task
            _hotspotTask = new GeoprocessingTask(new Uri(_hotspotUrl));

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