Skip to content

anthonynorth/snapbox

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
R
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 

release lifecycle build GitHub actions build status

snapbox

Static mapbox basemap for ggplot2.

Installation

remotes::install_github("anthonynorth/snapbox")

Usage

library(sf)
library(ggplot2)
library(snapbox)

area <- st_bbox(
  c(xmin = 147, ymin = -43, xmax = 147.7, ymax = -42.65),
  crs = 4326
)

ggplot() +
  layer_mapbox(area, scale_ratio = 0.5)

About

Static mapbox basemap for ggplot2.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages