The goal of tasmapr is to provide background maps of Tasmania for R leaflet.
devtools::install_github("mdsumner/tasmapr")
This is a basic example which shows you how to make an awesome map!
The tasmapr()
function will launch a mapview/leaflet viewer with the
chosen basemap. Some layers are in dev due to a recent upgrade, WIP.
library(tasmapr)
tasmap() ## Topographic basemap
tasmap(basemap = "TTSA") ## Tasmania Towns Street Atlas
tasmap(basemap = "HillshadeGrey") ## hill shade
See https://github.com/mdsumner/wmts.git for a way to get these layers as raster data.
Please note that the tasmapr project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.