-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switching on Dynamic-Sublayer in LayerControl results in drawing all sublayers #26
Comments
adegwerth
changed the title
Switching on Dynamic-Sublayer in LayerControl reslts in drawing all sublayers
Switching on Dynamic-Sublayer in LayerControl results in drawing all sublayers
Dec 2, 2017
Its seems that this comes from jimu.js\LayerInfos\LayerInfosForMapServices.js in line 875 there is a call |
@adegwerth Yep. Myself and others have seen this same thing. I believe it is a bug in Web App Builder. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a Dynamic Service (Regions_Zones) with the following structure:
If I select the layer (6) in the LayerControl the layer is checked, but all layers in the Zones Group are displayed on the map. The layerControl show only layer (6) as checked). If I debug this in the file Dynamic.js the setLayers variable contains the right value (6) but after the call setVisibleLayers the setLayers array contains now a lot more values (now 48 values) and all values are in the range from 5...9 which is the range from the group.
_setVisibleLayers: function () { // file: Dynamic.js
(203) layer.setVisibleLayers(setLayers);
(204) layer.refresh();
This behavior occurs only with the WAB integration. The standalone CMV works fine.
I cross-checked the following:
The text was updated successfully, but these errors were encountered: