An open API service indexing awesome lists of open source software.

https://github.com/mdsumner/tasmapr

Get Tasmania map server layers via mapview
https://github.com/mdsumner/tasmapr

Last synced: 7 months ago
JSON representation

Get Tasmania map server layers via mapview

Awesome Lists containing this project

README

          

---
output: github_document
editor_options:
chunk_output_type: console
---

[![Travis-CI Build Status](https://travis-ci.org/mdsumner/tasmapr.svg?branch=master)](https://travis-ci.org/mdsumner/tasmapr)
[![Codecov test coverage](https://codecov.io/gh/mdsumner/tasmapr/branch/master/graph/badge.svg)](https://codecov.io/gh/mdsumner/tasmapr?branch=master)


# tasmapr

The goal of tasmapr is to provide background maps of Tasmania for R leaflet.

# Install

```{r, eval=FALSE}
devtools::install_github("mdsumner/tasmapr")
```
## Example

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.

```{r example, eval = FALSE}
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.

## Code of Conduct

Please note that the tasmapr project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/1/0/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.