Skip to content

Not working with LineAwesome #38

Description

@ollie10

Good Morning,

I have found a bug, the plugin doesen't work with LineAwesome which is a porting of FontAwesome to modern flat icons.

Here is my code using a simple icon:

<i class="las la-home"></i>
markerIcon = L.VectorMarkers.icon({
prefix: 'las',
icon: 'la-home',
markerColor: '#29DFBB'
});

Generetes an icon like this:

<i class="las las-la-home icon-white" style="width: 30px;"></i>

adding the prefix also to the icon.

Any idea how to solve it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions