Property OnlineOnlyServicesOption
OnlineOnlyServicesOption
Gets or sets a value describing how data that requires an online service will be handled when taking a map offline.
Declaration
public OnlineOnlyServicesOption OnlineOnlyServicesOption { get; set; }
Property Value
Type | Description |
---|---|
OnlineOnlyServicesOption | A value describing how data that requires an online service will be handled when taking a map offline. |
Remarks
Online layers and tables cannot be taken offline in the following situations:
- The layer or table is using a service that cannot be taken offline. For example, WmsLayer or WmtsLayer.
-
The layer or table is using a service that supports offline, such as an
ArcGISFeatureLayer, but synchronization has not been enabled on the service
(SupportsSync is set to
false
). Services utilize synchronization to take layers and tables offline and synchronize changes.
Online services that cannot be taken offline are referred to as online-only services. Online-only services require network connectivity and may involve authentication. Examples of online-only services include:
- Dynamic information, such as changing weather or traffic conditions, that delivers frequent and regular updates to the app.
- Large datasets that would be impractical to take offline to a device.
This property allows you to specify how online-only data will be handled when taking the map offline. There are three options:
- Exclude means that any data that cannot be taken offline will be omitted from the offline map. Choosing this option means that your offline map will not require a network connection but may not include all of the data from the original web map.
- Include means that data that cannot be taken offline will be accessed by URL in the offline map. Choosing this option means that your offline map will retain all of the information from the original web map but it will require a network connection and may require authentication.
- UseAuthoredSettings means that layers and tables will be taken offline, remain online or be omitted from the offline map according to the map author's intent as defined in the web map.
The default value is Exclude.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.9 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.9 - 200.6 |
Xamarin.Android | 100.9 - 100.15 |
Xamarin.iOS | 100.9 - 100.15 |
UWP | 100.9 - 200.6 |