diff --git a/GisDevelop_Exp/App.xaml.cs b/GisDevelop_Exp/App.xaml.cs index 9a13bca..94a747b 100644 --- a/GisDevelop_Exp/App.xaml.cs +++ b/GisDevelop_Exp/App.xaml.cs @@ -38,7 +38,7 @@ namespace GisDevelop_Exp // Initialize the ArcGIS Maps SDK runtime before any components are created. ArcGISRuntimeEnvironment.Initialize(config => config // .UseLicense("[Your ArcGIS Maps SDK license string]") - // .UseApiKey("[Your ArcGIS location services API key]") + .UseApiKey("AAPTxy8BH1VEsoebNVZXo8HurGPYSDOnAeIwA4pOmn4FxReGCVGizofL_NQAK3uvzuar2NmXR05j3u3x4g02LDdUvuS2vHqxHTPyUTYWgjjqXXiEBKefOwcK-XJXp68tFHTc0f6JAgnPMVNzfluXceV0TzpdU9OfkGsrTPtIAIwBB_jw0BKZT_c6Qa2RCP5J7gZSlOuuebJ4oo488So-4Lh0WrIObQPjmc5wsc7MxoWn6rg.AT1_A4CN5Ivr") .ConfigureAuthentication(auth => auth .UseDefaultChallengeHandler() // Use the default authentication dialog // .UseOAuthAuthorizeHandler(myOauthAuthorizationHandler) // Configure a custom OAuth dialog diff --git a/GisDevelop_Exp/MainWindow.xaml b/GisDevelop_Exp/MainWindow.xaml index da2a3a4..79ad402 100644 --- a/GisDevelop_Exp/MainWindow.xaml +++ b/GisDevelop_Exp/MainWindow.xaml @@ -11,6 +11,6 @@ - + diff --git a/GisDevelop_Exp/MapViewModel.cs b/GisDevelop_Exp/MapViewModel.cs index 59b4757..28c6304 100644 --- a/GisDevelop_Exp/MapViewModel.cs +++ b/GisDevelop_Exp/MapViewModel.cs @@ -27,7 +27,7 @@ namespace GisDevelop_Exp { InitialViewpoint = new Viewpoint(new Envelope(-180, -85, 180, 85, SpatialReferences.Wgs84)), #warning To use ArcGIS location services (including basemaps) specify your API Key access token or require the user to sign in using a valid ArcGIS account. - //Basemap = new Basemap(BasemapStyle.ArcGISStreets) + Basemap = new Basemap(BasemapStyle.ArcGISStreets) }; }