StaticcommonA promise that resolves once 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.
This method performs indirect recursion by eventually delegating child validation to validateListOfLayerEntryConfig in a sub function called here.
The ESRI layer instance pointer
The list of layer entries configuration to validate
Called when a config needs to be registered
StaticconvertConverts metadata mosaic method to ESRI REST API format.
The metadata mosaic method
The ESRI API mosaic method string
StaticconvertConverts metadata mosaic operator to ESRI REST API format.
The metadata mosaic operator
The ESRI API mosaic operation string
StaticesriReturns the domain of the specified field.
The metadata field definitions to search
Field name for which we want to get the domain
The domain of the field, or null if not found
StaticesriReturns the type of the specified field.
For ESRI Image layers, well-known pixel fields (PixelValue, ProcessedValue, Name)
are short-circuited to 'string' because they have no metadata entry.
The ESRI layer config, used to detect EsriImage-specific fields
The metadata field definitions to search
Field name for which we want to get the type
The mapped outfield type ('date', 'oid', 'number', or 'string')
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 geometry type
An array of related 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
Optional geometry type for the geometries in the layer being queried (used when geometries are returned)
Optional boolean to indicate if we use the raw esri output or if we parse it, defaults to true
A promise that resolves with an array of related records of type TypeFeatureInfoEntryPartial, or an empty array
StaticqueryAsynchronously 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
Optional 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: numberOptional spatial reference of the output geometries from the query
OptionalmaxOffset: numberOptional max allowable offset value to simplify geometry
Optional boolean to indicate if we use the raw esri output or if we parse it
A promise that resolves with an array of related 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
A promise that resolves with an array of related 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).