Offline Map Parameters Key
Create an offline map parameters key for the given layer. Layers that are supported for offline use are:
com.arcgismaps.mapping.layers.FeatureLayer with a table which is a com.arcgismaps.data.ServiceFeatureTable
com.arcgismaps.mapping.layers.ArcGISTiledLayer with an online URL
com.arcgismaps.mapping.layers.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 parameter overrides dictionaries. The dictionary that the key is valid for is indicated by its OfflineMapParametersKey.type property: | Parameter Type | Dictionary | |-------------------------------------------------|---------------------------------------------------------------------------| | OfflineMapParametersType.GenerateGeodatabase | GenerateOfflineMapParameterOverrides.generateGeodatabaseParameters | | OfflineMapParametersType.ExportVectorTiles | GenerateOfflineMapParameterOverrides.exportVectorTilesParameters | | OfflineMapParametersType.ExportTileCache | GenerateOfflineMapParameterOverrides.exportTileCacheParameters | If the layer type is not supported an error is returned with a null handle
Since
200.1.0
Parameters
layer that is to be used to access dictionaries in GenerateOfflineMapParameterOverrides object.
Create an offline map parameters key for the given table. The returned key can be used to retrieve a data type specific parameter object from the dictionary returned by GenerateOfflineMapParameterOverrides.generateGeodatabaseParameters.
Since
200.1.0
Parameters
table that is to be used to access dictionaries in GenerateOfflineMapParameterOverrides object.
Create an offline map parameters key for the specified com.arcgismaps.utilitynetworks.UtilityNetwork. An com.arcgismaps.utilitynetworks.UtilityNetwork with URI that points to a feature service which returns true for com.arcgismaps.arcgisservices.SyncCapabilities.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 GenerateOfflineMapParameterOverrides.generateGeodatabaseParameters.
If the com.arcgismaps.utilitynetworks.UtilityNetwork does not support taking Utility Network data offline, an error is returned with a null handle.
Since
200.1.0
Parameters
com.arcgismaps.utilitynetworks.UtilityNetwork that is to be used to access dictionaries in GenerateOfflineMapParameterOverrides object.