Fixes a bug in Manage operational layers where removed layers would disappear after the popover was closed.
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)
swift/issues/5790
How To Test
Tap on the minus button to remove a layer
Tap on the plus button to re-add a removed layer.
Tap on the swap button to change which layer is rendered on top.
Description
This PR:
Manage operational layers
where removed layers would disappear after the popover was closed.Linked Issue(s)
swift/issues/5790
How To Test
Screenshots