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

Reduce calls to WMS GetCapabilities when not necessary #159

Open
fox91 opened this issue Oct 12, 2018 · 0 comments
Open

Reduce calls to WMS GetCapabilities when not necessary #159

fox91 opened this issue Oct 12, 2018 · 0 comments

Comments

@fox91
Copy link
Contributor

fox91 commented Oct 12, 2018

I have a single map in which I include a few dozen WMS layers from the same server, it only changes the layer and eventually the style.
I would expect to see only one call to the GetCapabilities method instead I see dozens (one for each layer added to the map).

In my opinion it would be useful:

  1. identify layers from the same source and make a single call to GetCapabilities.
  2. Give the ability to invoke GetCapabilities only when the layer is activated for viewing and not when it is added to the map. Now, if I add a hundred layers from different sources, the browser makes one hundred calls to the various GetCapabilities as soon as the levels are defined without being displayed. It may be useful to have the possibility (optional, not by default) to be able to call the GetCapabilities only when the layer is added to the map by the user.
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

1 participant