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:
I have recently upgraded to v2.0 of CMV in the hope of using WFS layers. However, when configuring a WFS layer in viewer.js, no layers are loaded on the map (and there are no errors reported in the browser console).
Expected results:
I would expect to see the WFS layer on the map, as well as being able to switch it on/off it using the layer control widget.
Actual results:
The layer isn't added. Other operational layers do load, but the layer control is not visible in the left pane as it should be. Background layers also fail to load. There are no errors in the browser console.
I have also tried tweaking the code in _initLayer() within _MapMixin.js to load the WFS layer differently (as in the example here) but this does not load any features. It does execute a GetCapabilities request like the example, but I am not sure what to do next.
Environment:
Software
Version
CMV Version
2.0.0-beta2
Browser
Chrome
Operating system
Windows 7
The text was updated successfully, but these errors were encountered:
How often can you reproduce it?
Description:
I have recently upgraded to v2.0 of CMV in the hope of using WFS layers. However, when configuring a WFS layer in viewer.js, no layers are loaded on the map (and there are no errors reported in the browser console).
Unfortunately I can't find any documentation around this functionality, and the only example I can find for loading WFS with the ArcGIS API for JavaScript doesn't seem to work.
Steps to reproduce:
Expected results:
I would expect to see the WFS layer on the map, as well as being able to switch it on/off it using the layer control widget.
Actual results:
The layer isn't added. Other operational layers do load, but the layer control is not visible in the left pane as it should be. Background layers also fail to load. There are no errors in the browser console.
I have also tried tweaking the code in _initLayer() within _MapMixin.js to load the WFS layer differently (as in the example here) but this does not load any features. It does execute a GetCapabilities request like the example, but I am not sure what to do next.
Environment:
The text was updated successfully, but these errors were encountered: