score:0

Accepted answer

Looks like the SVG element you created overflows the Leaflet icon.

Simply setting overflow: hidden CSS rule on your icon class seems to solve your issue.

.mycluster {
  overflow: hidden;
}

Updated JSFiddle: https://jsfiddle.net/sqeypmrn/1/

Note: question also posted on Leaflet.markercluser GitHub page as issue #677.


Related Query

More Query from same tag