From fc161cb3278b85333d39ba07b1bde2b8d71eb641 Mon Sep 17 00:00:00 2001 From: Nathan Castle Date: Tue, 18 Sep 2018 19:31:14 -0700 Subject: [PATCH] Show labels on layer - service update This PR updates the *Show labels on layer* sample to use newer congressional data. --- .../Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.cs | 2 +- .../Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs | 2 +- .../Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs | 2 +- .../Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs | 2 +- .../Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Android/Xamarin.Android/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.cs b/src/Android/Xamarin.Android/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.cs index 76d6dd52a1..693653b0cf 100644 --- a/src/Android/Xamarin.Android/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.cs +++ b/src/Android/Xamarin.Android/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.cs @@ -49,7 +49,7 @@ private async void Initialize() _myMapView.Map = sampleMap; // Define the URL string for the feature layer. - string layerUrl = "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Congressional_Districts_analysis/FeatureServer/0"; + string layerUrl = "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_115th_Congressional_Districts/FeatureServer/0"; // Create a service feature table from the URL. ServiceFeatureTable featureTable = new ServiceFeatureTable(new System.Uri(layerUrl)); diff --git a/src/Forms/Shared/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs b/src/Forms/Shared/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs index 4a8e42c1b0..ca2618e866 100644 --- a/src/Forms/Shared/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs +++ b/src/Forms/Shared/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs @@ -41,7 +41,7 @@ private async void Initialize() MyMapView.Map = sampleMap; // Define the URL string for the feature layer. - string layerUrl = "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Congressional_Districts_analysis/FeatureServer/0"; + string layerUrl = "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_115th_Congressional_Districts/FeatureServer/0"; // Create a service feature table from the URL. ServiceFeatureTable featureTable = new ServiceFeatureTable(new System.Uri(layerUrl)); diff --git a/src/UWP/ArcGISRuntime.UWP.Viewer/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs b/src/UWP/ArcGISRuntime.UWP.Viewer/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs index b22af4e23b..93d304ec50 100644 --- a/src/UWP/ArcGISRuntime.UWP.Viewer/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs +++ b/src/UWP/ArcGISRuntime.UWP.Viewer/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs @@ -36,7 +36,7 @@ private async void Initialize() MyMapView.Map = sampleMap; // Define the URL string for the feature layer. - string layerUrl = "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Congressional_Districts_analysis/FeatureServer/0"; + string layerUrl = "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_115th_Congressional_Districts/FeatureServer/0"; // Create a service feature table from the URL. ServiceFeatureTable featureTable = new ServiceFeatureTable(new System.Uri(layerUrl)); diff --git a/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs b/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs index f7fc6bc123..1be5b10d66 100644 --- a/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs +++ b/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs @@ -36,7 +36,7 @@ private async void Initialize() MyMapView.Map = sampleMap; // Define the URL string for the feature layer. - string layerUrl = "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Congressional_Districts_analysis/FeatureServer/0"; + string layerUrl = "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_115th_Congressional_Districts/FeatureServer/0"; // Create a service feature table from the URL. ServiceFeatureTable featureTable = new ServiceFeatureTable(new System.Uri(layerUrl)); diff --git a/src/iOS/Xamarin.iOS/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.cs b/src/iOS/Xamarin.iOS/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.cs index 0110fffda6..8f194d2d09 100644 --- a/src/iOS/Xamarin.iOS/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.cs +++ b/src/iOS/Xamarin.iOS/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.cs @@ -64,7 +64,7 @@ private async void Initialize() _myMapView.Map = sampleMap; // Define the URL string for the feature layer. - string layerUrl = "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Congressional_Districts_analysis/FeatureServer/0"; + string layerUrl = "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_115th_Congressional_Districts/FeatureServer/0"; // Create a service feature table from the URL. ServiceFeatureTable featureTable = new ServiceFeatureTable(new System.Uri(layerUrl));