Leaflet WMS + GetFeatureInfo
Forked from https://github.com/jfaraklit/BetterWMS
L.tileLayer.betterWms(wms url, {
layers: "layer",
format: 'image/png',
transparent: "true",
style: 'style',
opacity: 1,
attribution: "attribution",
});
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.