Generate Offline Map Parameter Overrides
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. 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 parameter overrides allow 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 the overall map settings in GenerateOfflineMapParameters by calling OfflineMapTask.createGenerateOfflineMapParameterOverrides(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 GenerateOfflineMapParameterOverrides.generateGeodatabaseParameters, GenerateOfflineMapParameterOverrides.exportTileCacheParameters and GenerateOfflineMapParameterOverrides.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. The OfflineMapParametersKey.OfflineMapParametersKey(Layer), OfflineMapParametersKey.OfflineMapParametersKey(ServiceFeatureTable), or OfflineMapParametersKey.OfflineMapParametersKey(UtilityNetwork) can be used to construct a key given its respective layer, table, or utility network. The returned key can be used to look up a value in a dictionary. The type of dictionary is indicated by the key's OfflineMapParametersKey.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 and table instances in the online ArcGISMap. If a dictionary entry is removed the corresponding layers or tables will be removed from the offline map without raising an error.
Since
200.1.0
Properties
The MutableDictionaryImpl with keys of OfflineMapParametersKey and values of ExportTileCacheParameters. All entries in the dictionary should correspond to ArcGISTiledLayer instances in the online ArcGISMap. If a dictionary entry is removed the corresponding layers will be removed from the offline map without raising an error.
The MutableDictionaryImpl with keys of OfflineMapParametersKey and values of ExportVectorTilesParameters. All entries in the dictionary should correspond to ArcGISVectorTiledLayer instances in the online ArcGISMap. If a dictionary entry is removed the corresponding layers will be removed from the offline map without raising an error.
The MutableDictionaryImpl with keys of OfflineMapParametersKey and values of GenerateGeodatabaseParameters. All entries in the dictionary should correspond to FeatureLayer, ServiceFeatureTable, or UtilityNetwork instances in the online ArcGISMap. If a dictionary entry is removed the corresponding layers, tables, or utility network will be removed from the offline map without raising an error.
This list indicates layers that will not be taken offline and will continue to reference online services. In some situations, you may wish to prevent a layer from being taken offline even though it is supported. For example, by continuing to reference the live online service for a FeatureLayer, you can benefit from the most up-to-date information. You can choose to keep layers from the map's operational layers or basemap layers collections online.
This list indicates tables that will not be taken offline and will continue to reference online services. In some situations, you may wish to prevent a non-spatial table from being taken offline even though it is supported. For example, by continuing to reference the live online ServiceFeatureTable, you can benefit from the most up-to-date information.