maplamina

GPU-accelerated interactive maps for R (MapLibre GL + deck.gl via htmlwidgets).

Status: early / MVP. APIs may change.

Installation

CRAN submission is pending. Install the development version from GitHub:

# install.packages("devtools")
devtools::install_github("jhumbl/maplamina")

Quick start (views)

A minimal example showing views switching the radius mapping:

set.seed(1)
n <- 2000
d <- data.frame(
  lon   = runif(n, -60, 60),
  lat   = runif(n, -60, 60),
  value = runif(n, 1, 10)
)

maplamina() |>
  add_circles(d, stroke = FALSE, fill_color = "darkblue") |>
  add_views(
    view("Value",         radius = ~value),
    view("Inverse Value", radius = ~(max(value) - value + 1))
  )

Other components

Layers

Getting help

Roadmap

Planned improvements include more layer types, additional components, and alternative themes.

License

MIT.