Class GenerateOfflineMapParameterOverrides
Class that gives access to the individual parameters objects that will generate the various geodatabase, vector tile and tile cache packages that make up the data of an offline map.
Inheritance
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GenerateOfflineMapParameterOverrides
Remarks
This object allows the user more fine-grained control over the generation of an offline map than the options presented in the standard GenerateOfflineMapParameters. For example, the parameters overrides allows the user to adjust specific layers so that they: use a different spatial extent or scale range; use custom attribute or geometry settings; are omitted from the download. An instance of this object can be created from overall map settings in GenerateOfflineMapParameters by calling CreateGenerateOfflineMapParameterOverridesAsync(GenerateOfflineMapParameters). This object gives access to the individual parameter objects via three dictionaries containing generate geodatabase parameters, export tile cache parameters and export vector tile parameters. These can be accessed using GenerateGeodatabaseParameters, ExportTileCacheParameters and ExportVectorTilesParameters respectively. The dictionaries contain the various parameters objects mapped against an OfflineMapParametersKey. An OfflineMapParametersKey represents the service that a particular parameters object is intended for. OfflineMapParametersKey(Layer), OfflineMapParametersKey(ServiceFeatureTable), or OfflineMapParametersKey(UtilityNetwork) can be used to construct a key given its respective layer, table, or utility network. The returned key can be used to extract the dictionary. The type of dictionary is indicated by the key's Type property. Note that a given parameters key/value pair may be shared by multiple layers in the map: for example a single GenerateGeodatabaseParameters could represent the online settings for multiple feature layers that all access the same underlying feature service.
All entries in the dictionaries should correspond to layers, table, or utility network instances in the OnlineMap. If a dictionary entry is removed the corresponding layers, tables, or utility network will be removed from the offline map without raising an error.
Properties
Name | Description |
---|---|
ExportTileCacheParameters | Gets the dictionary with keys of OfflineMapParametersKey and values of ExportTileCacheParameters. |
ExportVectorTilesParameters | Gets the dictionary with keys of OfflineMapParametersKey and values of ExportVectorTilesParameters. |
GenerateGeodatabaseParameters | Gets the dictionary with keys of OfflineMapParametersKey and values of GenerateOfflineMapParameters. |
OnlineLayers | Gets a mutable list of layers that will not be taken offline and will continue to reference online services. |
OnlineTables | Gets a mutable list of tables that will not be taken offline and will continue to reference online services. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.4 - 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.4 - 200.6 |
Xamarin.Android | 100.4 - 100.15 |
Xamarin.iOS | 100.4 - 100.15 |
UWP | 100.4 - 200.6 |