OfflineMapParametersKey class final

A key comprising of a service URL and type of an online service. The key is used to lookup values in a dictionary exposed by a GenerateOfflineMapParameterOverrides.

GenerateOfflineMapParameterOverrides consist of instances of data type specific parameters GenerateGeodatabaseParameters, ExportTileCacheParameters and ExportVectorTilesParameters. Each instance is associated with the service URL that the parameters will be sent to when taking the given data offline. The data type specific parameters can be retrieved from their respective dictionaries on GenerateOfflineMapParameterOverrides with an instance of OfflineMapParametersKey. A key instance for a particular layer can be constructed by calling OfflineMapParametersKey.withLayer. For a table, call OfflineMapParametersKey.withTable. For a utility network, call OfflineMapParametersKey.OfflineMapParametersKey(UtilityNetwork). Use the key with the dictionary returned by one of these properties: GenerateOfflineMapParameterOverrides.generateGeodatabaseParameters, GenerateOfflineMapParameterOverrides.exportVectorTilesParameters, GenerateOfflineMapParameterOverrides.exportTileCacheParameters. The particular dictionary property will be determined by the 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 and tables which all access the same underlying feature service.

Implemented types

Constructors

OfflineMapParametersKey.withLayer(Layer layer)
Create an offline map parameters key for the given layer.
factory
OfflineMapParametersKey.withTable(ServiceFeatureTable table)
Create an offline map parameters key for the given table.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceUri Uri?
Service URL of this key.
no setter
type OfflineMapParametersType
The parameter type of this key.
no setter

Methods

clone() OfflineMapParametersKey
Clones the OfflineMapParametersKey.
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.
override