removeAttribution can cause junk data in _attributions #1410
Closed
Description
If you call
map.attributionControl.removeAttribution('foo');
On a non-existent attribution, the internal attribution object has an object of the form { foo: NaN }
. Ideally removeAttribution
checks to see that there's a key entry before decrementing the value.