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

Set MapboxMap style #218

Closed
rinigus opened this issue Feb 27, 2022 · 0 comments
Closed

Set MapboxMap style #218

rinigus opened this issue Feb 27, 2022 · 0 comments

Comments

@rinigus
Copy link

rinigus commented Feb 27, 2022

With Maplibre, there is no default map style. Set it using

styleUrl: "mapbox://styles/mapbox/streets-v10"

property of MapboxMap (https://github.com/rinigus/mapbox-gl-qml/blob/master/api.md). List of styles is at https://docs.mapbox.com/api/maps/styles/ . In your case, it may make more sense to use

mapbox://styles/mapbox/outdoors-v10

I don't know if -v11 styles would work, you would have to test it.

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

1 participant