Skip to content

Commit

Permalink
move readme imges out of man folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Appelhans committed Oct 31, 2024
1 parent 488aaa8 commit babdae2
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
^_pkgdown\.yml$
^docs$
^pkgdown$
^private$
^private$
^figures$
13 changes: 6 additions & 7 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ knitr::opts_chunk$set(
![monthly](http://cranlogs.r-pkg.org/badges/leafem)
![total](http://cranlogs.r-pkg.org/badges/grand-total/leafem)
[![CRAN](http://www.r-pkg.org/badges/version/leafem?color=009999)](https://cran.r-project.org/package=leafem)
[![status](https://tinyverse.netlify.com/badge/leafem)](https://CRAN.R-project.org/package=leafem)
<!-- badges: end -->

`leafem` provides extensions for package `leaflet` many of which are used by package `mapview`. The intention of this package is to enhance `leaflet` functionality to provide a more GIS-like feeling when plotting spatial data interactively.
Expand All @@ -45,7 +44,7 @@ library(leaflet)
leaflet() %>% addProviderTiles("OpenStreetMap") %>% addFeatures(data = breweries91)
```

![](man/figures/README-features.png)
![](figures/README-features.png)

#### addMouseCoordinates

Expand All @@ -55,7 +54,7 @@ leaflet() %>%
addMouseCoordinates()
```

![](man/figures/README-garnish.png)
![](figures/README-garnish.png)

#### garnishMap

Expand All @@ -66,7 +65,7 @@ m <- leaflet() %>% addProviderTiles("OpenStreetMap")
garnishMap(m, addMouseCoordinates)
```

![](man/figures/README-garnish.png)
![](figures/README-garnish.png)

#### addHomeButton

Expand All @@ -81,7 +80,7 @@ m <- leaflet() %>%
m
```

![](man/figures/README-home.png)
![](figures/README-home.png)

#### addImageQuery

Expand All @@ -98,7 +97,7 @@ leaflet() %>%
addLayersControl(overlayGroups = "poppendorf")
```

![](man/figures/README-query.png)
![](figures/README-query.png)

#### addLogo

Expand All @@ -108,7 +107,7 @@ img <- "https://www.r-project.org/logo/Rlogo.svg"
leaflet() %>% addTiles() %>% addLogo(img, url = "https://www.r-project.org/logo/")
```

![](man/figures/README-logo.png)
![](figures/README-logo.png)

### Code of Conduct

Expand Down
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ checks](https://badges.cranchecks.info/worst/leafem.svg)](https://cran.r-project
![monthly](http://cranlogs.r-pkg.org/badges/leafem)
![total](http://cranlogs.r-pkg.org/badges/grand-total/leafem)
[![CRAN](http://www.r-pkg.org/badges/version/leafem?color=009999)](https://cran.r-project.org/package=leafem)
[![status](https://tinyverse.netlify.com/badge/leafem)](https://CRAN.R-project.org/package=leafem)
<!-- badges: end -->

`leafem` provides extensions for package `leaflet` many of which are
Expand All @@ -38,7 +37,7 @@ library(leaflet)
leaflet() %>% addProviderTiles("OpenStreetMap") %>% addFeatures(data = breweries91)
```

![](man/figures/README-features.png)
![](figures/README-features.png)

#### addMouseCoordinates

Expand All @@ -48,7 +47,7 @@ leaflet() %>%
addMouseCoordinates()
```

![](man/figures/README-garnish.png)
![](figures/README-garnish.png)

#### garnishMap

Expand All @@ -59,7 +58,7 @@ m <- leaflet() %>% addProviderTiles("OpenStreetMap")
garnishMap(m, addMouseCoordinates)
```

![](man/figures/README-garnish.png)
![](figures/README-garnish.png)

#### addHomeButton

Expand All @@ -74,7 +73,7 @@ m <- leaflet() %>%
m
```

![](man/figures/README-home.png)
![](figures/README-home.png)

#### addImageQuery

Expand All @@ -91,7 +90,7 @@ leaflet() %>%
addLayersControl(overlayGroups = "poppendorf")
```

![](man/figures/README-query.png)
![](figures/README-query.png)

#### addLogo

Expand All @@ -101,7 +100,7 @@ img <- "https://www.r-project.org/logo/Rlogo.svg"
leaflet() %>% addTiles() %>% addLogo(img, url = "https://www.r-project.org/logo/")
```

![](man/figures/README-logo.png)
![](figures/README-logo.png)

### Code of Conduct

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit babdae2

Please sign in to comment.