A Leaflet plugin for working with Web Map services, providing: single-tile/untiled/nontiled layers, shared WMS sources, and GetFeatureInfo-powered identify.
wms.Layer.onAdd is adding this._source to this._map, but is not removed symmetrically on onRemove.
The consequence is that the attribution is never removed if the layer is removed/managed using L.Control.Layers. If you change to different layers that use wms.Layer, the attributions are appended (never removed), even if you remove the layer.
wms.Layer.onAdd
is addingthis._source
tothis._map
, but is not removed symmetrically ononRemove
.The consequence is that the attribution is never removed if the layer is removed/managed using
L.Control.Layers
. If you change to different layers that usewms.Layer
, the attributions are appended (never removed), even if you remove the layer.