Select to view content in your preferred language

Update on offline map areas

207
1
Jump to solution
3 weeks ago
mmoosbac94
Emerging Contributor

Hello,

could anyone explain the best way to detect updates for Offline Map Areas (PreplannedMapArea)?

In our case, an “update” means that a web map’s offline area has changed—for example, layers have been added, removed, or updated. Then in the app we would like to compare downloaded date against the last modified date of offline map area in portal.

We are using the ArcGIS Swift Toolkit’s OfflineMapAreasView component and would like to extend it with update detection functionality.

Our initial approach was to rely on PreplannedMapArea / PortalItem modificationDate. However, this appears to reflect changes to an element called "VectorTileServe" (I believe its information related to the basemap) rather than changes to the actual operational layers etc. included in the offline map area.

Is this the correct approach, or is there a better way to detect meaningful updates to a preplanned offline map area? For example, would OfflineMapSyncTask be appropriate for this use case, or is there another recommended mechanism to determine whether an offline map area has changed on the server side?

Thank you!
Marvin

0 Kudos
1 Solution

Accepted Solutions
Destiny_Hochhalter
Esri Contributor

Hi Marvin,

The `OfflineMapAreasView` Toolkit component will have support in our next release to sync the offline map areas with online feature service updates. Here is documentation on DownloadPreplannedOfflineMapParameters.UpdateMode which defines how updates are obtained for a preplanned offline map area.

View solution in original post

1 Reply
Destiny_Hochhalter
Esri Contributor

Hi Marvin,

The `OfflineMapAreasView` Toolkit component will have support in our next release to sync the offline map areas with online feature service updates. Here is documentation on DownloadPreplannedOfflineMapParameters.UpdateMode which defines how updates are obtained for a preplanned offline map area.