mapshakers / leaflet-icon-pulse

Leaflet pulsing icon plugin.
MIT License
207 stars 69 forks source link

Pulse circle not centered on icon #19

Open frvaillant opened 5 years ago

frvaillant commented 5 years ago

The circle was not centered on the icon for me in FF as in chrome.

I just changed the margin in L.Icone.Pulse.css

.leaflet-pulsing-icon:after { content: ""; border-radius: 50%; height: 300%; width: 300%; position: absolute; margin: -100% 0 0 -150%; opacity:0; }

As this, it's perfect. Thanks for this add to leaflet icons