Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken leaflet viewer (QGIS 3) #115

Open
eduard-kazakov opened this issue Jul 15, 2021 · 2 comments
Open

Broken leaflet viewer (QGIS 3) #115

eduard-kazakov opened this issue Jul 15, 2021 · 2 comments

Comments

@eduard-kazakov
Copy link

Created leaflet viewer is looks like:
image

QGIS 3.18, QTiles 1.6

@francescopoliti
Copy link

I have the same problem too.

@cbertelli
Copy link

Yes, looking at the file, it's full of escapes, all linefeeds are represented as \n, all single quotes are \' and the javascript files for leaflet and jQuery are not linked, but they are instead supposed to be in a local folder (js).
I don't know why the escapes are there, but you can remove them and add the links and it starts working. Maybe fixing the python code doesn't ask for a huge effort. Anyway, fixing the output is even easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants