Skip to contents

The goal of leaf.magic is to overcome the somewhat outdated “Font Awesome” implementation in vanilla R leaflet by constructing markers on the fly using fontawesome or bsicons and magick. There are three issues leaf.magic sets out to overcome:

leaf.magic attempts to solve all of this:

leaf.magic is thoroughly documented on the package website, which includes a getting started guide.

Installation

You can install the development version of leaf.magic like so:

# install.packages("pak")
pak::pak("jack-davison/leaf.magic")
A screenshot of a map produced using the {leaf.magic} R package.
A screenshot of a map produced using the {leaf.magic} R package.

Attributions

leaf.magic is licensed under the MIT License, and would not be possible without the following icon libraries:

Code of Conduct

Please note that the leaf.magic project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.