Esri / arcgis-maps-sdk-swift-toolkit

Mapping components that will simplify your Swift app development with the ArcGIS Maps SDK for Swift.
https://developers.arcgis.com/swift
Apache License 2.0
25 stars 7 forks source link

List preplanned map areas #723

Closed des12437 closed 1 month ago

des12437 commented 2 months ago

Related to swift/5309

rolson commented 1 month ago

Should the thumbnails have slightly rounded corners?

image

If none of the items are currently "Packaging" then does the refresh button do anything?

image

Can you show me what the list item looks like for a packaging area?

rolson commented 1 month ago

Can you show me what the list item looks like for a packaging area?

Nevermind, I was able to modify the code to see it.

image

This doesn't look great because the packaging text takes up too much room and crowds the cell. I have another idea that I can propose.

des12437 commented 1 month ago

If none of the items are currently "Packaging" then does the refresh button do anything?

The refresh button will reload the preplanned map areas list by accessing the offlineMapTask.preplannedMapAreas, so if none of the areas are currently packaging, reload could be useful in the cases where an error occurred the first time the view loaded, or in the case where additional preplanned map areas are added, deleted, or recreated on ArcGIS Online.

des12437 commented 1 month ago

Should the thumbnails have slightly rounded corners?

Yes, I added a small corner radius.