You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When using the featureinfoLayer property on a layer, we might end up with the same layer being queried more than once.
Currently, if a layer is queried an even number of times, the features will be selected and then deselected again ending up with no selection. To the user, nothing at all seems to happen.
To Reproduce
Configure a reference layer reference_layer with "visible": false
Configure two layers to be clicked, layer1 and layer2, with "visible": true
Set "featureinfoLayer": "reference_layer" on layer1 and layer2.
Open the map and click a feature
Nothing happens
Expected behavior
If a layer's info is asked for by multiple visible layers, only one request and only one selection toggle should occur.
Desktop (please complete the following information):
OS: Windows
Browser Chrome
Version 131
The text was updated successfully, but these errors were encountered:
Description
When using the
featureinfoLayer
property on a layer, we might end up with the same layer being queried more than once.Currently, if a layer is queried an even number of times, the features will be selected and then deselected again ending up with no selection. To the user, nothing at all seems to happen.
To Reproduce
reference_layer
with"visible": false
layer1
andlayer2
, with"visible": true
"featureinfoLayer": "reference_layer"
on layer1 and layer2.Expected behavior
If a layer's info is asked for by multiple visible layers, only one request and only one selection toggle should occur.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: