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

Blank preview and map #1064

Closed
EricMaGo opened this issue May 8, 2024 · 5 comments
Closed

Blank preview and map #1064

EricMaGo opened this issue May 8, 2024 · 5 comments

Comments

@EricMaGo
Copy link

EricMaGo commented May 8, 2024

Hey!

I'm trying to export a map (a single layer with two rules) and the preview and the resulting map are empty.

qgis

Any idea on how to resolve the issue? The plugin is already in the latest version and I've tried to reinstalled it and to restart the program and computer.

Thank you!

@andreaordonselli
Copy link
Collaborator

See the WIKI for supported styles https://qgis2web.github.io/qgis2web/#SetStyles
If you can't solve it, send your project in a zip.
Thank you.

@EricMaGo
Copy link
Author

EricMaGo commented May 8, 2024

The layer shows ok, this is not the issue. What doesn't show is the map underneath, in this case, leaflet

@andreaordonselli
Copy link
Collaborator

What style are you using? Categorized, with expressions, graduated?
You should also post the error you find in the browser console. Otherwise I can't help you.

@EricMaGo
Copy link
Author

EricMaGo commented May 9, 2024

Sorry, I'm very newbie at QGIS but the issue appears even when I don't load any layer and only ask for the background map

Screenshot from 2024-05-09 09-58-18

@andreaordonselli
Copy link
Collaborator

andreaordonselli commented May 9, 2024

It is normal for the preview to be white and empty if you do not insert layers into the project.
If you are a beginner you could make your way with this guide which I consider complete https://www.qgistutorials.com/en/docs/3/web_mapping_with_qgis2web.html

If you want to insert a background map insert it as xyz layer.
Here you will find the guide to insert the base map:
https://qgis2web.github.io/qgis2web/#setBasemaps
Here you will find some links:
https://hatarilabs.com/ih-en/how-to-add-a-google-map-in-qgis-3-tutorial

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

2 participants