Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 990 Bytes

README.md

File metadata and controls

45 lines (31 loc) · 990 Bytes

maplibregl

CRAN status R build status

The goal of maplibregl is to provide R bindings to maplibre-gl-js.

Installation

You can install the released version of maplibregl from CRAN with:

install.packages("maplibregl")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("crazycapivara/maplibre-gl-r")

Example

library(maplibregl)

map <- maplibregl(
  center = c(-73.9165, 40.7114),
  zoom = 10,
  pitch = 30
)

if (interactive()) map