From 8b82166171bb12c0598bde6d465fcd888b7c8685 Mon Sep 17 00:00:00 2001 From: troh Date: Thu, 21 Oct 2021 20:42:15 -0700 Subject: [PATCH] updating site --- docs/404.html | 2 +- docs/LICENSE-text.html | 2 +- docs/LICENSE.html | 2 +- docs/authors.html | 2 +- docs/index.html | 7 +- docs/logo.png | Bin 43920 -> 43920 bytes docs/news/index.html | 11 +- docs/pkgdown.yml | 19 +- docs/reference/addLeafLegends.html | 8 +- docs/reference/addLegendAwesomeIcon.html | 292 +++++++++++++++++++++++ docs/reference/addLegendImage.html | 2 +- docs/reference/addLegendSize.html | 2 +- docs/reference/figures/circle.svg | 4 + docs/reference/figures/cross.svg | 4 + docs/reference/figures/diamond.svg | 4 + docs/reference/figures/line.svg | 4 + docs/reference/figures/logo.png | Bin 43920 -> 43920 bytes docs/reference/figures/plus.svg | 4 + docs/reference/figures/polygon.svg | 4 + docs/reference/figures/rect.svg | 4 + docs/reference/figures/stadium.svg | 4 + docs/reference/figures/star.svg | 4 + docs/reference/figures/triangle.svg | 4 + docs/reference/index.html | 8 +- docs/reference/makeSymbol.html | 4 +- docs/sitemap.xml | 3 + 26 files changed, 379 insertions(+), 25 deletions(-) create mode 100644 docs/reference/addLegendAwesomeIcon.html create mode 100644 docs/reference/figures/circle.svg create mode 100644 docs/reference/figures/cross.svg create mode 100644 docs/reference/figures/diamond.svg create mode 100644 docs/reference/figures/line.svg create mode 100644 docs/reference/figures/plus.svg create mode 100644 docs/reference/figures/polygon.svg create mode 100644 docs/reference/figures/rect.svg create mode 100644 docs/reference/figures/stadium.svg create mode 100644 docs/reference/figures/star.svg create mode 100644 docs/reference/figures/triangle.svg diff --git a/docs/404.html b/docs/404.html index a5741c2..cba0159 100644 --- a/docs/404.html +++ b/docs/404.html @@ -95,7 +95,7 @@ leaflegend - 0.4.0 + 0.5.0 diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index ed52ee5..8106f32 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -95,7 +95,7 @@ leaflegend - 0.4.0 + 0.5.0 diff --git a/docs/LICENSE.html b/docs/LICENSE.html index ba08120..ee8f5fc 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -95,7 +95,7 @@ leaflegend - 0.4.0 + 0.5.0 diff --git a/docs/authors.html b/docs/authors.html index 475a781..575faaf 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -95,7 +95,7 @@ leaflegend - 0.4.0 + 0.5.0 diff --git a/docs/index.html b/docs/index.html index 304615c..b439996 100644 --- a/docs/index.html +++ b/docs/index.html @@ -48,7 +48,7 @@ leaflegend - 0.4.0 + 0.5.0 @@ -149,6 +149,11 @@

height = 30 ) +
+

+Map Symbols

+

rectcircletrianglepluscrossdiamondstarstadiumlinepolygon

+
diff --git a/docs/logo.png b/docs/logo.png index d2e960f6027e9e41bb478c6e944b2dd14f95655b..0dbf3d9e275665da882c2cbbdae5871ab348482c 100644 GIT binary patch delta 19 ZcmbPmooNCPO=QzB<4I2K*f{;?DgaQ-2%i7| delta 19 ZcmbPmooNCPO=MGLC@b%a**N{@DgaWx2;l$# diff --git a/docs/news/index.html b/docs/news/index.html index 43ba2ab..048e65e 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -95,7 +95,7 @@ leaflegend - 0.4.0 + 0.5.0 @@ -144,6 +144,15 @@

Changelog

Source: NEWS.md +
+

+leaflegend 0.5.0 Unreleased +

+ +

leaflegend 0.4.0 2021-07-23 diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 520854a..aa71771 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -1,10 +1,9 @@ - -pandoc: 2.11.4 -pkgdown: 1.6.1 -pkgdown_sha: ~ -articles: {} -last_built: 2021-08-06T01:37Z -urls: - reference: https://leaflegend.roh.engineering/reference - article: https://leaflegend.roh.engineering/articles - +pandoc: 2.14.0.3 +pkgdown: 1.6.1 +pkgdown_sha: ~ +articles: {} +last_built: 2021-10-22T03:41Z +urls: + reference: https://leaflegend.roh.engineering/reference + article: https://leaflegend.roh.engineering/articles + diff --git a/docs/reference/addLeafLegends.html b/docs/reference/addLeafLegends.html index b009f85..0ad3c24 100644 --- a/docs/reference/addLeafLegends.html +++ b/docs/reference/addLeafLegends.html @@ -100,7 +100,7 @@ leaflegend - 0.4.0 + 0.5.0

@@ -186,7 +186,7 @@

Add Customizable Color Legends to a 'leaflet' map widget

title = NULL, labelStyle = "", shape = c("rect", "circle", "triangle", "plus", "cross", "diamond", "star", - "stadium"), + "stadium", "line", "polygon"), orientation = c("vertical", "horizontal"), width = 24, height = 24, @@ -206,7 +206,7 @@

Add Customizable Color Legends to a 'leaflet' map widget

title = NULL, labelStyle = "", shape = c("rect", "circle", "triangle", "plus", "cross", "diamond", "star", - "stadium"), + "stadium", "line", "polygon"), orientation = c("vertical", "horizontal"), width = 24, height = 24, @@ -224,7 +224,7 @@

