GenerateOfflineMapParameterOverrides class final
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.withLayer,
OfflineMapParametersKey.withTable, 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.
- Implemented types
Properties
-
exportTileCacheParameters
→ Map<
OfflineMapParametersKey, ExportTileCacheParameters> -
The Map with keys of
OfflineMapParametersKey
and values ofExportTileCacheParameters
.no setter -
exportVectorTilesParameters
→ Map<
OfflineMapParametersKey, ExportVectorTilesParameters> -
The Map with keys of
OfflineMapParametersKey
and values ofExportVectorTilesParameters
.no setter -
generateGeodatabaseParameters
→ Map<
OfflineMapParametersKey, GenerateGeodatabaseParameters> -
The Map with keys of
OfflineMapParametersKey
and values ofGenerateGeodatabaseParameters
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
onlineLayers
→ List<
Layer> -
This list indicates layers that will not be taken offline and will
continue to reference online services.
no setter
-
onlineTables
→ List<
ServiceFeatureTable> -
This list indicates tables that will not be taken offline and will
continue to reference online services.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited