Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Modified WMTS Resource URL generation to support hostnames that contain the layer name. #162

Merged
merged 1 commit into from
Sep 24, 2021

Conversation

david-eagles
Copy link
Contributor

If the hostname contained the layer name (eg. https://layername.domain.com/layername/wmts) then the WMTS capabilities document contained an incorrect Resource URL because the hostname was stripped back to simply https://. This modification simply looks for the last occurrence of the layer name instead of the first when forming the Resource URL.

…in the layer name.

If the hostname contained the layer name (eg. https://layername.domain.com/layername/wmts) then the WMTS capabilities document contained an incorrect Resource URL because the hostname was stripped back to simply https://.  This modification simply looks for the last occurrence of the layer name instead of the first when forming the Resource URL.
@daliborjanak daliborjanak merged commit cce369b into maptiler:master Sep 24, 2021
@daliborjanak
Copy link
Collaborator

Thanks

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

Successfully merging this pull request may close these issues.

2 participants