README.md

mvtview

Provides a development Mapbox Vector Tile server and viewer for R, powered by {plumber} and {rdeck}.

Installation

You can install the development version of {mvtview} from GitHub with:

# install.packages("devtools")
devtools::install_github("MilesMcBain/mvtview")

Usage

Serving an .mbtiles file for map making:

library(mvtview)

serve_mvt("my_tiles.mbtiles")

Or alternatively, serving and then viewing tile data in an .mbtiles database on an interactive map:

view_mvt("my_tiles.mbtiles)

Clean up running servers:

clean_mvt()

Prior art

Vector tile stuff



MilesMcBain/mvtview documentation built on April 9, 2022, 5:15 p.m.