leaflet.wms
leaflet.wms copied to clipboard
Opacity zero is valid
this.options.opacity
is always defined in de initialize
method, so it is not needed to check it. The previous code does not let a value of 0.
This PR is over my other pull request #60, that I also need (that is why you see extra changes here). It would be great if both are merged.