You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using font awesome 4.7.0. For some reason, default iconColor (white) provoques an error.
// Error : using default color (default is "white")
L.AwesomeMarkers.icon({icon: 'tv', prefix: 'fa', markerColor: 'darkred'})
// Error : using explicitelly white color
L.AwesomeMarkers.icon({icon: 'tv', prefix: 'fa', markerColor: 'darkred', iconColor:'white'})
// OK : using explicitelly hexadecimal notation for white color
L.AwesomeMarkers.icon({icon: 'tv', prefix: 'fa', markerColor: 'darkred', iconColor:'#fff'})
A workarround is to remove the possibility of using class "white-icon" (or "black-icon") in the code (+/- on the line : #71, in the file ~/leaflet.awesome-markers.js)
.
For the moment, using hexadecimal values always works.
The text was updated successfully, but these errors were encountered:
I'm using font awesome 4.7.0. For some reason, default iconColor (white) provoques an error.
// Error : using default color (default is "white")
L.AwesomeMarkers.icon({icon: 'tv', prefix: 'fa', markerColor: 'darkred'})
// Error : using explicitelly white color
L.AwesomeMarkers.icon({icon: 'tv', prefix: 'fa', markerColor: 'darkred', iconColor:'white'})
// OK : using explicitelly hexadecimal notation for white color
L.AwesomeMarkers.icon({icon: 'tv', prefix: 'fa', markerColor: 'darkred', iconColor:'#fff'})
A workarround is to remove the possibility of using class "white-icon" (or "black-icon") in the code (+/- on the line : #71, in the file ~/leaflet.awesome-markers.js)
.
For the moment, using hexadecimal values always works.
The text was updated successfully, but these errors were encountered: