Esri / arcgis-maps-sdk-swift-samples

SwiftUI samples demonstrating various capabilities of ArcGIS Maps SDK for Swift
https://developers.arcgis.com/swift
Apache License 2.0
30 stars 9 forks source link

[Fix] Refactor `Manage operational layers` #478

Closed CalebRas closed 1 month ago

CalebRas commented 1 month ago

Description

This PR:

  1. Fixes a bug in Manage operational layers where removed layers would disappear after the popover was closed.
  2. Refactors the sample since it has been a problem child since day one. I replaced the drag to reorder functionality (which was a large source of the issues) with a swap button. Hopefully, this implementation fares better going forward.

Linked Issue(s)

How To Test

Screenshots

Before After
Simulator Screenshot - iPhone 15 Pro - 2024-07-25 at 12 18 01 manage-operational-layers-1
CalebRas commented 1 month ago

Thank you!