To cite package ‘mapgl’ in publications use:

  Walker K (2026). _mapgl: Interactive Maps with 'Mapbox GL JS' and
  'MapLibre GL JS'_. R package version 0.5.2,
  <https://github.com/walkerke/mapgl>.

A BibTeX entry for LaTeX users is

  @Manual{,
    title = {mapgl: Interactive Maps with 'Mapbox GL JS' and 'MapLibre GL JS'},
    author = {Kyle Walker},
    year = {2026},
    note = {R package version 0.5.2},
    url = {https://github.com/walkerke/mapgl},
  }
