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

Fix check for layer already in map #6031

Merged
merged 1 commit into from Nov 19, 2021

Conversation

josegar74
Copy link
Member

No description provided.

Copy link
Contributor

@juanluisrp juanluisrp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the protocol (http or https) of the online resource in the metadata record matches the protocol of the GetMap onlineResource element in the GetCapabilities response this work.
In case they don't match you can add the layer multiple times because the one added to the map uses the protocol indicated in the GetCapabilities response.

@josegar74
Copy link
Member Author

Abut the protocol mismatch, I think it works as expected, as should be the same to match.

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

Successfully merging this pull request may close these issues.

None yet

2 participants