Leaflet.iconlabel icon indicating copy to clipboard operation
Leaflet.iconlabel copied to clipboard

Fix icon positioning if no label is set

Open danzel opened this issue 11 years ago • 1 comments

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.

danzel avatar Aug 21 '12 01:08 danzel