GenerateOfflineMapParameterOverrides

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. 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, OfflineMapParametersKey.OfflineMapParametersKey, or OfflineMapParametersKey.OfflineMapParametersKey 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 com.arcgismaps.tasks.geodatabase.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 com.arcgismaps.mapping.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

Link copied to clipboard

The Map with keys of OfflineMapParametersKey and values of com.arcgismaps.tasks.tilecache.ExportTileCacheParameters. All entries in the dictionary should correspond to com.arcgismaps.mapping.layers.ArcGISTiledLayer instances in the online com.arcgismaps.mapping.ArcGISMap. If a dictionary entry is removed the corresponding layers will be removed from the offline map without raising an error.

Link copied to clipboard

The Map with keys of OfflineMapParametersKey and values of com.arcgismaps.tasks.exportvectortiles.ExportVectorTilesParameters. All entries in the dictionary should correspond to com.arcgismaps.mapping.layers.ArcGISVectorTiledLayer instances in the online com.arcgismaps.mapping.ArcGISMap. If a dictionary entry is removed the corresponding layers will be removed from the offline map without raising an error.

Link copied to clipboard

The Map with keys of OfflineMapParametersKey and values of com.arcgismaps.tasks.geodatabase.GenerateGeodatabaseParameters. All entries in the dictionary should correspond to com.arcgismaps.mapping.layers.FeatureLayer, com.arcgismaps.data.ServiceFeatureTable, or com.arcgismaps.utilitynetworks.UtilityNetwork instances in the online com.arcgismaps.mapping.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.

Link copied to clipboard

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 com.arcgismaps.mapping.layers.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.

Link copied to clipboard

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 com.arcgismaps.data.ServiceFeatureTable, you can benefit from the most up-to-date information.