diff --git a/arcgis-ios-sdk-samples/Display information/Show legend/MILShowLegendViewController.swift b/arcgis-ios-sdk-samples/Display information/Show legend/MILShowLegendViewController.swift index e06d6473a..0384c406d 100644 --- a/arcgis-ios-sdk-samples/Display information/Show legend/MILShowLegendViewController.swift +++ b/arcgis-ios-sdk-samples/Display information/Show legend/MILShowLegendViewController.swift @@ -30,10 +30,6 @@ class MILShowLegendViewController: UIViewController, UIAdaptivePresentationContr // initialize the map self.map = AGSMap(basemapStyle: .arcGISTopographic) - // create tiled layer - let tiledLayer = AGSArcGISTiledLayer(url: URL(string: "https://services.arcgisonline.com/ArcGIS/rest/services/Specialty/Soil_Survey_Map/MapServer")!) - self.map.operationalLayers.add(tiledLayer) - // create a map image layer using a url let mapImageLayer = AGSArcGISMapImageLayer(url: URL(string: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer")!) // add the image layer to the map diff --git a/arcgis-ios-sdk-samples/Display information/Show legend/README.md b/arcgis-ios-sdk-samples/Display information/Show legend/README.md index 7745f93f1..6295f1162 100644 --- a/arcgis-ios-sdk-samples/Display information/Show legend/README.md +++ b/arcgis-ios-sdk-samples/Display information/Show legend/README.md @@ -4,7 +4,6 @@ Show a legend for all the operational layers in the map. ![Image of Show legend 1](show-legend-1.png) ![Image of Show legend 2](show-legend-2.png) -![Image of Show legend 3](show-legend-3.png) ## Use case diff --git a/arcgis-ios-sdk-samples/Display information/Show legend/README.metadata.json b/arcgis-ios-sdk-samples/Display information/Show legend/README.metadata.json index db9f11f34..f5dc5b7e0 100644 --- a/arcgis-ios-sdk-samples/Display information/Show legend/README.metadata.json +++ b/arcgis-ios-sdk-samples/Display information/Show legend/README.metadata.json @@ -4,8 +4,7 @@ "ignore": false, "images": [ "show-legend-1.png", - "show-legend-2.png", - "show-legend-3.png" + "show-legend-2.png" ], "keywords": [ "legend", @@ -15,16 +14,14 @@ "AGSLayerContent", "AGSLegendInfo" ], - "redirect_from": [ - "/ios/latest/swift/sample-code/show-legend.htm" - ], + "redirect_from": [], "relevant_apis": [ "AGSLayerContent", "AGSLegendInfo" ], "snippets": [ - "MILLegendTableViewController.swift", - "MILShowLegendViewController.swift" + "MILShowLegendViewController.swift", + "MILLegendTableViewController.swift" ], "title": "Show legend" } diff --git a/arcgis-ios-sdk-samples/Display information/Show legend/show-legend-1.png b/arcgis-ios-sdk-samples/Display information/Show legend/show-legend-1.png index ccc4df38e..10ac18ab2 100644 Binary files a/arcgis-ios-sdk-samples/Display information/Show legend/show-legend-1.png and b/arcgis-ios-sdk-samples/Display information/Show legend/show-legend-1.png differ diff --git a/arcgis-ios-sdk-samples/Display information/Show legend/show-legend-2.png b/arcgis-ios-sdk-samples/Display information/Show legend/show-legend-2.png index beebc4934..fc72903d6 100644 Binary files a/arcgis-ios-sdk-samples/Display information/Show legend/show-legend-2.png and b/arcgis-ios-sdk-samples/Display information/Show legend/show-legend-2.png differ diff --git a/arcgis-ios-sdk-samples/Display information/Show legend/show-legend-3.png b/arcgis-ios-sdk-samples/Display information/Show legend/show-legend-3.png deleted file mode 100644 index 8d93cd7fc..000000000 Binary files a/arcgis-ios-sdk-samples/Display information/Show legend/show-legend-3.png and /dev/null differ