The class constructor that instanciate a set of layer.
The layer Api to work with.
ProtectedlayerThe LayerApi to work with
The resultSet object as existing in the base class, retyped here as a TypeFeatureInfoResultSet
Function used to disable listening of click events. When a layer path is not provided, click events listening is disable for all layers
OptionallayerPath: stringOptional parameter used to disable only one layer
Function used to enable listening of click events. When a layer path is not provided, click events listening is enabled for all layers
OptionallayerPath: stringOptional parameter used to enable only one layer
A quick getter to help identify which layerset class the current instance is coming from.
ProtectedgetGets the MapId for the layer set
Gets the registered layer paths based on the registered layers
An array of layer paths
Function used to determine whether click events are disabled for a layer. When a layer path is not provided, the value returned is undefined if the map flags are a mixture of true and false values.
OptionallayerPath: stringOptional parameter used to get the flag value of a layer.
The flag value for the map or layer.
Unregisters a callback from being called whenever the layer set is updated.
The callback function to unregister
Unregisters a query ended event handler.
The callback to stop being called whenever the event is emitted
ProtectedonOverrides the behavior to apply when deleting from the store
The layer path to delete from the store
Registers a callback to be executed whenever the layer set is updated.
The callback function
ProtectedonAn overridable layer set updated function for a layer-set to indicate the layer set has been updated.
The layer path
ProtectedonAn overridable function for a layer-set to process a layer status changed event.
The layer config
The new layer status
ProtectedonAn overridable function for a layer-set to process a layer name change.
The layer path being affected
The new layer name
ProtectedonOverrides the behavior to apply when propagating to the store
The result set entry to propagate
Registers a query ended event handler.
The callback to be executed whenever the event is emitted
ProtectedonOverrides the behavior to apply when a feature-info-layer-set wants to register a layer in its set.
The layer
ProtectedonOverrides the behavior to apply when a feature-info-layer-set wants to check for condition to register a layer in its set.
The layer
True when the layer should be registered to this feature-info-layer-set.
ProtectedonAn overridable registration function for a layer-set that the registration process will use to create a new entry in the layer set for a specific geoview layer and layer path.
The layer config
ProtectedonAn overridable registration condition function for a layer-set to check if the registration should happen for a specific geoview layer and layer path.
The layer config
True if the layer config should be registered, false otherwise
ProtectedonAn overridable unregistration function for a layer-set that the registration process will use to unregister a specific geoview layer.
The layer
ProtectedonAn overridable unregistration function for a layer-set that the registration process will use to unregister a specific layer config.
The layer config
Queries the features at the provided coordinate for all the registered layers.
The longitude/latitude coordinate where to query the features
A promise which will hold the result of the query
Registers the layer in the layer-set. If the layer is already registered, the function returns immediately.
The layer to register
Registers the layer config in the layer-set.
The layer config
Unregisters the layer config and layer from the layer-set.
The layer path
Protected StaticalignProtectedAlign records with informatiom provided by OutFields from layer config. This will update fields in and delete unwanted fields from the arrayOfRecords
The layer entry config object.
Features to delete fields from.
Protected StaticisChecks if the layer is in visible range.
The layer
The map current zoom level
True if the state is queryable or undefined
Protected StaticisChecks if the layer is of queryable type based on its class definition
The layer
True if the layer is of queryable type
Protected StaticisChecks if the layer config source is queryable.
The layer
True if the source is queryable or undefined
Protected StaticqueryProcesses layer data to query features on it, if the layer path can be queried.
The Map to query layer features from.
The geoview layer
The query type
The location for the query
The query geometry boolean
The optional abort controller.
A promise resolving to the query results
A Layer-set working with the LayerApi at handling a result set of registered layers and synchronizing events happening on them (in this case when the user click a location on the map) with a store for UI updates. FeatureInfoLayerSet