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

[Question]: A question o base layers on recent LMWC versions #4890

Closed
1 task done
gioman opened this issue Oct 20, 2024 · 5 comments
Closed
1 task done

[Question]: A question o base layers on recent LMWC versions #4890

gioman opened this issue Oct 20, 2024 · 5 comments
Labels

Comments

@gioman
Copy link
Contributor

gioman commented Oct 20, 2024

What is the question? (in English)

I admit that I got lost (and frequently confused) on some of the changes that have been introduced on LMWC since 3.7, to the point that I have chosen to stick to 3.6 until possible. Now moving on is no more an option, so I'm looking to find some answer.

Until LMWC baselayers like Google and Bing could be added using the LM plugin, and that needed an API key from those providers. But I could add basically the same imagery using the QGIS plugin QuickMapServices and no key was needed, because I guess that those layers from QMS are basically WMS layers and not coming from a tile server.

So why is the key now needed for that QMS layers in LMWC > 3.6?

Thanks in advance

Versions, safeguards, check summary etc

Not relevant for the question.

Check Lizmap plugin

  • I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.

Operating system

Ubuntu 22.04

Browsers

Firefox, Chrome

Browsers version

Latest updates

Relevant log output

No response

@Gustry
Copy link
Member

Gustry commented Oct 21, 2024

Hi @gioman

There is a good answer on this other issue : #4749 (comment)

Using QuickMapServices for a Google layer, without an API key is possible, but it's not guaranteed to work.

@Gustry Gustry closed this as not planned Won't fix, can't repro, duplicate, stale Oct 21, 2024
@Gustry
Copy link
Member

Gustry commented Oct 21, 2024

So why is the key now needed for that QMS layers in LMWC > 3.6?

Did you get the "Check" in the Lizmap plugin about missing an API key ? There is the "How to fix" :

image

@gioman
Copy link
Contributor Author

gioman commented Oct 23, 2024

There is a good answer on this other issue : #4749 (comment)

@Gustry thanks for the pointer. So if I understand correctly the key/token is necessary because otherwise would be illegal (not using the tiled service which requires the key), correct? In QMS to be able to add layers from providers as Google users have to agree with

image

which I guess is their way to say "use them at your own responsibility".

Using QuickMapServices for a Google layer, without an API key is possible, but it's not guaranteed to work.

I would say that on recent LMWC it just does not work anymore.

@gioman
Copy link
Contributor Author

gioman commented Oct 23, 2024

Did you get the "Check" in the Lizmap plugin about missing an API key ? There is the "How to fix" :

@Gustry yes of course :) My question was more about why the change was needed, not how to correctly configure such layers now.

@Gustry
Copy link
Member

Gustry commented Oct 23, 2024

I would say that on recent LMWC it just does not work anymore.

I know some instances where they use Google without a key and it works ;-) You should check the status of the tiles (the HTTP code and explanation from the Google server)

My question was more about why the change was needed

Because the Google Layer came back in OpenLayers in 2024 openlayers/openlayers#15465
It was in OpenLayers 2 and then it was removed if I'm correct.

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

No branches or pull requests

2 participants