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

Update leaflet.wms.js #58

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from
Open

Update leaflet.wms.js #58

wants to merge 2 commits into from

Conversation

AndreaPQ
Copy link

Added support for 'zIndex' and 'pane' options to wms.Overlay ( requires 'isBack' options set to null)

added support for 'zIndex' and 'pane' options   to wms.Overlay  ( requires 'isBack' options set to null)
AlexCortinas added a commit to AlexCortinas/leaflet.wms that referenced this pull request Feb 15, 2019
@gregallensworth
Copy link

Almost works, but with one more change as of October 14, 2020

Add to the wms.Overlay 'options' block these two lines:

        'zIndex': null,
        'pane': null,

Otherwise, these options will be treated as params and not opts down in initialize()

With this second patch, the zIndex and pane options work A-OK, and it would be great to see this merged into the main distribution.

@AndreaPQ
Copy link
Author

Almost works, but with one more change as of October 14, 2020

Add to the wms.Overlay 'options' block these two lines:

        'zIndex': null,
        'pane': null,

Otherwise, these options will be treated as params and not opts down in initialize()

With this second patch, the zIndex and pane options work A-OK, and it would be great to see this merged into the main distribution.

added parameters to options block

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

Successfully merging this pull request may close these issues.

2 participants