Leaflet.iconlabel
Leaflet.iconlabel copied to clipboard
Fix icon positioning if no label is set
If you create a marker using iconlabel and you have no label it skips creating the label element and just returns the img. In this case the img would not get the correct offset applied and would appear in the wrong place.