gist_map: Opens a full screen map after uploading a geojson file

View source: R/gist_map.R

gist_mapR Documentation

Opens a full screen map after uploading a geojson file

Description

Takes a gist object and a input geojson file name and renders fullscreen map

Usage

gist_map(x, browse = TRUE)

Arguments

x

An object of class gist generated by gist_create() or gist_create_obj()

browse

Default: TRUE. Set to FALSE if you don't want to automatically browse to the URL.

Examples

## Not run: 
file <- system.file("examples", "ecoengine_eg.geojson", package = "gistr")
gist_id <- gist_create(file, browse = FALSE)
gist_map(gist_id)

## End(Not run)

ropensci/gistr documentation built on Oct. 21, 2022, 2:14 p.m.