Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0100.4 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.4 - 200.8
Xamarin.Android100.4 - 100.15
Xamarin.iOS100.4 - 100.15
UWP100.4 - 200.8

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
TargetVersions
.NET Standard 2.0100.4 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.4 - 200.8
Xamarin.Android100.4 - 100.15
Xamarin.iOS100.4 - 100.15
UWP100.4 - 200.8

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
TargetVersions
.NET Standard 2.0100.11 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.11 - 200.8
Xamarin.Android100.11 - 100.15
Xamarin.iOS100.11 - 100.15
UWP100.11 - 200.8
In This Article
Back to top Copyright © 2022 Esri.