laptop and a wrench

Bug

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

Zuletzt veröffentlicht: January 23, 2018 ArcGIS Runtime SDK
Bug-ID-Nummer BUG-000106470
EingereichtJuly 11, 2017
Zuletzt geändertAugust 20, 2025
Gilt fürArcGIS Runtime SDK
Gefunden in Version10.2.7
BetriebssystemWindows OS
Betriebssystemversion10.0
Behoben in Version100.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);

Schritte zur Reproduzierung

Bug-ID: BUG-000106470

Software:

  • ArcGIS Runtime SDK

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln