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

Relative path handling regression #603

Open
mike-000 opened this issue Jul 4, 2022 · 1 comment
Open

Relative path handling regression #603

mike-000 opened this issue Jul 4, 2022 · 1 comment

Comments

@mike-000
Copy link
Contributor

mike-000 commented Jul 4, 2022

The various improvements to relative path handling have caused a regression to the previously working example in openlayers/openlayers#12307 (comment). The url obtained via the "View Style" link does not work with OL 6.10.0 or later. The alternative and more understandable url https://basemaps.arcgis.com/arcgis/rest/services/OpenStreetMap_v2/VectorTileServer/resources/styles/ continues to work with all versions (as long a the final / is present).

@ahocevar
Copy link
Member

ahocevar commented Jul 4, 2022

Previously the code contained special handling for the incorrect links in Esri's TileJSON documents. These are now removed. At Esri, they know about the wrong links in their documents. I'm hoping they'll be fixing that soon.

Thanks for the hint about the trailing /. I was not aware of that.

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