Select to view content in your preferred language

Error using WMTSLayer in 4.4

1058
1
07-20-2017 09:19 PM
Remkovan_Ginneken
New Contributor

Using a WMTS Layer in 4.4 gives an error and a hanging browser

#load() Failed to load layer (title: 'undefined', id: 'undefined') TypeError: Cannot read property 'querySelector' of null
at Object.q.parseCapabilities (wmtsUtils.js:15)
at VM570 WMTSLayer.js:14
at d (init.js:117)
at n (init.js:117)
at k.resolve (init.js:119)
at b (init.js:118)
at init.js:118
at d (init.js:117)
at n (init.js:117)
at k.resolve (init.js:119)

Trying with serviceMode KVP results in different errors

Uncaught TypeError: Cannot read property 'id' of undefined
at Object.c.attach (WMTSLayerView2D.js:6)
at a._attachLayerView (MapView.js:35)
at Object.update (MapView.js:31)
at f._animationFrame (init.js:342)

Uncaught TypeError: Cannot read property 'pause' of null
at Object.c.update (WMTSLayerView2D.js:6)
at Object.c.processUpdate (MapView.js:690)
at Object.update (MapView.js:32)
at f._animationFrame (init.js:342)

Uncaught TypeError: Cannot read property 'pause' of null
at Object.c.update (WMTSLayerView2D.js:6)
at Object.c.processUpdate (MapView.js:690)
at Object.update (MapView.js:32)
at f._animationFrame (init.js:342)

Sample's are using PDOK / Nationaal Georegister to reproduce results. Internally (on-premise, no internet), we had the same problem using WMTS on a MapProxy server

0 Kudos
1 Reply
BrianLeroux
Regular Contributor

Having the same issue. And solution yet?

Thanks..

0 Kudos