BlazorLeaflet

repository·master·Indexed 42 days ago

https://github.com/mehigh17/blazorleaflet

A Blazor implementation of Leaflet maps, including sample projects that utilize Open Iconic for UI iconography.

Tokens
606
Snippets
5
Records
5
Agent score
3%

What's inside BlazorLeaflet

  1. Use Open Iconic's SVG Sprite

    master

    The SVG sprite allows you to load all icons in a single request. To use an icon, reference its ID within the open-iconic.svg file using the <use> tag.

    Styling Tips:

    • Sizing: Set equal width and height on the <svg> tag.
    • Coloring: Use the CSS fill property on the <use> tag to change the icon color.
    • Best Practice: Add a general class to the <svg> tag and a unique class to the <use> tag for easier styling.
    <svg class="icon">
      <use xlink:href="open-iconic.svg#account-login" class="icon-account-login"></use>
    </svg>