Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set SVG hex color, despite svg property set to true #80

Open
PortableDiag opened this issue Sep 6, 2024 · 1 comment
Open

Comments

@PortableDiag
Copy link

PortableDiag commented Sep 6, 2024

Using the following config the marker always shows up red, no matter which hex value I use for markerColor.

 let iconOptions = L.ExtraMarkers.icon({ 
        icon:  'fa-bus', 
        iconColor: 'white', 

        svg: true,
        markerColor:'#ffffff',

        shape: 'circle',
        prefix: 'fa' // Font Awesome prefix
      });

Screenshot_20240906_115203

@coryasilva
Copy link
Owner

I cannot reproduce, please take a look at this codesandbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants