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
Solved! Go to Solution.
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.
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.