laptop and a wrench

Bug

System.ArgumentException when clicking a raster layer in an ArcGIS Runtime Windows Presentation Foundation (WPF) app.

Last Published: July 16, 2018 ArcGIS Runtime SDK
Bug ID Number BUG-000114022
SubmittedMay 16, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.2.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

Change the basemap rather than the view. In the reproducer, the following code should replace what is in the OnBasemapChooserSelectionChanged method: ``` // Get the title of the selected basemap var selectedBasemapTtile = e.AddedItems[0].ToString(); // Retrieve the basemap from the dictionary var basemap = _basemapOptions[selectedBasemapTtile]; if (MyMapView.Map != null) { MyMapView.Map.Basemap = basemap; MyMapView.SetViewpointAsync(new Viewpoint(basemap.BaseLayers[0].FullExtent)); } else { MyMapView.Map = new Map(basemap); } ```

Steps to Reproduce

Bug ID: BUG-000114022

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options