2

I am trying to display a custom made slider with several images and files for my GIS elements.

Example URL: https://eudala2.getxo.eus/slidergetxo/?width=500&height=500&codtipoexp=LMO&codruta=islas&idelem=prueba

The problem comes when I add the website as Attached Control and Display it as Web View in the Integrated Document Viewer.

enter image description here

The slider is not loaded properly:

enter image description here

And it leaves a bunch of console errors pointing to no ES6 compatibility (async functions, etc.).

enter image description here

I tested it out in several versions including 3.34.

EDIT 10.04.2024: I opened issue in QGIS github: https://github.com/qgis/QGIS/issues/56820

4
  • I'm not sure what you are trying to do with the slider, but if you want to just display the selection, you could try using an HtmlWidget and display your code there (and adjust it to display the selection). Try looking at the answers here
    – Dror Bogin
    Jan 7 at 11:00
  • @DrorBogin it's a NodeJS app that is running in our servers. The images/documents are obtained in the server side and the web displays the slider. I tried using the HtmlWidget as you suggest, inserting the code of my slider on it but I get the same problem and console is showing same ES6 compatibility errors.
    – Egidi
    Mar 18 at 9:14
  • What version of QGIS are you using?
    – Dror Bogin
    Mar 19 at 6:15
  • @DrorBogin I tried in all of them, event last one and had same behaviour
    – Egidi
    Apr 10 at 10:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.