From 3b7526cfde23fdf1bb670876fe392040180b4208 Mon Sep 17 00:00:00 2001 From: Denver Pierce Date: Wed, 1 Jul 2015 00:15:55 -0500 Subject: [PATCH] Change default ArcGIS Imagery Providers to not allow picking. --- .../createDefaultImageryProviderViewModels.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Source/Widgets/BaseLayerPicker/createDefaultImageryProviderViewModels.js b/Source/Widgets/BaseLayerPicker/createDefaultImageryProviderViewModels.js index 2560caeed243..2787ff53e2ba 100644 --- a/Source/Widgets/BaseLayerPicker/createDefaultImageryProviderViewModels.js +++ b/Source/Widgets/BaseLayerPicker/createDefaultImageryProviderViewModels.js @@ -71,7 +71,8 @@ i-cubed Nationwide Prime, Getmapping, AeroGRID, IGN Spain, and IGP Portugal. Ad contributed by the GIS User Community.\nhttp://www.esri.com', creationFunction : function() { return new ArcGisMapServerImageryProvider({ - url : '//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer' + url : '//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer', + enablePickFeatures : false }); } })); @@ -86,7 +87,8 @@ Chile, Colombia, and Venezuela; Ghana; and parts of southern Africa including Bo http://www.esri.com', creationFunction : function() { return new ArcGisMapServerImageryProvider({ - url : '//services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer' + url : '//services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer', + enablePickFeatures : false }); } })); @@ -100,7 +102,8 @@ for informational and educational purposes as well as a basemap by GIS professio mapping applications.\nhttp://www.esri.com', creationFunction : function() { return new ArcGisMapServerImageryProvider({ - url : '//services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/' + url : '//services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/', + enablePickFeatures : false }); } }));