StaticcommonA promise that the layer configuration has its metadata processed.
StaticcommonThis method validates recursively the configuration of the layer entries to ensure that it is a feature layer identified with a numeric layerId and creates a group entry when a layer is a group.
The ESRI layer instance pointer.
The list of layer entries configuration to validate.
StaticesriReturns the domain of the specified field.
The ESRI layer config
field name for which we want to get the domain.
The domain of the field.
StaticesriReturns the type of the specified field.
The ESRI layer config
field name for which we want to get the type.
The type of the field.
StaticesriTransforms the query results of an Esri service response - when not querying on the Layers themselves (giving a 'reduced' FeatureInfoEntry).
The transformation reads the Esri formatted information and return a list of TypeFeatureInfoEntryPartial records.
In a similar fashion and response object as the "Query Feature Infos" functionalities done via the Layers.
The records representing the data from Esri.
OptionalgeometryType: Optional, the geometry type.
TypeFeatureInfoEntryPartial[] An array of relared records of type TypeFeatureInfoEntryPartial
StaticesriAsynchronously queries an Esri feature layer given the url and returns an array of TypeFeatureInfoEntryPartial records.
An Esri url indicating a feature layer to query
OptionalgeometryType: The geometry type for the geometries in the layer being queried (used when geometries are returned)
A boolean to indicate if we use the raw esri output or if we parse it, defaults to true.
An array of relared records of type TypeFeatureInfoEntryPartial, or an empty array.
StaticesriAsynchronously queries an Esri feature layer given the url and object ids and returns an array of TypeFeatureInfoEntryPartial records.
An Esri url indicating a feature layer to query
The geometry type for the geometries in the layer being queried (used when returnGeometry is true)
The list of objectids to filter the query on
The list of field names to include in the output
True to return the geometries in the output
OptionaloutSR: numberThe spatial reference of the output geometries from the query
OptionalmaxOffset: numberThe max allowable offset value to simplify geometry
A boolean to indicate if we use the raw esri output or if we parse it
An array of relared records of type TypeFeatureInfoEntryPartial, or an empty array.
StaticesriAsynchronously queries an Esri relationship table given the url and returns an array of TypeFeatureInfoEntryPartial records.
An Esri url indicating a relationship table to query
The group index of the relationship layer on which to read the related records
A promise of an array of relared records of type TypeFeatureInfoEntryPartial.
StaticqueryAsynchronously queries an Esri feature layer given the url and returns an array of TypeFeatureInfoEntryPartial records.
An Esri url indicating a feature layer to query
An array of relared records of type TypeFeatureInfoEntryPartial, or an empty array.
StaticqueryAsynchronously queries an Esri relationship table given the url and returns an array of TypeFeatureInfoEntryPartial records.
An Esri url indicating a relationship table to query
The group index of the relationship layer on which to read the related records
An array of relared records of type TypeFeatureInfoEntryPartial, or an empty array.
This method is used to process the layer's metadata. It will fill the empty fields of the layer's configuration (renderer, initial settings, fields and aliases).