Skip to contents

Data

In-built data to demonstrate functions.

port_talbot
Air Quality Monitoring in Neath Port Talbot, 2024

Icons

Use up-to-date icon libraries in leaflet maps.

magicIcons()
Create a set of Font Awesome, Bootstrap or Ionicons Markers
addIconLegend()
Add an Icon legend to a map
iconFactor() iconBin() iconQuantile()
Icon Mapping

Utilities

Other useful objects exported by leaf.magic.

awesomePalette
Palette used by leaflet::awesomeIcons()
addIconAttribution()
Conveniently add Icon Attributions to a Leaflet Map