ArcGISRuntime.UWP.Samples.AddGraphicsRenderer.AddGraphicsRenderer.Initialize C# (CSharp) Method

Initialize() private method

private Initialize ( ) : void
return void
        private void Initialize()
        {
            // Create a map with 'Imagery with Labels' basemap and an initial location
            Map myMap = new Map(BasemapType.ImageryWithLabels, 34.056295, -117.195800, 14);

            // Create graphics when MapView's viewpoint is initialized
            MyMapView.ViewpointChanged += OnViewpointChanged;

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