Property UpdateCapabilities
UpdateCapabilities
Gets a value that describes the methods for obtaining updates that are supported for this preplanned map area.
Declaration
public OfflineMapUpdateCapabilities UpdateCapabilities { get; }
Property Value
Type | Description |
---|---|
OfflineMapUpdateCapabilities | Describes the methods for obtaining updates that are supported for this preplanned map area. |
Remarks
There are two approaches for updating the features in a preplanned offline map area:
- Syncing directly with feature services.
- Downloading scheduled updates (or update packages) from the online map area.
Choose the approach that best suits your workflow, then select the appropriate UpdateMode. For more details on how to update an offline map, see the OfflineMapSyncTask.
If SupportsSyncWithFeatureServices is true
, you can
sync directly with feature services. This mode gives you full control over when you
upload and download changes. However, performing a download sync places significant load
on the backing feature service, so this approach does not scale well for very large
deployments. Set the UpdateMode to
SyncWithFeatureServices to use this approach.
If SupportsScheduledUpdatesForFeatures is true
, you can
download read-only update packages from the online map area. Updates are prepared on a
regular schedule and cached for download by all users of the offline map area. Sharing a
single set of cached updates, rather than performing individual sync operations, reduces
the load on the back-end services. This approach is scalable for large deployments but
does not support offline editing. Set the
UpdateMode to
DownloadScheduledUpdates to use this approach.
Note that scheduled updates is an optimization that must be enabled by the web map author when the map area is created.
If both of the above OfflineMapUpdateCapabilities are true
, and the feature services
in your online map support creating new features, you can adopt a hybrid update model
where you download read-only update packages while uploading new features directly to
the feature service. This approach combines the scalability of downloading scheduled
updates with the ability to collect data in the field. However, note that this approach
is strictly add only, meaning that you cannot delete or edit features once they have
been uploaded to the feature service. Set the
UpdateMode to
DownloadScheduledUpdatesAndUploadNewFeatures to use this
approach.
This property will return null
until the preplanned map area is loaded.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.6 - 200.5 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.5 |