Hi,
it seems as if in version 4.22 neither the parameter layerIds is accepted in the IdentifyParameters nor the layerOption "visible" is updated.Example:I want results from "Vorhaben", layerID 405https://ims.kiel.de/extern/apps/Vorlage_js4/samples/identify422.html
This still works with version 4.21.Example:I want results from "Vorhaben", layerID 405https://ims.kiel.de/extern/apps/Vorlage_js4/samples/identify421.html
MapImageServer "MIL" with- Layer "Vorhaben": LayerId: 405, visible: 0- Layer "Wohnungsbau-Vorhaben": LayerId: 395, visible: 1
Script:// toggle Visibility[...]// set IdentifyParameters[...]// I want results from "Vorhaben"identifyParams.layerIds = [405];identifyParams.layerOption = "visible";[...]
view onClick-> I always (!) get results from layer 395 and never (!) from layer 405
Hi @AndreaKittler, this is a known issue that will be fixed at the next release (4.23). It should also be ready to test on next: https://github.com/Esri/feedback-js-api-next.
Here's a potential workaround: https://community.esri.com/t5/arcgis-api-for-javascript-questions/identify-not-honoring-layerids-supplied-to/m-p/1137516#M76101
Thank you very much, I didn't found it...
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.