coryasilva / Leaflet.ExtraMarkers

Custom Markers for Leaflet JS based on Awesome Markers
MIT License
331 stars 125 forks source link

problem with svg mode in firefox #41

Closed gabor-dev closed 4 years ago

gabor-dev commented 4 years ago

Hi, When I use svg in markers with the newest version 1.0.9 in Firefox I see the svg circle sprite and the old circle image in the same time (slipped vertically with some 10 pixels) and the number under them slipped down outside of the sprite. However this is ok on Chrome. This is the definition of the marker: { icon: 'fa-number', shape: 'circle', markerColor: this.points[index].color, number: this.points[index].icon, iconColor: this.points[index].textcolor, svg:true }

with a modified older css version it displays ok on firefox, but not on chrome: leaflet.extra-markers.GOOD_WITH_FIREFOX_BAD_WITH_CHROME.zip

My firefox is v.72.01. 64 bit

coryasilva commented 4 years ago

Closing as fixed in v1.20+