leaflet.wms icon indicating copy to clipboard operation
leaflet.wms copied to clipboard

Update leaflet.wms.js

Open AndreaPQ opened this issue 6 years ago • 2 comments

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

AndreaPQ avatar Jun 27 '18 14:06 AndreaPQ

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.

gregallensworth avatar Oct 14 '20 16:10 gregallensworth

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

AndreaPQ avatar Mar 19 '21 14:03 AndreaPQ