Constructor OfflineMapParametersKey
OfflineMapParametersKey(Layer)
Initializes a new instance of the OfflineMapParametersKey class for the given layer.
Declaration
public OfflineMapParametersKey(Layer layer)
Parameters
Type | Name | Description |
---|---|---|
Layer | layer | Layer that is to be used to access dictionaries in the GenerateOfflineMapParameterOverrides object. |
Remarks
Layers that are supported for offline use are:
- FeatureLayer with a table which is a ServiceFeatureTable.
- ArcGISTiledLayer with an online URL.
- ArcGISVectorTiledLayer with an online URL.
To construct a key the layer must be loaded, or if not loaded have a service URL available in the layer's properties. The returned key can be used to retrieve a data type specific parameters object from one of the three parameters overrides dictionaries. The dictionary that the key is valid for is indicated by its Type property:
Parameter Type | Dictionary |
---|---|
GenerateGeodatabase | GenerateGeodatabaseParameters |
ExportVectorTiles | ExportVectorTilesParameters |
ExportTileCache | ExportTileCacheParameters |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.4 - 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.4 - 200.5 |
Xamarin.Android | 100.4 - 100.15 |
Xamarin.iOS | 100.4 - 100.15 |
UWP | 100.4 - 200.5 |
OfflineMapParametersKey(ServiceFeatureTable)
Initializes a new instance of the OfflineMapParametersKey class for the given table.
Declaration
public OfflineMapParametersKey(ServiceFeatureTable table)
Parameters
Type | Name | Description |
---|---|---|
ServiceFeatureTable | table | Table that is to be used to access dictionaries in the GenerateOfflineMapParameterOverrides object. |
Remarks
The returned key can be used to retrieve a data type specific parameter object from the dictionary returned by GenerateGeodatabaseParameters.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.4 - 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.4 - 200.5 |
Xamarin.Android | 100.4 - 100.15 |
Xamarin.iOS | 100.4 - 100.15 |
UWP | 100.4 - 200.5 |
OfflineMapParametersKey(UtilityNetwork)
Initializes a new instance of the OfflineMapParametersKey class for the specified UtilityNetwork.
Declaration
public OfflineMapParametersKey(UtilityNetwork utilityNetwork)
Parameters
Type | Name | Description |
---|---|---|
UtilityNetwork | utilityNetwork | UtilityNetwork that is to be used to access dictionaries in GenerateOfflineMapParameterOverrides object. |
Remarks
A UtilityNetwork with URI that points to a feature service which returns true
for
SupportsUtilityNetworkSystem is supported for offline use.
The returned key can be used to retrieve a data type specific parameter object from the dictionary returned by GenerateGeodatabaseParameters.
If the UtilityNetwork does not support taking Utility Network data offline, an error is returned.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 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.11 - 200.5 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 200.5 |