laptop and a wrench

Bug

The LayerCollection.Move() method errors out "SystemArgumentOutOfRangeException" while reordering the layers.

Last Published: January 23, 2018 ArcGIS Runtime SDK
Bug ID Number BUG-000106470
SubmittedJuly 11, 2017
Last ModifiedAugust 20, 2025
Applies toArcGIS Runtime SDK
Version found10.2.7
Operating SystemWindows OS
Operating System Version10.0
Version Fixed100.2
StatusFixed

Workaround

SpatialMap.Layers.Move(existingIndex, newIndex); // comment the above line and uncomment the below two lines do throw exceptions but the program doesn't crash // SpatialMap.Layers.RemoveAt(existingIndex); // SpatialMap.Layers.Insert(newIndex, layer);

Steps to Reproduce

Bug ID: BUG-000106470

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