Add Customizable Color Legends to a 'leaflet' map widget

title = NULL, labelStyle = "", shape = c("rect", "circle", "triangle", "plus", "cross", "diamond", "star", - "stadium"), + "stadium", "line", "polygon"), orientation = c("vertical", "horizontal"), width = 24, height = 24, diff --git a/docs/reference/addLegendAwesomeIcon.html b/docs/reference/addLegendAwesomeIcon.html new file mode 100644 index 0000000..36d91d0 --- /dev/null +++ b/docs/reference/addLegendAwesomeIcon.html @@ -0,0 +1,292 @@ + + + + + + + + +Add a legend with Awesome Icons — addLegendAwesomeIcon • leaflegend + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ +
+
+ + +
+

Add a legend with Awesome Icons

+
+ +
addLegendAwesomeIcon(
+  map,
+  iconSet,
+  title = NULL,
+  labelStyle = "",
+  orientation = c("vertical", "horizontal"),
+  marker = TRUE,
+  group = NULL,
+  className = "info legend leaflet-control",
+  ...
+)
+ +

Arguments

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
map

a map widget object created from 'leaflet'

iconSet

a named list from awesomeIconList, the names will be the labels in the legend

title

the legend title, pass in HTML to style

labelStyle

character string of style argument for HTML text

orientation

stack the legend items vertically or horizontally

marker

whether to show the marker or only the icon

group

group name of a leaflet layer group

className

extra CSS class to append to the control, space separated

...

arguments to pass to addControl

+ +

Value

+ +

an object from addControl

+ +

Examples

