gregleleu / maplibre-gl-r

An R Interface to maplibre-gl-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An R Interface to maplibre-gl-js

License:Other


Languages

Language:R 68.4%Language:JavaScript 26.2%Language:Shell 5.4%