-
Notifications
You must be signed in to change notification settings - Fork 417
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
MapStore WMTS layers won't show in leaflet maps with HTML based attribution text #8723
Closed
1 task done
Comments
alex-fko
added a commit
to alex-fko/MapStore2
that referenced
this issue
Oct 24, 2022
…on` parameter; geosolutions-it#8724 WMTS request identify flow fixes
12 tasks
alex-fko
added a commit
to alex-fko/MapStore2
that referenced
this issue
Oct 26, 2022
…on` parameter; geosolutions-it#8724 WMTS request identify flow fixes (geosolutions-it#8725) (cherry picked from commit 88c7ad8)
alex-fko
added a commit
to alex-fko/MapStore2
that referenced
this issue
Oct 26, 2022
…on` parameter; geosolutions-it#8724 WMTS request identify flow fixes (geosolutions-it#8725) (cherry picked from commit 88c7ad8)
The associated PR and backport for this issue have been merged, this issue can be closed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Related support issue is #2292
With the introduction of the ability to define custom attributions for WMTS layers, it is now possible to include text and HTML in the layers attributions for WMTS.
When an embedded map has Leaflet as viewer and contains a WMTS layer with a custom attribution ( embedded maps use the Leaflet viewer only) the
getTile
request sends the attribution text as parameter?ATTRIBUTION=text
to the server.Some requests fail with a 403 if the attribution text is composite of HTML and not just text, apparently.
See the example request below:
How to reproduce
An example map with this issue can be found here
getTile
requests for that layer come back with a 403 (Forbidden)Expected Result
getTile
requests for that layer come back with the map tiles.Current Result
No Background layer will be visualised, if the same layer is imported on the map TOC then the
ATTRIBUTION
param won't be inserted in the request query string and the request will complete successfully.Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information
Once the bug is fixed on desktop maps with Leaflet embedded maps and all other maps using the default Leaflet viewer will have to be tested
The text was updated successfully, but these errors were encountered: