Skip to content

Commit

Permalink
Reorder arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Oct 5, 2019
1 parent 947ba5e commit 3454742
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/mapbox.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ parse_mvt_params <- function(url){
#' @export
#' @rdname mapbox
#' @param crs output coordinates, see [sf::st_transform]
read_mvt_sf <- function(data, zxy = NULL, crs = 4326){
read_mvt_sf <- function(data, crs = 4326, zxy = NULL){
layers <- read_mvt_data(data, zxy = zxy, as_latlon = FALSE)
collections <- lapply(layers, function(layer){
geometry <- sf::st_sfc(lapply(layer$features, function(feature){
Expand Down
2 changes: 1 addition & 1 deletion man/mapbox.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3454742

Please sign in to comment.