+
library(leaflet) +data(quakes) +iconSet <- awesomeIconList( + `Font Awesome` = makeAwesomeIcon(icon = "font-awesome", library = "fa", + iconColor = 'gold', markerColor = 'red', + spin = FALSE, + squareMarker = TRUE, + iconRotate = 30, + ), + Ionic = makeAwesomeIcon(icon = "ionic", library = "ion", + iconColor = '#fffff', markerColor = 'blue', + spin = TRUE, + squareMarker = FALSE), + Glyphicon = makeAwesomeIcon(icon = "plus-sign", library = "glyphicon", + iconColor = 'rgb(192, 255, 0)', markerColor = 'darkpurple', + spin = TRUE, + squareMarker = FALSE) +) +leaflet(quakes[1:3,]) |> + addTiles() |> + addAwesomeMarkers(lat = ~lat, + lng = ~long, + icon = iconSet) |> + addLegendAwesomeIcon(iconSet = iconSet, + orientation = 'horizontal', + title = htmltools::tags$div( + style = 'font-size: 20px;', + 'Awesome Icons'), + labelStyle = 'font-size: 16px;') |> + addLegendAwesomeIcon(iconSet = iconSet, + orientation = 'vertical', + marker = FALSE, + title = htmltools::tags$div( + style = 'font-size: 20px;', + 'Awesome Icons'), + labelStyle = 'font-size: 16px;') +
+
+ +
+ + + +
+ + + + + + + + + + + diff --git a/docs/reference/addLegendImage.html b/docs/reference/addLegendImage.html index e8db41e..a948b37 100644 --- a/docs/reference/addLegendImage.html +++ b/docs/reference/addLegendImage.html @@ -100,7 +100,7 @@ leaflegend - 0.4.0 + 0.5.0 diff --git a/docs/reference/addLegendSize.html b/docs/reference/addLegendSize.html index 6e3c706..f1eeeaf 100644 --- a/docs/reference/addLegendSize.html +++ b/docs/reference/addLegendSize.html @@ -96,7 +96,7 @@ leaflegend - 0.4.0 + 0.5.0 diff --git a/docs/reference/figures/circle.svg b/docs/reference/figures/circle.svg new file mode 100644 index 0000000..09ac641 --- /dev/null +++ b/docs/reference/figures/circle.svg @@ -0,0 +1,4 @@ + + + circle + diff --git a/docs/reference/figures/cross.svg b/docs/reference/figures/cross.svg new file mode 100644 index 0000000..d562ca9 --- /dev/null +++ b/docs/reference/figures/cross.svg @@ -0,0 +1,4 @@ + + + cross + diff --git a/docs/reference/figures/diamond.svg b/docs/reference/figures/diamond.svg new file mode 100644 index 0000000..33a22bb --- /dev/null +++ b/docs/reference/figures/diamond.svg @@ -0,0 +1,4 @@ + + + diamond + diff --git a/docs/reference/figures/line.svg b/docs/reference/figures/line.svg new file mode 100644 index 0000000..2e27732 --- /dev/null +++ b/docs/reference/figures/line.svg @@ -0,0 +1,4 @@ + + + line + diff --git a/docs/reference/figures/logo.png b/docs/reference/figures/logo.png index d2e960f6027e9e41bb478c6e944b2dd14f95655b..0dbf3d9e275665da882c2cbbdae5871ab348482c 100644 GIT binary patch delta 19 ZcmbPmooNCPO=QzB<4I2K*f{;?DgaQ-2%i7| delta 19 ZcmbPmooNCPO=MGLC@b%a**N{@DgaWx2;l$# diff --git a/docs/reference/figures/plus.svg b/docs/reference/figures/plus.svg new file mode 100644 index 0000000..51c70a8 --- /dev/null +++ b/docs/reference/figures/plus.svg @@ -0,0 +1,4 @@ + + + plus + diff --git a/docs/reference/figures/polygon.svg b/docs/reference/figures/polygon.svg new file mode 100644 index 0000000..18354ff --- /dev/null +++ b/docs/reference/figures/polygon.svg @@ -0,0 +1,4 @@ + + + polygon + diff --git a/docs/reference/figures/rect.svg b/docs/reference/figures/rect.svg new file mode 100644 index 0000000..daeb1f5 --- /dev/null +++ b/docs/reference/figures/rect.svg @@ -0,0 +1,4 @@ + + + rect + diff --git a/docs/reference/figures/stadium.svg b/docs/reference/figures/stadium.svg new file mode 100644 index 0000000..6343920 --- /dev/null +++ b/docs/reference/figures/stadium.svg @@ -0,0 +1,4 @@ + + + stadium + diff --git a/docs/reference/figures/star.svg b/docs/reference/figures/star.svg new file mode 100644 index 0000000..f48af62 --- /dev/null +++ b/docs/reference/figures/star.svg @@ -0,0 +1,4 @@ + + + star + diff --git a/docs/reference/figures/triangle.svg b/docs/reference/figures/triangle.svg new file mode 100644 index 0000000..29c0d30 --- /dev/null +++ b/docs/reference/figures/triangle.svg @@ -0,0 +1,4 @@ + + + triangle + diff --git a/docs/reference/index.html b/docs/reference/index.html index 9dddcdb..a54f384 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -95,7 +95,7 @@ leaflegend - 0.4.0 + 0.5.0 @@ -171,6 +171,12 @@

addLegendAwesomeIcon()

+ +

Add a legend with Awesome Icons

+ +

addLegendImage()

diff --git a/docs/reference/makeSymbol.html b/docs/reference/makeSymbol.html index 4095ae6..9a3ecf0 100644 --- a/docs/reference/makeSymbol.html +++ b/docs/reference/makeSymbol.html @@ -96,7 +96,7 @@ leaflegend - 0.4.0 + 0.5.0 @@ -163,7 +163,7 @@

Create an SVG tag for the symbol

makeSymbolIcons( shape = c("rect", "circle", "triangle", "plus", "cross", "diamond", "star", - "stadium"), + "stadium", "line", "polygon"), color, fillColor = color, opacity, diff --git a/docs/sitemap.xml b/docs/sitemap.xml index ce1ed32..9398e32 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -6,6 +6,9 @@ https://leaflegend.roh.engineering/reference/addLeafLegends.html + + https://leaflegend.roh.engineering/reference/addLegendAwesomeIcon.html + https://leaflegend.roh.engineering/reference/addLegendImage.html