Possible bug: BasemapToggle (or BasemapGallery) in 4.4 with WMS Layers

Discussion created by revenger on Jul 20, 2017
Latest reply on Jul 21, 2017 by kenbuja

Using WMS Layers as basemap with BasemapToggle (or BasemapGallery) and then trying to switch to a different basemap results in a error (and a hanging browser)


#load() Failed to load layer (title: 'undefined', id: 'undefined') TypeError: Cannot read property 'sublayers' of undefined
at WMSLayer.js:5
at Array.forEach (<anonymous>)
at r (WMSLayer.js:5)
at Object.b.readSublayers (WMSLayer.js:9)
at Object.n (init.js:472)
at (init.js:982)
at Object.l (init.js:225)
at init.js:1018
at Object.f.readLoadable (init.js:473)
at (init.js:1018)