lizmap-javascript-scripts
lizmap-javascript-scripts copied to clipboard
Error loading mapillary script
Hi, I'm tring to use Mapillary script but when I click on the icon tool I get this error:
Composite.js:170 Uncaught TypeError: e.layer.renderDeferred is not a function
at Composite.js:170:24
at Array.forEach (<anonymous>)
at lh.declutter (Composite.js:169:17)
at lh.renderFrame (Composite.js:143:10)
at fc.renderFrame_ (Map.js:1570:20)
at fc.animationDelay_ (Map.js:1424:10)
The tool dock appears but the mapillary layer is not loaded.
I'm using:
- Lizmap 3.7.8
- QGIS Server 3.34.6
- Py-QGIS-Server 1.8.8
- Plugin atlasprint 3.4.0
- Plugin Lizmap server 2.9.2
- Plugin wfsOutputExtension 1.8.0
I get the same error with your demo project too (https://demo.lizmap.com/lizmap/index.php/view/map?repository=javascript&project=mapillary)
The script works with an old Lizmap installation (LWC 3.5.11 and QGIS server 3.16.16)
@RobiFag I have updated the script, can you try it and give us feedback please?
@nboisteault sorry for the delay, I have just tested the new script and it works! Thanks!