├── .github ├── .gitignore └── workflows │ ├── test-coverage.yaml │ └── R-CMD-check.yaml ├── LICENSE ├── docs ├── logo.png ├── favicon.ico ├── favicon-16x16.png ├── favicon-32x32.png ├── apple-touch-icon.png ├── reference │ ├── Rplot001.png │ ├── figures │ │ ├── logo.png │ │ ├── readme-example.png │ │ ├── line.svg │ │ ├── circle-pch.svg │ │ ├── solid-rect-pch.svg │ │ ├── rect-pch.svg │ │ ├── solid-circle-bg-pch.svg │ │ ├── solid-circle-md-pch.svg │ │ ├── solid-circle-sm-pch.svg │ │ ├── solid-triangle-pch.svg │ │ ├── triangle-pch.svg │ │ ├── circle.svg │ │ ├── diamond-pch.svg │ │ ├── open-diamond-pch.svg │ │ ├── rect.svg │ │ ├── solid-diamond-pch.svg │ │ ├── triangle.svg │ │ ├── diamond.svg │ │ ├── stadium.svg │ │ ├── down-triangle-pch.svg │ │ ├── open-circle-pch.svg │ │ ├── open-down-triangle-pch.svg │ │ ├── open-rect-pch.svg │ │ ├── plus.svg │ │ ├── open-triangle-pch.svg │ │ ├── polygon.svg │ │ ├── simple-cross-pch.svg │ │ ├── simple-plus-pch.svg │ │ ├── triangle-rect-pch.svg │ │ ├── star.svg │ │ ├── cross-circle-pch.svg │ │ ├── cross.svg │ │ ├── plus-circle-pch.svg │ │ ├── cross-rect-pch.svg │ │ ├── plus-rect-pch.svg │ │ ├── plus-diamond-pch.svg │ │ ├── hexagram-pch.svg │ │ └── simple-star-pch.svg │ ├── libs │ │ ├── leaflet-1.3.1 │ │ │ └── images │ │ │ │ ├── layers.png │ │ │ │ ├── layers-2x.png │ │ │ │ ├── marker-icon.png │ │ │ │ ├── marker-icon-2x.png │ │ │ │ └── marker-shadow.png │ │ ├── ionicons-2.0.1 │ │ │ ├── fonts │ │ │ │ ├── ionicons.eot │ │ │ │ ├── ionicons.ttf │ │ │ │ ├── ionicons.woff │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ └── glyphicons-halflings-regular.woff │ │ │ ├── images │ │ │ │ ├── markers-matte.png │ │ │ │ ├── markers-plain.png │ │ │ │ ├── markers-shadow.png │ │ │ │ ├── markers-soft.png │ │ │ │ ├── markers-matte@2x.png │ │ │ │ ├── markers-soft@2x.png │ │ │ │ └── markers-shadow@2x.png │ │ │ ├── leaflet.awesome-markers.min.js │ │ │ ├── leaflet.awesome-markers.css │ │ │ └── leaflet.awesome-markers.js │ │ ├── fontawesome-4.7.0 │ │ │ ├── fonts │ │ │ │ ├── ionicons.eot │ │ │ │ ├── ionicons.ttf │ │ │ │ ├── ionicons.woff │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ └── glyphicons-halflings-regular.woff │ │ │ ├── images │ │ │ │ ├── markers-matte.png │ │ │ │ ├── markers-plain.png │ │ │ │ ├── markers-soft.png │ │ │ │ ├── markers-matte@2x.png │ │ │ │ ├── markers-shadow.png │ │ │ │ ├── markers-soft@2x.png │ │ │ │ └── markers-shadow@2x.png │ │ │ ├── leaflet.awesome-markers.min.js │ │ │ ├── leaflet.awesome-markers.css │ │ │ └── leaflet.awesome-markers.js │ │ ├── rstudio_leaflet-1.3.1 │ │ │ ├── images │ │ │ │ └── 1px.png │ │ │ └── rstudio_leaflet.css │ │ ├── leaflet-awesomemarkers-2.0.3 │ │ │ ├── fonts │ │ │ │ ├── ionicons.eot │ │ │ │ ├── ionicons.ttf │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── ionicons.woff │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ └── glyphicons-halflings-regular.woff │ │ │ ├── images │ │ │ │ ├── markers-soft.png │ │ │ │ ├── markers-matte.png │ │ │ │ ├── markers-plain.png │ │ │ │ ├── markers-shadow.png │ │ │ │ ├── markers-soft@2x.png │ │ │ │ ├── markers-matte@2x.png │ │ │ │ └── markers-shadow@2x.png │ │ │ ├── leaflet.awesome-markers.min.js │ │ │ ├── leaflet.awesome-markers.css │ │ │ └── leaflet.awesome-markers.js │ │ ├── leafletfix-1.0.0 │ │ │ └── leafletfix.css │ │ └── Proj4Leaflet-1.0.1 │ │ │ └── proj4leaflet.js │ └── availableShapes.html ├── apple-touch-icon-60x60.png ├── apple-touch-icon-76x76.png ├── apple-touch-icon-120x120.png ├── apple-touch-icon-152x152.png ├── apple-touch-icon-180x180.png ├── deps │ ├── Ubuntu-0.4.7 │ │ ├── 4iCs6KVjbNBYlgo6ew.woff │ │ └── font.css │ ├── bootstrap-5.2.2 │ │ ├── fonts │ │ │ ├── S6uyw4BMUTPHvxo.woff │ │ │ ├── 4iCs6KVjbNBYlgo6ew.woff │ │ │ ├── KFOmCnqEu92Fr1Me5g.woff │ │ │ ├── S6u8w4BMUTPHjxswWA.woff │ │ │ ├── S6uyw4BMUTPHjx4wWA.woff │ │ │ ├── 4iCs6KVjbNBYlgoKfw7w.woff │ │ │ ├── KFOmCnqEu92Fr1Mu4mxM.woff │ │ │ ├── S6u8w4BMUTPHjxsAXC-s.woff │ │ │ ├── S6u9w4BMUTPHh6UVeww.woff │ │ │ ├── S6u9w4BMUTPHh7USeww.woff │ │ │ ├── q5uGsou0JOdh94bfvQlr.woff │ │ │ ├── 4iCv6KVjbNBYlgoCxCvTtA.woff │ │ │ ├── CSR64z1Qlv-GDxkbKVQ_TOQ.woff │ │ │ ├── KFOlCnqEu92Fr1MmEU9vAA.woff │ │ │ ├── KFOlCnqEu92Fr1MmSU5vAA.woff │ │ │ ├── KFOlCnqEu92Fr1MmWUlvAA.woff │ │ │ ├── S6u9w4BMUTPHh6UVSwiPHw.woff │ │ │ ├── S6u9w4BMUTPHh7USSwiPHw.woff │ │ │ ├── 4iCv6KVjbNBYlgoCxCvjsGyL.woff │ │ │ ├── KFOlCnqEu92Fr1MmEU9fBBc-.woff │ │ │ ├── KFOlCnqEu92Fr1MmSU5fBBc-.woff │ │ │ ├── KFOlCnqEu92Fr1MmWUlfBBc-.woff │ │ │ ├── CSR54z1Qlv-GDxkbKVQ_dFsvaNA.woff │ │ │ ├── CSR64z1Qlv-GDxkbKVQ_fOAKSw.woff │ │ │ ├── QGYpz_kZZAGCONcK2A4bGOj8mNhL.woff │ │ │ ├── 6xK3dSBYKcSV-LCoeQqfX1RYOo3aPA.woff │ │ │ ├── CSR54z1Qlv-GDxkbKVQ_dFsvWNRevw.woff │ │ │ ├── 1adeadb2fe618c5ed46221f15e12b9c8.woff │ │ │ ├── 6xK1dSBYKcSV-LCoeQqfX1RYOo3qPa7j.woff │ │ │ ├── 6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7j.woff │ │ │ ├── a98f7a7574819ba83bec6279a2cecd95.woff │ │ │ ├── 6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDQ.woff │ │ │ ├── 6xKydSBYKcSV-LCoeQqfX1RYOo3i54rAkw.woff │ │ │ ├── 6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vAkw.woff │ │ │ ├── 6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zAkw.woff │ │ │ ├── XRXI3I6Li01BKofiOc5wtlZ2di8HDFwmRTA.woff │ │ │ ├── XRXI3I6Li01BKofiOc5wtlZ2di8HDGUmRTA.woff │ │ │ ├── XRXI3I6Li01BKofiOc5wtlZ2di8HDLshRTA.woff │ │ │ ├── 6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdo.woff │ │ │ ├── 6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdo.woff │ │ │ ├── 1Ptxg8zYS_SKggPN4iEgvnHyvveLxVs9pbCIPrc.woff │ │ │ ├── 1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrc.woff │ │ │ ├── JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Ew9.woff │ │ │ ├── JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Ew9.woff │ │ │ ├── JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w9.woff │ │ │ ├── HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DBKXhM0.woff │ │ │ ├── HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DMyQhM0.woff │ │ │ ├── HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTTbI1rSg.woff │ │ │ ├── HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTTsoprSg.woff │ │ │ ├── UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYMZs.woff │ │ │ ├── UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fMZs.woff │ │ │ ├── UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfMZs.woff │ │ │ ├── memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1y4k.woff │ │ │ ├── memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1y4k.woff │ │ │ ├── memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgshZ1y4k.woff │ │ │ ├── memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0C4k.woff │ │ │ ├── memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0C4k.woff │ │ │ ├── memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0C4k.woff │ │ │ ├── memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk0ZjaVQ.woff │ │ │ ├── memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkaVQ.woff │ │ │ ├── memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkaVQ.woff │ │ │ ├── memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk_RkaVQ.woff │ │ │ ├── memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkxhjaVQ.woff │ │ │ ├── memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjaVQ.woff │ │ │ ├── memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVQ.woff │ │ │ ├── memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVQ.woff │ │ │ ├── memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVQ.woff │ │ │ ├── memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkWVAexg.woff │ │ │ ├── memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkWVAexg.woff │ │ │ └── memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjWVAexg.woff │ │ └── font.css │ ├── Raleway-0.4.7 │ │ ├── 1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaooCM.woff │ │ └── font.css │ ├── Fira_Code-0.4.7 │ │ ├── uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sFVQ.woff │ │ └── font.css │ └── data-deps.txt ├── pkgdown.yml ├── link.svg ├── sitemap.xml ├── pkgdown.js ├── LICENSE-text.html ├── 404.html ├── LICENSE.html └── authors.html ├── inst ├── img │ ├── rect.png │ ├── leaf-blue.png │ ├── leaf-red.png │ ├── leaf-green.png │ ├── leaf-orange.png │ ├── leaf-purple.png │ └── leaf-yellow.png └── CITATION ├── FUNDING.yml ├── man ├── figures │ ├── logo.png │ ├── readme-example.png │ ├── line.svg │ ├── circle-pch.svg │ ├── rect-pch.svg │ ├── solid-rect-pch.svg │ ├── solid-circle-bg-pch.svg │ ├── solid-circle-sm-pch.svg │ ├── solid-circle-md-pch.svg │ ├── solid-triangle-pch.svg │ ├── triangle-pch.svg │ ├── circle.svg │ ├── rect.svg │ ├── solid-diamond-pch.svg │ ├── diamond-pch.svg │ ├── open-diamond-pch.svg │ ├── triangle.svg │ ├── diamond.svg │ ├── stadium.svg │ ├── down-triangle-pch.svg │ ├── open-circle-pch.svg │ ├── open-down-triangle-pch.svg │ ├── open-rect-pch.svg │ ├── plus.svg │ ├── open-triangle-pch.svg │ ├── polygon.svg │ ├── simple-cross-pch.svg │ ├── simple-plus-pch.svg │ ├── triangle-rect-pch.svg │ ├── star.svg │ ├── cross-circle-pch.svg │ ├── cross.svg │ ├── plus-circle-pch.svg │ ├── cross-rect-pch.svg │ ├── plus-rect-pch.svg │ ├── plus-diamond-pch.svg │ ├── hexagram-pch.svg │ └── simple-star-pch.svg ├── availableShapes.Rd ├── addLegendAwesomeIcon.Rd ├── addLegendImage.Rd ├── mapSymbols.Rd └── legendSymbols.Rd ├── tests └── testthat.R ├── pkgdown └── favicon │ ├── favicon.ico │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── apple-touch-icon.png │ ├── apple-touch-icon-60x60.png │ ├── apple-touch-icon-76x76.png │ ├── apple-touch-icon-120x120.png │ ├── apple-touch-icon-152x152.png │ └── apple-touch-icon-180x180.png ├── cran-comments.md ├── codecov.yml ├── .lintr ├── .Rbuildignore ├── .gitignore ├── leaflegend.Rproj ├── NAMESPACE ├── _pkgdown.yml ├── DESCRIPTION ├── LICENSE.md └── NEWS.md /.github/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | YEAR: 2021 2 | COPYRIGHT HOLDER: Thomas P. Roh 3 | -------------------------------------------------------------------------------- /docs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/logo.png -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/favicon.ico -------------------------------------------------------------------------------- /inst/img/rect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/inst/img/rect.png -------------------------------------------------------------------------------- /FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | github: [tomroh] 3 | 4 | -------------------------------------------------------------------------------- /man/figures/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/man/figures/logo.png -------------------------------------------------------------------------------- /docs/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/favicon-16x16.png -------------------------------------------------------------------------------- /docs/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/favicon-32x32.png -------------------------------------------------------------------------------- /inst/img/leaf-blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/inst/img/leaf-blue.png -------------------------------------------------------------------------------- /inst/img/leaf-red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/inst/img/leaf-red.png -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- 1 | library(testthat) 2 | library(leaflegend) 3 | 4 | test_check("leaflegend") 5 | -------------------------------------------------------------------------------- /docs/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/apple-touch-icon.png -------------------------------------------------------------------------------- /inst/img/leaf-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/inst/img/leaf-green.png -------------------------------------------------------------------------------- /inst/img/leaf-orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/inst/img/leaf-orange.png -------------------------------------------------------------------------------- /inst/img/leaf-purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/inst/img/leaf-purple.png -------------------------------------------------------------------------------- /inst/img/leaf-yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/inst/img/leaf-yellow.png -------------------------------------------------------------------------------- /docs/reference/Rplot001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/Rplot001.png -------------------------------------------------------------------------------- /pkgdown/favicon/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/pkgdown/favicon/favicon.ico -------------------------------------------------------------------------------- /man/figures/readme-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/man/figures/readme-example.png -------------------------------------------------------------------------------- /docs/apple-touch-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/apple-touch-icon-60x60.png -------------------------------------------------------------------------------- /docs/apple-touch-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/apple-touch-icon-76x76.png -------------------------------------------------------------------------------- /docs/reference/figures/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/figures/logo.png -------------------------------------------------------------------------------- /docs/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /docs/apple-touch-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/apple-touch-icon-152x152.png -------------------------------------------------------------------------------- /docs/apple-touch-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/apple-touch-icon-180x180.png -------------------------------------------------------------------------------- /pkgdown/favicon/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/pkgdown/favicon/favicon-16x16.png -------------------------------------------------------------------------------- /pkgdown/favicon/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/pkgdown/favicon/favicon-32x32.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/pkgdown/favicon/apple-touch-icon.png -------------------------------------------------------------------------------- /docs/reference/figures/readme-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/figures/readme-example.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/pkgdown/favicon/apple-touch-icon-60x60.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/pkgdown/favicon/apple-touch-icon-76x76.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/pkgdown/favicon/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/pkgdown/favicon/apple-touch-icon-152x152.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/pkgdown/favicon/apple-touch-icon-180x180.png -------------------------------------------------------------------------------- /docs/deps/Ubuntu-0.4.7/4iCs6KVjbNBYlgo6ew.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/Ubuntu-0.4.7/4iCs6KVjbNBYlgo6ew.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/S6uyw4BMUTPHvxo.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/S6uyw4BMUTPHvxo.woff -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-1.3.1/images/layers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-1.3.1/images/layers.png -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/4iCs6KVjbNBYlgo6ew.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/4iCs6KVjbNBYlgo6ew.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/KFOmCnqEu92Fr1Me5g.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/KFOmCnqEu92Fr1Me5g.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/S6u8w4BMUTPHjxswWA.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/S6u8w4BMUTPHjxswWA.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/S6uyw4BMUTPHjx4wWA.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/S6uyw4BMUTPHjx4wWA.woff -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/fonts/ionicons.eot -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/fonts/ionicons.ttf -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/fonts/ionicons.woff -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-1.3.1/images/layers-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-1.3.1/images/layers-2x.png -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/4iCs6KVjbNBYlgoKfw7w.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/4iCs6KVjbNBYlgoKfw7w.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/KFOmCnqEu92Fr1Mu4mxM.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/KFOmCnqEu92Fr1Mu4mxM.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/S6u8w4BMUTPHjxsAXC-s.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/S6u8w4BMUTPHjxsAXC-s.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/S6u9w4BMUTPHh6UVeww.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/S6u9w4BMUTPHh6UVeww.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/S6u9w4BMUTPHh7USeww.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/S6u9w4BMUTPHh7USeww.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/q5uGsou0JOdh94bfvQlr.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/q5uGsou0JOdh94bfvQlr.woff -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/fonts/ionicons.eot -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/fonts/ionicons.ttf -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/fonts/ionicons.woff -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-1.3.1/images/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-1.3.1/images/marker-icon.png -------------------------------------------------------------------------------- /docs/reference/libs/rstudio_leaflet-1.3.1/images/1px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/rstudio_leaflet-1.3.1/images/1px.png -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/4iCv6KVjbNBYlgoCxCvTtA.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/4iCv6KVjbNBYlgoCxCvTtA.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/CSR64z1Qlv-GDxkbKVQ_TOQ.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/CSR64z1Qlv-GDxkbKVQ_TOQ.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/KFOlCnqEu92Fr1MmEU9vAA.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/KFOlCnqEu92Fr1MmEU9vAA.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/KFOlCnqEu92Fr1MmSU5vAA.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/KFOlCnqEu92Fr1MmSU5vAA.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/KFOlCnqEu92Fr1MmWUlvAA.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/KFOlCnqEu92Fr1MmWUlvAA.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/S6u9w4BMUTPHh6UVSwiPHw.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/S6u9w4BMUTPHh6UVSwiPHw.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/S6u9w4BMUTPHh7USSwiPHw.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/S6u9w4BMUTPHh7USSwiPHw.woff -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/images/markers-matte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/images/markers-matte.png -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/images/markers-plain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/images/markers-plain.png -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/images/markers-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/images/markers-shadow.png -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/images/markers-soft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/images/markers-soft.png -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-1.3.1/images/marker-icon-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-1.3.1/images/marker-icon-2x.png -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-1.3.1/images/marker-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-1.3.1/images/marker-shadow.png -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/4iCv6KVjbNBYlgoCxCvjsGyL.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/4iCv6KVjbNBYlgoCxCvjsGyL.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/KFOlCnqEu92Fr1MmEU9fBBc-.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/KFOlCnqEu92Fr1MmEU9fBBc-.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/KFOlCnqEu92Fr1MmSU5fBBc-.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/KFOlCnqEu92Fr1MmSU5fBBc-.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/KFOlCnqEu92Fr1MmWUlfBBc-.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/KFOlCnqEu92Fr1MmWUlfBBc-.woff -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/images/markers-matte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/images/markers-matte.png -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/images/markers-plain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/images/markers-plain.png -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/images/markers-soft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/images/markers-soft.png -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/images/markers-matte@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/images/markers-matte@2x.png -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/images/markers-soft@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/images/markers-soft@2x.png -------------------------------------------------------------------------------- /docs/deps/Raleway-0.4.7/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaooCM.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/Raleway-0.4.7/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaooCM.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/CSR54z1Qlv-GDxkbKVQ_dFsvaNA.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/CSR54z1Qlv-GDxkbKVQ_dFsvaNA.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/CSR64z1Qlv-GDxkbKVQ_fOAKSw.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/CSR64z1Qlv-GDxkbKVQ_fOAKSw.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/QGYpz_kZZAGCONcK2A4bGOj8mNhL.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/QGYpz_kZZAGCONcK2A4bGOj8mNhL.woff -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/images/markers-matte@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/images/markers-matte@2x.png -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/images/markers-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/images/markers-shadow.png -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/images/markers-soft@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/images/markers-soft@2x.png -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/images/markers-shadow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/images/markers-shadow@2x.png -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3aPA.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3aPA.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/CSR54z1Qlv-GDxkbKVQ_dFsvWNRevw.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/CSR54z1Qlv-GDxkbKVQ_dFsvWNRevw.woff -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/images/markers-shadow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/images/markers-shadow@2x.png -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/ionicons.eot -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/ionicons.ttf -------------------------------------------------------------------------------- /docs/deps/Fira_Code-0.4.7/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sFVQ.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/Fira_Code-0.4.7/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sFVQ.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/1adeadb2fe618c5ed46221f15e12b9c8.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/1adeadb2fe618c5ed46221f15e12b9c8.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPa7j.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPa7j.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7j.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7j.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/a98f7a7574819ba83bec6279a2cecd95.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/a98f7a7574819ba83bec6279a2cecd95.woff -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/ionicons.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDQ.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDQ.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rAkw.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rAkw.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vAkw.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vAkw.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zAkw.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zAkw.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/XRXI3I6Li01BKofiOc5wtlZ2di8HDFwmRTA.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/XRXI3I6Li01BKofiOc5wtlZ2di8HDFwmRTA.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/XRXI3I6Li01BKofiOc5wtlZ2di8HDGUmRTA.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/XRXI3I6Li01BKofiOc5wtlZ2di8HDGUmRTA.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/XRXI3I6Li01BKofiOc5wtlZ2di8HDLshRTA.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/XRXI3I6Li01BKofiOc5wtlZ2di8HDLshRTA.woff -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-soft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-soft.png -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdo.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdo.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdo.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdo.woff -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/ionicons-2.0.1/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-matte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-matte.png -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-plain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-plain.png -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-shadow.png -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-soft@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-soft@2x.png -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVs9pbCIPrc.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVs9pbCIPrc.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrc.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrc.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Ew9.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Ew9.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Ew9.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Ew9.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w9.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w9.woff -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/fontawesome-4.7.0/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-matte@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-matte@2x.png -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-shadow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/images/markers-shadow@2x.png -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /docs/deps/Ubuntu-0.4.7/font.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Ubuntu'; 3 | font-style: normal; 4 | font-weight: 400; 5 | font-display: swap; 6 | src: url(4iCs6KVjbNBYlgo6ew.woff) format('woff'); 7 | } 8 | -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DBKXhM0.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DBKXhM0.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DMyQhM0.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DMyQhM0.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTTbI1rSg.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTTbI1rSg.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTTsoprSg.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTTsoprSg.woff -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYMZs.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYMZs.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fMZs.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fMZs.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfMZs.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfMZs.woff -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/reference/libs/leaflet-awesomemarkers-2.0.3/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /docs/deps/Raleway-0.4.7/font.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Raleway'; 3 | font-style: normal; 4 | font-weight: 400; 5 | font-display: swap; 6 | src: url(1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaooCM.woff) format('woff'); 7 | } 8 | -------------------------------------------------------------------------------- /docs/deps/Fira_Code-0.4.7/font.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Fira Code'; 3 | font-style: normal; 4 | font-weight: 400; 5 | font-display: swap; 6 | src: url(uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sFVQ.woff) format('woff'); 7 | } 8 | -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1y4k.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1y4k.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1y4k.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1y4k.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgshZ1y4k.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgshZ1y4k.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0C4k.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0C4k.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0C4k.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0C4k.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0C4k.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0C4k.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk0ZjaVQ.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk0ZjaVQ.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkaVQ.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkaVQ.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkaVQ.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkaVQ.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk_RkaVQ.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk_RkaVQ.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkxhjaVQ.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkxhjaVQ.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjaVQ.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjaVQ.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVQ.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVQ.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVQ.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVQ.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVQ.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVQ.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkWVAexg.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkWVAexg.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkWVAexg.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkWVAexg.woff -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjWVAexg.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomroh/leaflegend/HEAD/docs/deps/bootstrap-5.2.2/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjWVAexg.woff -------------------------------------------------------------------------------- /docs/pkgdown.yml: -------------------------------------------------------------------------------- 1 | pandoc: 3.1.13 2 | pkgdown: 2.0.7 3 | pkgdown_sha: ~ 4 | articles: {} 5 | last_built: 2024-05-09T17:05Z 6 | urls: 7 | reference: https://leaflegend.delveds.com/reference 8 | article: https://leaflegend.delveds.com/articles 9 | 10 | -------------------------------------------------------------------------------- /cran-comments.md: -------------------------------------------------------------------------------- 1 | ## Test environments 2 | * local R installation windows 10, R 4.2.0 3 | * ubuntu 20.04 (on github), devel & release 4 | * macOS-latest (on github), release 5 | * win-builder (devel) 6 | 7 | ## R CMD check results 8 | 9 | 0 errors | 0 warnings | 0 notes 10 | -------------------------------------------------------------------------------- /inst/CITATION: -------------------------------------------------------------------------------- 1 | bibentry( 2 | key = "leaflegend", 3 | bibtype = "Manual", 4 | title = "leaflegend: Create Custom Legends for Leaflet", 5 | author = c(person("Thomas", "Roh", comment = "Delve DS")), 6 | year = "2024", 7 | url = c("https://leaflegend.delveds.com") 8 | ) 9 | -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- 1 | comment: false 2 | 3 | coverage: 4 | status: 5 | project: 6 | default: 7 | target: auto 8 | threshold: 1% 9 | informational: true 10 | patch: 11 | default: 12 | target: auto 13 | threshold: 1% 14 | informational: true 15 | -------------------------------------------------------------------------------- /.lintr: -------------------------------------------------------------------------------- 1 | linters: linters_with_defaults( 2 | line_length_linter(80), 3 | quotes_linter = NULL, 4 | object_name_linter = object_name_linter("camelCase"), 5 | spaces_inside_linter = NULL, 6 | indentation_linter = NULL 7 | ) 8 | exclusions: list( 9 | "inst/", 10 | "tests/" 11 | ) 12 | encoding: "UTF-8" 13 | -------------------------------------------------------------------------------- /.Rbuildignore: -------------------------------------------------------------------------------- 1 | ^.*\.Rproj$ 2 | ^\.Rproj\.user$ 3 | ^LICENSE\.md$ 4 | inst/examples/ 5 | ^\.github$ 6 | ^cran-comments\.md$ 7 | ^CRAN-RELEASE$ 8 | ^doc$ 9 | ^Meta$ 10 | ^_pkgdown\.yml$ 11 | ^docs$ 12 | ^pkgdown$ 13 | ^FUNDING.yml$ 14 | inst/img/leaf-*.svg 15 | inst/img/leaves.svg 16 | ^codecov\.yml$ 17 | ^\.lintr$ 18 | ^CRAN-SUBMISSION$ 19 | -------------------------------------------------------------------------------- /man/availableShapes.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/legend.R 3 | \name{availableShapes} 4 | \alias{availableShapes} 5 | \title{Available shapes for map symbols} 6 | \usage{ 7 | availableShapes() 8 | } 9 | \value{ 10 | list of available shapes 11 | } 12 | \description{ 13 | Available shapes for map symbols 14 | } 15 | -------------------------------------------------------------------------------- /man/figures/line.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | line 4 | 5 | -------------------------------------------------------------------------------- /man/figures/circle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | circle 4 | -------------------------------------------------------------------------------- /man/figures/rect-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | rect 4 | -------------------------------------------------------------------------------- /man/figures/solid-rect-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | solid-rect 4 | -------------------------------------------------------------------------------- /docs/reference/figures/line.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | line 4 | 5 | -------------------------------------------------------------------------------- /man/figures/solid-circle-bg-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | solid-circle-bg 4 | -------------------------------------------------------------------------------- /man/figures/solid-circle-sm-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | solid-circle-sm 4 | -------------------------------------------------------------------------------- /docs/reference/figures/circle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | circle 4 | -------------------------------------------------------------------------------- /docs/reference/figures/solid-rect-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | solid-rect 4 | -------------------------------------------------------------------------------- /man/figures/solid-circle-md-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | solid-circle-md 4 | -------------------------------------------------------------------------------- /man/figures/solid-triangle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | solid-triangle 4 | -------------------------------------------------------------------------------- /man/figures/triangle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | triangle 4 | -------------------------------------------------------------------------------- /docs/reference/figures/rect-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | rect 4 | -------------------------------------------------------------------------------- /docs/reference/figures/solid-circle-bg-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | solid-circle-bg 4 | -------------------------------------------------------------------------------- /man/figures/circle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | circle 4 | 5 | -------------------------------------------------------------------------------- /man/figures/rect.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | rect 4 | 5 | -------------------------------------------------------------------------------- /man/figures/solid-diamond-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | solid-diamond 4 | -------------------------------------------------------------------------------- /docs/reference/figures/solid-circle-md-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | solid-circle-md 4 | -------------------------------------------------------------------------------- /docs/reference/figures/solid-circle-sm-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | solid-circle-sm 4 | -------------------------------------------------------------------------------- /docs/reference/figures/solid-triangle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | solid-triangle 4 | -------------------------------------------------------------------------------- /docs/reference/figures/triangle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | triangle 4 | -------------------------------------------------------------------------------- /man/figures/diamond-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | diamond 4 | -------------------------------------------------------------------------------- /man/figures/open-diamond-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | open-diamond 4 | -------------------------------------------------------------------------------- /docs/reference/figures/circle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | circle 4 | 5 | -------------------------------------------------------------------------------- /man/figures/triangle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | triangle 4 | 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .Rproj.user 2 | .Rhistory 3 | .RData 4 | inst/examples/recipes_files 5 | inst/doc 6 | doc 7 | Meta 8 | *.tar.gz 9 | inst/img/leaf-*.svg 10 | inst/img/leaves.svg 11 | inst/examples/recipes.html 12 | inst/examples/recipes.gfm.md 13 | inst/examples/test.html 14 | inst/examples/img 15 | inst/examples/recipes.md 16 | inst/examples/viz-test.R 17 | inst/examples/gen-symbol-svg.R 18 | -------------------------------------------------------------------------------- /docs/reference/figures/diamond-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | diamond 4 | -------------------------------------------------------------------------------- /docs/reference/figures/open-diamond-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | open-diamond 4 | -------------------------------------------------------------------------------- /docs/reference/figures/rect.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | rect 4 | 5 | -------------------------------------------------------------------------------- /docs/reference/figures/solid-diamond-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | solid-diamond 4 | -------------------------------------------------------------------------------- /docs/reference/figures/triangle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | triangle 4 | 5 | -------------------------------------------------------------------------------- /man/figures/diamond.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | diamond 4 | 5 | -------------------------------------------------------------------------------- /man/figures/stadium.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | stadium 4 | 5 | -------------------------------------------------------------------------------- /docs/reference/figures/diamond.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | diamond 4 | 5 | -------------------------------------------------------------------------------- /docs/reference/figures/stadium.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | stadium 4 | 5 | -------------------------------------------------------------------------------- /man/figures/down-triangle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | down-triangle 4 | -------------------------------------------------------------------------------- /man/figures/open-circle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | open-circle 6 | -------------------------------------------------------------------------------- /man/figures/open-down-triangle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | open-down-triangle 4 | -------------------------------------------------------------------------------- /man/figures/open-rect-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | open-rect 6 | -------------------------------------------------------------------------------- /man/figures/plus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | plus 4 | 5 | -------------------------------------------------------------------------------- /docs/reference/figures/down-triangle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | down-triangle 4 | -------------------------------------------------------------------------------- /docs/reference/figures/open-circle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | open-circle 6 | -------------------------------------------------------------------------------- /docs/reference/figures/open-down-triangle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | open-down-triangle 4 | -------------------------------------------------------------------------------- /man/figures/open-triangle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | open-triangle 6 | -------------------------------------------------------------------------------- /docs/reference/figures/open-rect-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | open-rect 6 | -------------------------------------------------------------------------------- /docs/reference/figures/plus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | plus 4 | 5 | -------------------------------------------------------------------------------- /docs/reference/figures/open-triangle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | open-triangle 6 | -------------------------------------------------------------------------------- /leaflegend.Rproj: -------------------------------------------------------------------------------- 1 | Version: 1.0 2 | 3 | RestoreWorkspace: Default 4 | SaveWorkspace: Default 5 | AlwaysSaveHistory: Default 6 | 7 | EnableCodeIndexing: Yes 8 | UseSpacesForTab: Yes 9 | NumSpacesForTab: 2 10 | Encoding: UTF-8 11 | 12 | RnwWeave: Sweave 13 | LaTeX: pdfLaTeX 14 | 15 | AutoAppendNewline: Yes 16 | StripTrailingWhitespace: Yes 17 | 18 | BuildType: Package 19 | PackageUseDevtools: Yes 20 | PackageInstallArgs: --no-multiarch --with-keep.source 21 | -------------------------------------------------------------------------------- /docs/deps/data-deps.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /man/figures/polygon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | polygon 4 | 5 | -------------------------------------------------------------------------------- /docs/reference/figures/polygon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | polygon 4 | 5 | -------------------------------------------------------------------------------- /man/figures/simple-cross-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | simple-cross 7 | -------------------------------------------------------------------------------- /man/figures/simple-plus-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | simple-plus 7 | -------------------------------------------------------------------------------- /docs/reference/figures/simple-cross-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | simple-cross 7 | -------------------------------------------------------------------------------- /docs/reference/figures/simple-plus-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | simple-plus 7 | -------------------------------------------------------------------------------- /man/figures/triangle-rect-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | triangle-rect 7 | -------------------------------------------------------------------------------- /docs/reference/figures/triangle-rect-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | triangle-rect 7 | -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- 1 | # Generated by roxygen2: do not edit by hand 2 | 3 | export(addLegendAwesomeIcon) 4 | export(addLegendBin) 5 | export(addLegendFactor) 6 | export(addLegendImage) 7 | export(addLegendLine) 8 | export(addLegendNumeric) 9 | export(addLegendQuantile) 10 | export(addLegendSize) 11 | export(addLegendSymbol) 12 | export(addSymbols) 13 | export(addSymbolsSize) 14 | export(availableShapes) 15 | export(makeSvgUri) 16 | export(makeSymbol) 17 | export(makeSymbolIcons) 18 | export(makeSymbolsSize) 19 | export(sizeBreaks) 20 | export(sizeNumeric) 21 | -------------------------------------------------------------------------------- /man/figures/star.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | star 4 | 5 | -------------------------------------------------------------------------------- /docs/reference/figures/star.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | star 4 | 5 | -------------------------------------------------------------------------------- /man/figures/cross-circle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | cross-circle 8 | -------------------------------------------------------------------------------- /man/figures/cross.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | cross 4 | 5 | -------------------------------------------------------------------------------- /man/figures/plus-circle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | plus-circle 8 | -------------------------------------------------------------------------------- /man/figures/cross-rect-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | cross-rect 8 | -------------------------------------------------------------------------------- /man/figures/plus-rect-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | plus-rect 8 | -------------------------------------------------------------------------------- /docs/reference/figures/cross-circle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | cross-circle 8 | -------------------------------------------------------------------------------- /docs/reference/figures/cross.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | cross 4 | 5 | -------------------------------------------------------------------------------- /docs/reference/figures/plus-circle-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | plus-circle 8 | -------------------------------------------------------------------------------- /docs/reference/figures/cross-rect-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | cross-rect 8 | -------------------------------------------------------------------------------- /docs/reference/figures/plus-rect-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | plus-rect 8 | -------------------------------------------------------------------------------- /man/figures/plus-diamond-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | plus-diamond 8 | -------------------------------------------------------------------------------- /docs/reference/figures/plus-diamond-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | plus-diamond 8 | -------------------------------------------------------------------------------- /man/figures/hexagram-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | hexagram 7 | -------------------------------------------------------------------------------- /docs/reference/figures/hexagram-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | hexagram 7 | -------------------------------------------------------------------------------- /docs/deps/bootstrap-5.2.2/font.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Inter'; 3 | font-style: normal; 4 | font-weight: 400; 5 | font-display: swap; 6 | src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfMZs.woff) format('woff'); 7 | } 8 | @font-face { 9 | font-family: 'Inter'; 10 | font-style: normal; 11 | font-weight: 500; 12 | font-display: swap; 13 | src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fMZs.woff) format('woff'); 14 | } 15 | @font-face { 16 | font-family: 'Inter'; 17 | font-style: normal; 18 | font-weight: 700; 19 | font-display: swap; 20 | src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYMZs.woff) format('woff'); 21 | } 22 | -------------------------------------------------------------------------------- /man/figures/simple-star-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | simple-star 9 | -------------------------------------------------------------------------------- /docs/reference/figures/simple-star-pch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | simple-star 9 | -------------------------------------------------------------------------------- /.github/workflows/test-coverage.yaml: -------------------------------------------------------------------------------- 1 | # Workflow derived from https://github.com/r-lib/actions/tree/master/examples 2 | # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help 3 | on: 4 | push: 5 | branches: [main] 6 | pull_request: 7 | branches: [main] 8 | 9 | name: test-coverage 10 | 11 | jobs: 12 | test-coverage: 13 | runs-on: ubuntu-latest 14 | env: 15 | GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} 16 | 17 | steps: 18 | - uses: actions/checkout@v3 19 | 20 | - uses: r-lib/actions/setup-r@v2 21 | with: 22 | use-public-rspm: true 23 | 24 | - uses: r-lib/actions/setup-r-dependencies@v2 25 | with: 26 | extra-packages: covr 27 | 28 | - name: Test coverage 29 | run: covr::codecov() 30 | shell: Rscript {0} 31 | -------------------------------------------------------------------------------- /_pkgdown.yml: -------------------------------------------------------------------------------- 1 | url: https://leaflegend.delveds.com 2 | authors: 3 | Thomas Roh: 4 | href: mailto:thomas.roh@delveds.com 5 | template: 6 | bootstrap: 5 7 | bootswatch: zephyr 8 | bslib: 9 | bg: "#f5f5f5" 10 | fg: "#100C08" 11 | primary: "#00bfff" 12 | secondary: "#ffffff" 13 | base_font: {google: "Ubuntu"} 14 | heading_font: {google: "Raleway"} 15 | code_font: {google: "Fira Code"} 16 | params: 17 | ganalytics: G-FEY7F5BR1Z 18 | includes: 19 | after_navbar: '' 20 | 21 | navbar: 22 | bg: primary 23 | type: light 24 | 25 | footer: 26 | structure: 27 | left: developed 28 | components: 29 | developed: "Developed by [Delve DS](https://delveds.com)." 30 | 31 | -------------------------------------------------------------------------------- /docs/link.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 12 | 13 | -------------------------------------------------------------------------------- /docs/reference/libs/leafletfix-1.0.0/leafletfix.css: -------------------------------------------------------------------------------- 1 | /* Work around CSS properties introduced on img by bootstrap */ 2 | img.leaflet-tile { 3 | padding: 0; 4 | margin: 0; 5 | border-radius: 0; 6 | border: none; 7 | } 8 | .leaflet .info { 9 | padding: 6px 8px; 10 | font: 14px/16px Arial, Helvetica, sans-serif; 11 | background: white; 12 | background: rgba(255,255,255,0.8); 13 | box-shadow: 0 0 15px rgba(0,0,0,0.2); 14 | border-radius: 5px; 15 | } 16 | .leaflet .legend { 17 | line-height: 18px; 18 | color: #555; 19 | } 20 | .leaflet .legend svg text { 21 | fill: #555; 22 | } 23 | .leaflet .legend svg line { 24 | stroke: #555; 25 | } 26 | .leaflet .legend i { 27 | width: 18px; 28 | height: 18px; 29 | margin-right: 4px; 30 | opacity: 0.7; 31 | display: inline-block; 32 | vertical-align: top; 33 | /*For IE 7*/ 34 | zoom: 1; 35 | *display: inline; 36 | } 37 | -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- 1 | Package: leaflegend 2 | Type: Package 3 | Title: Add Custom Legends to 'leaflet' Maps 4 | Version: 1.2.1 5 | Authors@R: c( 6 | person("Thomas", "Roh", email = "thomas@roh.engineering", role = c("aut", "cre")), 7 | person("Ricardo Rodrigo", "Basa", email = "radbasa@gmail.com", role = c("ctb"))) 8 | Description: Provides extensions to the 'leaflet' package to 9 | customize legends with images, text styling, orientation, sizing, 10 | and symbology and functions to create symbols to plot on maps. 11 | License: MIT + file LICENSE 12 | Encoding: UTF-8 13 | Depends: 14 | R (>= 3.3.0) 15 | Imports: 16 | leaflet, 17 | htmltools, 18 | stats, 19 | base64enc, 20 | htmlwidgets 21 | RoxygenNote: 7.2.3 22 | URL: https://leaflegend.delveds.com, https://github.com/tomroh/leaflegend 23 | BugReports: https://github.com/tomroh/leaflegend/issues 24 | Suggests: 25 | covr, 26 | testthat (>= 3.0.0) 27 | Config/testthat/edition: 3 28 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | # MIT License 2 | 3 | Copyright (c) 2021 Thomas P. Roh 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /docs/reference/libs/rstudio_leaflet-1.3.1/rstudio_leaflet.css: -------------------------------------------------------------------------------- 1 | .leaflet-tooltip.leaflet-tooltip-text-only, 2 | .leaflet-tooltip.leaflet-tooltip-text-only:before, 3 | .leaflet-tooltip.leaflet-tooltip-text-only:after { 4 | background: none; 5 | border: none; 6 | box-shadow: none; 7 | } 8 | 9 | .leaflet-tooltip.leaflet-tooltip-text-only.leaflet-tooltip-left { 10 | margin-left: 5px; 11 | } 12 | 13 | .leaflet-tooltip.leaflet-tooltip-text-only.leaflet-tooltip-right { 14 | margin-left: -5px; 15 | } 16 | 17 | .leaflet-tooltip:after { 18 | border-right: 6px solid transparent; 19 | /* right: -16px; */ 20 | } 21 | 22 | .leaflet-popup-pane .leaflet-popup-tip-container { 23 | /* when the tooltip container is clicked, it is closed */ 24 | pointer-events: all; 25 | /* tooltips should display the "hand" icon, just like .leaflet-interactive*/ 26 | cursor: pointer; 27 | } 28 | 29 | /* have the widget be displayed in the right 'layer' */ 30 | .leaflet-map-pane { 31 | z-index: auto; 32 | } 33 | 34 | /* Add missing rule from leaflet for img. 35 | This complete existing leaflet.css. 36 | Fix for https://github.com/rstudio/rmarkdown/issues/1949 */ 37 | .leaflet-container .leaflet-right-pane img, 38 | .leaflet-container .leaflet-left-pane img { 39 | max-width: none !important; 40 | max-height: none !important; 41 | } 42 | -------------------------------------------------------------------------------- /docs/sitemap.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | https://leaflegend.delveds.com/404.html 5 | 6 | 7 | https://leaflegend.delveds.com/LICENSE-text.html 8 | 9 | 10 | https://leaflegend.delveds.com/LICENSE.html 11 | 12 | 13 | https://leaflegend.delveds.com/authors.html 14 | 15 | 16 | https://leaflegend.delveds.com/index.html 17 | 18 | 19 | https://leaflegend.delveds.com/news/index.html 20 | 21 | 22 | https://leaflegend.delveds.com/reference/addLeafLegends.html 23 | 24 | 25 | https://leaflegend.delveds.com/reference/addLegendAwesomeIcon.html 26 | 27 | 28 | https://leaflegend.delveds.com/reference/addLegendImage.html 29 | 30 | 31 | https://leaflegend.delveds.com/reference/availableShapes.html 32 | 33 | 34 | https://leaflegend.delveds.com/reference/index.html 35 | 36 | 37 | https://leaflegend.delveds.com/reference/legendSymbols.html 38 | 39 | 40 | https://leaflegend.delveds.com/reference/mapSymbols.html 41 | 42 | 43 | -------------------------------------------------------------------------------- /.github/workflows/R-CMD-check.yaml: -------------------------------------------------------------------------------- 1 | # For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. 2 | # https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions 3 | on: 4 | push: 5 | branches: 6 | - main 7 | pull_request: 8 | branches: 9 | - main 10 | 11 | name: R-CMD-check 12 | 13 | jobs: 14 | R-CMD-check: 15 | runs-on: ${{ matrix.config.os }} 16 | 17 | name: ${{ matrix.config.os }} (${{ matrix.config.r }}) 18 | 19 | strategy: 20 | fail-fast: false 21 | matrix: 22 | config: 23 | - {os: macos-latest, r: 'release'} 24 | - {os: windows-latest, r: 'release'} 25 | - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} 26 | - {os: ubuntu-latest, r: 'release'} 27 | - {os: ubuntu-latest, r: 'oldrel-1'} 28 | 29 | env: 30 | GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} 31 | R_KEEP_PKG_SOURCE: yes 32 | 33 | steps: 34 | - uses: actions/checkout@v3 35 | 36 | - uses: r-lib/actions/setup-pandoc@v2 37 | 38 | - uses: r-lib/actions/setup-r@v2 39 | with: 40 | r-version: ${{ matrix.config.r }} 41 | http-user-agent: ${{ matrix.config.http-user-agent }} 42 | use-public-rspm: true 43 | 44 | - uses: r-lib/actions/setup-r-dependencies@v2 45 | with: 46 | extra-packages: any::rcmdcheck 47 | needs: check 48 | 49 | - uses: r-lib/actions/check-r-package@v2 50 | with: 51 | upload-snapshots: true 52 | -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/leaflet.awesome-markers.min.js: -------------------------------------------------------------------------------- 1 | (function(window,document,undefined){"use strict";L.AwesomeMarkers={};L.AwesomeMarkers.version="2.0.1";L.AwesomeMarkers.Icon=L.Icon.extend({options:{iconSize:[35,45],iconAnchor:[17,42],popupAnchor:[1,-32],shadowAnchor:[10,12],shadowSize:[36,16],className:"awesome-marker",prefix:"glyphicon",spinClass:"fa-spin",extraClasses:"",icon:"home",markerColor:"blue",iconColor:"white",iconRotate:0,font:"monospace"},initialize:function(options){options=L.Util.setOptions(this,options)},createIcon:function(){var div=document.createElement("div"),options=this.options;if(options.icon){div.innerHTML=this._createInner()}if(options.bgPos){div.style.backgroundPosition=-options.bgPos.x+"px "+-options.bgPos.y+"px"}this._setIconStyles(div,"icon-"+options.markerColor);return div},_createInner:function(){var iconClass,iconSpinClass="",iconColorClass="",iconColorStyle="",options=this.options;if(!options.prefix||options.icon.slice(0,options.prefix.length+1)===options.prefix+"-"){iconClass=options.icon}else{iconClass=options.prefix+"-"+options.icon}if(options.spin&&typeof options.spinClass==="string"){iconSpinClass=options.spinClass}if(options.iconColor){if((options.iconColor==="white"||options.iconColor==="black")&&options.prefix!=="fa"){iconColorClass="icon-"+options.iconColor}else if(options.prefix==="fa"&&options.iconColor==="white"){iconColorClass="fa-inverse"}else{iconColorStyle="color: "+options.iconColor+";"}}if(options.font&&options.text){iconColorStyle+="font-family: "+options.font+";"}if(options.iconRotate&&options.iconRotate!==0){iconColorStyle+="-webkit-transform: rotate("+options.iconRotate+"deg);";iconColorStyle+="-moz-transform: rotate("+options.iconRotate+"deg);";iconColorStyle+="-o-transform: rotate("+options.iconRotate+"deg);";iconColorStyle+="-ms-transform: rotate("+options.iconRotate+"deg);";iconColorStyle+="transform: rotate("+options.iconRotate+"deg);"}if(options.text){return""+options.text+""}return""},_setIconStyles:function(img,name){var options=this.options,size=L.point(options[name==="shadow"?"shadowSize":"iconSize"]),anchor;if(name==="shadow"){anchor=L.point(options.shadowAnchor||options.iconAnchor)}else{anchor=L.point(options.iconAnchor)}if(!anchor&&size){anchor=size.divideBy(2,true)}img.className="awesome-marker-"+name+" "+options.className;if(anchor){img.style.marginLeft=-anchor.x+"px";img.style.marginTop=-anchor.y+"px"}if(size){img.style.width=size.x+"px";img.style.height=size.y+"px"}},createShadow:function(){var div=document.createElement("div");this._setIconStyles(div,"shadow");return div}});L.AwesomeMarkers.icon=function(options){return new L.AwesomeMarkers.Icon(options)}})(this,document); 2 | -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/leaflet.awesome-markers.min.js: -------------------------------------------------------------------------------- 1 | (function(window,document,undefined){"use strict";L.AwesomeMarkers={};L.AwesomeMarkers.version="2.0.1";L.AwesomeMarkers.Icon=L.Icon.extend({options:{iconSize:[35,45],iconAnchor:[17,42],popupAnchor:[1,-32],shadowAnchor:[10,12],shadowSize:[36,16],className:"awesome-marker",prefix:"glyphicon",spinClass:"fa-spin",extraClasses:"",icon:"home",markerColor:"blue",iconColor:"white",iconRotate:0,font:"monospace"},initialize:function(options){options=L.Util.setOptions(this,options)},createIcon:function(){var div=document.createElement("div"),options=this.options;if(options.icon){div.innerHTML=this._createInner()}if(options.bgPos){div.style.backgroundPosition=-options.bgPos.x+"px "+-options.bgPos.y+"px"}this._setIconStyles(div,"icon-"+options.markerColor);return div},_createInner:function(){var iconClass,iconSpinClass="",iconColorClass="",iconColorStyle="",options=this.options;if(!options.prefix||options.icon.slice(0,options.prefix.length+1)===options.prefix+"-"){iconClass=options.icon}else{iconClass=options.prefix+"-"+options.icon}if(options.spin&&typeof options.spinClass==="string"){iconSpinClass=options.spinClass}if(options.iconColor){if((options.iconColor==="white"||options.iconColor==="black")&&options.prefix!=="fa"){iconColorClass="icon-"+options.iconColor}else if(options.prefix==="fa"&&options.iconColor==="white"){iconColorClass="fa-inverse"}else{iconColorStyle="color: "+options.iconColor+";"}}if(options.font&&options.text){iconColorStyle+="font-family: "+options.font+";"}if(options.iconRotate&&options.iconRotate!==0){iconColorStyle+="-webkit-transform: rotate("+options.iconRotate+"deg);";iconColorStyle+="-moz-transform: rotate("+options.iconRotate+"deg);";iconColorStyle+="-o-transform: rotate("+options.iconRotate+"deg);";iconColorStyle+="-ms-transform: rotate("+options.iconRotate+"deg);";iconColorStyle+="transform: rotate("+options.iconRotate+"deg);"}if(options.text){return""+options.text+""}return""},_setIconStyles:function(img,name){var options=this.options,size=L.point(options[name==="shadow"?"shadowSize":"iconSize"]),anchor;if(name==="shadow"){anchor=L.point(options.shadowAnchor||options.iconAnchor)}else{anchor=L.point(options.iconAnchor)}if(!anchor&&size){anchor=size.divideBy(2,true)}img.className="awesome-marker-"+name+" "+options.className;if(anchor){img.style.marginLeft=-anchor.x+"px";img.style.marginTop=-anchor.y+"px"}if(size){img.style.width=size.x+"px";img.style.height=size.y+"px"}},createShadow:function(){var div=document.createElement("div");this._setIconStyles(div,"shadow");return div}});L.AwesomeMarkers.icon=function(options){return new L.AwesomeMarkers.Icon(options)}})(this,document); 2 | -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/leaflet.awesome-markers.min.js: -------------------------------------------------------------------------------- 1 | (function(window,document,undefined){"use strict";L.AwesomeMarkers={};L.AwesomeMarkers.version="2.0.1";L.AwesomeMarkers.Icon=L.Icon.extend({options:{iconSize:[35,45],iconAnchor:[17,42],popupAnchor:[1,-32],shadowAnchor:[10,12],shadowSize:[36,16],className:"awesome-marker",prefix:"glyphicon",spinClass:"fa-spin",extraClasses:"",icon:"home",markerColor:"blue",iconColor:"white",iconRotate:0,font:"monospace"},initialize:function(options){options=L.Util.setOptions(this,options)},createIcon:function(){var div=document.createElement("div"),options=this.options;if(options.icon){div.innerHTML=this._createInner()}if(options.bgPos){div.style.backgroundPosition=-options.bgPos.x+"px "+-options.bgPos.y+"px"}this._setIconStyles(div,"icon-"+options.markerColor);return div},_createInner:function(){var iconClass,iconSpinClass="",iconColorClass="",iconColorStyle="",options=this.options;if(!options.prefix||options.icon.slice(0,options.prefix.length+1)===options.prefix+"-"){iconClass=options.icon}else{iconClass=options.prefix+"-"+options.icon}if(options.spin&&typeof options.spinClass==="string"){iconSpinClass=options.spinClass}if(options.iconColor){if((options.iconColor==="white"||options.iconColor==="black")&&options.prefix!=="fa"){iconColorClass="icon-"+options.iconColor}else if(options.prefix==="fa"&&options.iconColor==="white"){iconColorClass="fa-inverse"}else{iconColorStyle="color: "+options.iconColor+";"}}if(options.font&&options.text){iconColorStyle+="font-family: "+options.font+";"}if(options.iconRotate&&options.iconRotate!==0){iconColorStyle+="-webkit-transform: rotate("+options.iconRotate+"deg);";iconColorStyle+="-moz-transform: rotate("+options.iconRotate+"deg);";iconColorStyle+="-o-transform: rotate("+options.iconRotate+"deg);";iconColorStyle+="-ms-transform: rotate("+options.iconRotate+"deg);";iconColorStyle+="transform: rotate("+options.iconRotate+"deg);"}if(options.text){return""+options.text+""}return""},_setIconStyles:function(img,name){var options=this.options,size=L.point(options[name==="shadow"?"shadowSize":"iconSize"]),anchor;if(name==="shadow"){anchor=L.point(options.shadowAnchor||options.iconAnchor)}else{anchor=L.point(options.iconAnchor)}if(!anchor&&size){anchor=size.divideBy(2,true)}img.className="awesome-marker-"+name+" "+options.className;if(anchor){img.style.marginLeft=-anchor.x+"px";img.style.marginTop=-anchor.y+"px"}if(size){img.style.width=size.x+"px";img.style.height=size.y+"px"}},createShadow:function(){var div=document.createElement("div");this._setIconStyles(div,"shadow");return div}});L.AwesomeMarkers.icon=function(options){return new L.AwesomeMarkers.Icon(options)}})(this,document); 2 | -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/leaflet.awesome-markers.css: -------------------------------------------------------------------------------- 1 | /* 2 | Author: L. Voogdt 3 | License: MIT 4 | Version: 1.0 5 | */ 6 | 7 | /* Marker setup */ 8 | .awesome-marker { 9 | background: url('images/markers-soft.png') no-repeat 0 0; 10 | width: 35px; 11 | height: 46px; 12 | position:absolute; 13 | left:0; 14 | top:0; 15 | display: block; 16 | text-align: center; 17 | } 18 | 19 | .awesome-marker-shadow { 20 | background: url('images/markers-shadow.png') no-repeat 0 0; 21 | width: 36px; 22 | height: 16px; 23 | } 24 | 25 | /* Retina displays */ 26 | @media (min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2), 27 | (-webkit-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx) { 28 | .awesome-marker { 29 | background-image: url('images/markers-soft@2x.png'); 30 | background-size: 720px 92px; 31 | } 32 | .awesome-marker-shadow { 33 | background-image: url('images/markers-shadow@2x.png'); 34 | background-size: 35px 16px; 35 | } 36 | } 37 | 38 | .awesome-marker i { 39 | color: #333; 40 | margin-top: 10px; 41 | display: inline-block; 42 | font-size: 14px; 43 | } 44 | 45 | .awesome-marker .icon-white { 46 | color: #fff; 47 | } 48 | 49 | /* Colors */ 50 | .awesome-marker-icon-red { 51 | background-position: 0 0; 52 | } 53 | 54 | .awesome-marker-icon-darkred { 55 | background-position: -180px 0; 56 | } 57 | 58 | .awesome-marker-icon-lightred { 59 | background-position: -360px 0; 60 | } 61 | 62 | .awesome-marker-icon-orange { 63 | background-position: -36px 0; 64 | } 65 | 66 | .awesome-marker-icon-beige { 67 | background-position: -396px 0; 68 | } 69 | 70 | .awesome-marker-icon-green { 71 | background-position: -72px 0; 72 | } 73 | 74 | .awesome-marker-icon-darkgreen { 75 | background-position: -252px 0; 76 | } 77 | 78 | .awesome-marker-icon-lightgreen { 79 | background-position: -432px 0; 80 | } 81 | 82 | .awesome-marker-icon-blue { 83 | background-position: -108px 0; 84 | } 85 | 86 | .awesome-marker-icon-darkblue { 87 | background-position: -216px 0; 88 | } 89 | 90 | .awesome-marker-icon-lightblue { 91 | background-position: -468px 0; 92 | } 93 | 94 | .awesome-marker-icon-purple { 95 | background-position: -144px 0; 96 | } 97 | 98 | .awesome-marker-icon-darkpurple { 99 | background-position: -288px 0; 100 | } 101 | 102 | .awesome-marker-icon-pink { 103 | background-position: -504px 0; 104 | } 105 | 106 | .awesome-marker-icon-cadetblue { 107 | background-position: -324px 0; 108 | } 109 | 110 | .awesome-marker-icon-white { 111 | background-position: -576px 0; 112 | } 113 | 114 | .awesome-marker-icon-gray { 115 | background-position: -648px 0; 116 | } 117 | 118 | .awesome-marker-icon-lightgray { 119 | background-position: -612px 0; 120 | } 121 | 122 | .awesome-marker-icon-black { 123 | background-position: -682px 0; 124 | } 125 | 126 | .awesome-marker-square { 127 | background-position-y: -46px; 128 | } 129 | -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/leaflet.awesome-markers.css: -------------------------------------------------------------------------------- 1 | /* 2 | Author: L. Voogdt 3 | License: MIT 4 | Version: 1.0 5 | */ 6 | 7 | /* Marker setup */ 8 | .awesome-marker { 9 | background: url('images/markers-soft.png') no-repeat 0 0; 10 | width: 35px; 11 | height: 46px; 12 | position:absolute; 13 | left:0; 14 | top:0; 15 | display: block; 16 | text-align: center; 17 | } 18 | 19 | .awesome-marker-shadow { 20 | background: url('images/markers-shadow.png') no-repeat 0 0; 21 | width: 36px; 22 | height: 16px; 23 | } 24 | 25 | /* Retina displays */ 26 | @media (min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2), 27 | (-webkit-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx) { 28 | .awesome-marker { 29 | background-image: url('images/markers-soft@2x.png'); 30 | background-size: 720px 92px; 31 | } 32 | .awesome-marker-shadow { 33 | background-image: url('images/markers-shadow@2x.png'); 34 | background-size: 35px 16px; 35 | } 36 | } 37 | 38 | .awesome-marker i { 39 | color: #333; 40 | margin-top: 10px; 41 | display: inline-block; 42 | font-size: 14px; 43 | } 44 | 45 | .awesome-marker .icon-white { 46 | color: #fff; 47 | } 48 | 49 | /* Colors */ 50 | .awesome-marker-icon-red { 51 | background-position: 0 0; 52 | } 53 | 54 | .awesome-marker-icon-darkred { 55 | background-position: -180px 0; 56 | } 57 | 58 | .awesome-marker-icon-lightred { 59 | background-position: -360px 0; 60 | } 61 | 62 | .awesome-marker-icon-orange { 63 | background-position: -36px 0; 64 | } 65 | 66 | .awesome-marker-icon-beige { 67 | background-position: -396px 0; 68 | } 69 | 70 | .awesome-marker-icon-green { 71 | background-position: -72px 0; 72 | } 73 | 74 | .awesome-marker-icon-darkgreen { 75 | background-position: -252px 0; 76 | } 77 | 78 | .awesome-marker-icon-lightgreen { 79 | background-position: -432px 0; 80 | } 81 | 82 | .awesome-marker-icon-blue { 83 | background-position: -108px 0; 84 | } 85 | 86 | .awesome-marker-icon-darkblue { 87 | background-position: -216px 0; 88 | } 89 | 90 | .awesome-marker-icon-lightblue { 91 | background-position: -468px 0; 92 | } 93 | 94 | .awesome-marker-icon-purple { 95 | background-position: -144px 0; 96 | } 97 | 98 | .awesome-marker-icon-darkpurple { 99 | background-position: -288px 0; 100 | } 101 | 102 | .awesome-marker-icon-pink { 103 | background-position: -504px 0; 104 | } 105 | 106 | .awesome-marker-icon-cadetblue { 107 | background-position: -324px 0; 108 | } 109 | 110 | .awesome-marker-icon-white { 111 | background-position: -576px 0; 112 | } 113 | 114 | .awesome-marker-icon-gray { 115 | background-position: -648px 0; 116 | } 117 | 118 | .awesome-marker-icon-lightgray { 119 | background-position: -612px 0; 120 | } 121 | 122 | .awesome-marker-icon-black { 123 | background-position: -682px 0; 124 | } 125 | 126 | .awesome-marker-square { 127 | background-position-y: -46px; 128 | } 129 | -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/leaflet.awesome-markers.css: -------------------------------------------------------------------------------- 1 | /* 2 | Author: L. Voogdt 3 | License: MIT 4 | Version: 1.0 5 | */ 6 | 7 | /* Marker setup */ 8 | .awesome-marker { 9 | background: url('images/markers-soft.png') no-repeat 0 0; 10 | width: 35px; 11 | height: 46px; 12 | position:absolute; 13 | left:0; 14 | top:0; 15 | display: block; 16 | text-align: center; 17 | } 18 | 19 | .awesome-marker-shadow { 20 | background: url('images/markers-shadow.png') no-repeat 0 0; 21 | width: 36px; 22 | height: 16px; 23 | } 24 | 25 | /* Retina displays */ 26 | @media (min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2), 27 | (-webkit-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx) { 28 | .awesome-marker { 29 | background-image: url('images/markers-soft@2x.png'); 30 | background-size: 720px 92px; 31 | } 32 | .awesome-marker-shadow { 33 | background-image: url('images/markers-shadow@2x.png'); 34 | background-size: 35px 16px; 35 | } 36 | } 37 | 38 | .awesome-marker i { 39 | color: #333; 40 | margin-top: 10px; 41 | display: inline-block; 42 | font-size: 14px; 43 | } 44 | 45 | .awesome-marker .icon-white { 46 | color: #fff; 47 | } 48 | 49 | /* Colors */ 50 | .awesome-marker-icon-red { 51 | background-position: 0 0; 52 | } 53 | 54 | .awesome-marker-icon-darkred { 55 | background-position: -180px 0; 56 | } 57 | 58 | .awesome-marker-icon-lightred { 59 | background-position: -360px 0; 60 | } 61 | 62 | .awesome-marker-icon-orange { 63 | background-position: -36px 0; 64 | } 65 | 66 | .awesome-marker-icon-beige { 67 | background-position: -396px 0; 68 | } 69 | 70 | .awesome-marker-icon-green { 71 | background-position: -72px 0; 72 | } 73 | 74 | .awesome-marker-icon-darkgreen { 75 | background-position: -252px 0; 76 | } 77 | 78 | .awesome-marker-icon-lightgreen { 79 | background-position: -432px 0; 80 | } 81 | 82 | .awesome-marker-icon-blue { 83 | background-position: -108px 0; 84 | } 85 | 86 | .awesome-marker-icon-darkblue { 87 | background-position: -216px 0; 88 | } 89 | 90 | .awesome-marker-icon-lightblue { 91 | background-position: -468px 0; 92 | } 93 | 94 | .awesome-marker-icon-purple { 95 | background-position: -144px 0; 96 | } 97 | 98 | .awesome-marker-icon-darkpurple { 99 | background-position: -288px 0; 100 | } 101 | 102 | .awesome-marker-icon-pink { 103 | background-position: -504px 0; 104 | } 105 | 106 | .awesome-marker-icon-cadetblue { 107 | background-position: -324px 0; 108 | } 109 | 110 | .awesome-marker-icon-white { 111 | background-position: -576px 0; 112 | } 113 | 114 | .awesome-marker-icon-gray { 115 | background-position: -648px 0; 116 | } 117 | 118 | .awesome-marker-icon-lightgray { 119 | background-position: -612px 0; 120 | } 121 | 122 | .awesome-marker-icon-black { 123 | background-position: -682px 0; 124 | } 125 | 126 | .awesome-marker-square { 127 | background-position-y: -46px; 128 | } 129 | -------------------------------------------------------------------------------- /man/addLegendAwesomeIcon.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/legend.R 3 | \name{addLegendAwesomeIcon} 4 | \alias{addLegendAwesomeIcon} 5 | \title{Add a legend with Awesome Icons} 6 | \usage{ 7 | addLegendAwesomeIcon( 8 | map, 9 | iconSet, 10 | title = NULL, 11 | labelStyle = "", 12 | orientation = c("vertical", "horizontal"), 13 | marker = TRUE, 14 | group = NULL, 15 | className = "info legend leaflet-control", 16 | ... 17 | ) 18 | } 19 | \arguments{ 20 | \item{map}{a map widget object created from 'leaflet'} 21 | 22 | \item{iconSet}{a named list from \link[leaflet]{awesomeIconList}, the names will be the 23 | labels in the legend} 24 | 25 | \item{title}{the legend title, pass in HTML to style} 26 | 27 | \item{labelStyle}{character string of style argument for HTML text} 28 | 29 | \item{orientation}{stack the legend items vertically or horizontally} 30 | 31 | \item{marker}{whether to show the marker or only the icon} 32 | 33 | \item{group}{group name of a leaflet layer group} 34 | 35 | \item{className}{extra CSS class to append to the control, space separated} 36 | 37 | \item{...}{arguments to pass to \link[leaflet]{addControl}} 38 | } 39 | \value{ 40 | an object from \link[leaflet]{addControl} 41 | } 42 | \description{ 43 | Add a legend with Awesome Icons 44 | } 45 | \examples{ 46 | library(leaflet) 47 | data(quakes) 48 | iconSet <- awesomeIconList( 49 | `Font Awesome` = makeAwesomeIcon(icon = "font-awesome", library = "fa", 50 | iconColor = 'gold', markerColor = 'red', 51 | spin = FALSE, 52 | squareMarker = TRUE, 53 | iconRotate = 30, 54 | ), 55 | Ionic = makeAwesomeIcon(icon = "ionic", library = "ion", 56 | iconColor = '#ffffff', markerColor = 'blue', 57 | spin = TRUE, 58 | squareMarker = FALSE), 59 | Glyphicon = makeAwesomeIcon(icon = "plus-sign", library = "glyphicon", 60 | iconColor = 'rgb(192, 255, 0)', 61 | markerColor = 'darkpurple', 62 | spin = TRUE, 63 | squareMarker = FALSE) 64 | ) 65 | leaflet(quakes[1:3,]) \%>\% 66 | addTiles() \%>\% 67 | addAwesomeMarkers(lat = ~lat, 68 | lng = ~long, 69 | icon = iconSet) \%>\% 70 | addLegendAwesomeIcon(iconSet = iconSet, 71 | orientation = 'horizontal', 72 | title = htmltools::tags$div( 73 | style = 'font-size: 20px;', 74 | 'Awesome Icons'), 75 | labelStyle = 'font-size: 16px;') \%>\% 76 | addLegendAwesomeIcon(iconSet = iconSet, 77 | orientation = 'vertical', 78 | marker = FALSE, 79 | title = htmltools::tags$div( 80 | style = 'font-size: 20px;', 81 | 'Awesome Icons'), 82 | labelStyle = 'font-size: 16px;') 83 | } 84 | -------------------------------------------------------------------------------- /man/addLegendImage.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/legend.R 3 | \name{addLegendImage} 4 | \alias{addLegendImage} 5 | \title{Add a Legend with Images} 6 | \usage{ 7 | addLegendImage( 8 | map, 9 | images, 10 | labels, 11 | title = NULL, 12 | labelStyle = "font-size: 24px; vertical-align: middle;", 13 | orientation = c("vertical", "horizontal"), 14 | width = 20, 15 | height = 20, 16 | group = NULL, 17 | className = "info legend leaflet-control", 18 | ... 19 | ) 20 | } 21 | \arguments{ 22 | \item{map}{a map widget object created from 'leaflet'} 23 | 24 | \item{images}{path to the image file} 25 | 26 | \item{labels}{labels for each image} 27 | 28 | \item{title}{the legend title, pass in HTML to style} 29 | 30 | \item{labelStyle}{character string of style argument for HTML text} 31 | 32 | \item{orientation}{stack the legend items vertically or horizontally} 33 | 34 | \item{width}{in pixels} 35 | 36 | \item{height}{in pixels} 37 | 38 | \item{group}{group name of a leaflet layer group} 39 | 40 | \item{className}{extra CSS class to append to the control, space separated} 41 | 42 | \item{...}{arguments to pass to \link[leaflet]{addControl}} 43 | } 44 | \value{ 45 | an object from \link[leaflet]{addControl} 46 | } 47 | \description{ 48 | Creates a legend with images that are embedded into a 'leaflet' map so that 49 | images do not need to be packaged when saving a 'leaflet' map as HTML. Full 50 | control over the label and title style. The 'leaflet' map is passed through 51 | and the output is a control so that legend is fully integrated with other 52 | functionalities. 53 | } 54 | \examples{ 55 | 56 | library(leaflet) 57 | data(quakes) 58 | 59 | quakes1 <- quakes[1:10,] 60 | 61 | colors <- c('blue', 'red', 'yellow', 'green', 'orange', 'purple') 62 | i <- as.integer(cut(quakes$mag, breaks = quantile(quakes$mag, seq(0,1,1/6)), 63 | include.lowest = TRUE)) 64 | leafImg <- system.file(sprintf('img/leaf-\%s.png', colors), 65 | package = 'leaflegend') 66 | leafIcons <- icons( 67 | iconUrl = leafImg[i], 68 | iconWidth = 133/236 * 50, iconHeight = 50 69 | ) 70 | leaflet(data = quakes) \%>\% addTiles() \%>\% 71 | addMarkers(~long, ~lat, icon = leafIcons) \%>\% 72 | addLegendImage(images = leafImg, 73 | labels = colors, 74 | width = 133/236 * 50, 75 | height = 50, 76 | orientation = 'vertical', 77 | title = htmltools::tags$div('Leaf', 78 | style = 'font-size: 24px; 79 | text-align: center;'), 80 | position = 'topright') 81 | 82 | # use raster images with size encodings 83 | height <- sizeNumeric(quakes$depth, baseSize = 40) 84 | width <- height * 38 / 95 85 | symbols <- icons( 86 | iconUrl = leafImg[4], 87 | iconWidth = width, 88 | iconHeight = height) 89 | probs <- c(.2, .4, .6, .8) 90 | leaflet(quakes) \%>\% 91 | addTiles() \%>\% 92 | addMarkers(icon = symbols, 93 | lat = ~lat, lng = ~long) \%>\% 94 | addLegendImage( 95 | images = rep(leafImg[4], 4), 96 | labels = round(quantile(height, probs = probs), 0), 97 | width = quantile(height, probs = probs) * 38 / 95, 98 | height = quantile(height, probs = probs), 99 | title = htmltools::tags$div( 100 | 'Leaf', 101 | style = 'font-size: 24px; text-align: center; margin-bottom: 5px;'), 102 | position = 'topright', orientation = 'vertical') 103 | } 104 | -------------------------------------------------------------------------------- /man/mapSymbols.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/legend.R 3 | \name{mapSymbols} 4 | \alias{mapSymbols} 5 | \alias{makeSymbol} 6 | \alias{makeSvgUri} 7 | \alias{makeSymbolIcons} 8 | \alias{addSymbols} 9 | \alias{addSymbolsSize} 10 | \alias{sizeNumeric} 11 | \alias{sizeBreaks} 12 | \alias{makeSymbolsSize} 13 | \title{Create Map Symbols for 'leaflet' maps} 14 | \usage{ 15 | makeSymbol( 16 | shape, 17 | width, 18 | height = width, 19 | color, 20 | fillColor = color, 21 | opacity = 1, 22 | fillOpacity = opacity, 23 | ... 24 | ) 25 | 26 | makeSvgUri(svg, width, height, strokeWidth) 27 | 28 | makeSymbolIcons( 29 | shape, 30 | color, 31 | fillColor = color, 32 | opacity, 33 | fillOpacity = opacity, 34 | strokeWidth = 1, 35 | width, 36 | height = width, 37 | ... 38 | ) 39 | 40 | addSymbols( 41 | map, 42 | lng, 43 | lat, 44 | values, 45 | shape, 46 | color, 47 | fillColor = color, 48 | opacity = 1, 49 | fillOpacity = opacity, 50 | strokeWidth = 1, 51 | width = 20, 52 | height = width, 53 | dashArray = NULL, 54 | data = leaflet::getMapData(map), 55 | ... 56 | ) 57 | 58 | addSymbolsSize( 59 | map, 60 | lng, 61 | lat, 62 | values, 63 | shape, 64 | color, 65 | fillColor = color, 66 | opacity = 1, 67 | fillOpacity = opacity, 68 | strokeWidth = 1, 69 | baseSize = 20, 70 | data = leaflet::getMapData(map), 71 | ... 72 | ) 73 | 74 | sizeNumeric(values, baseSize) 75 | 76 | sizeBreaks(values, breaks, baseSize, ...) 77 | 78 | makeSymbolsSize( 79 | values, 80 | shape = "rect", 81 | color, 82 | fillColor, 83 | opacity = 1, 84 | fillOpacity = opacity, 85 | strokeWidth = 1, 86 | baseSize, 87 | ... 88 | ) 89 | } 90 | \arguments{ 91 | \item{shape}{the desired shape of the symbol, See \link[leaflegend]{availableShapes}} 92 | 93 | \item{width}{in pixels} 94 | 95 | \item{height}{in pixels} 96 | 97 | \item{color}{stroke color} 98 | 99 | \item{fillColor}{fill color} 100 | 101 | \item{opacity}{stroke opacity} 102 | 103 | \item{fillOpacity}{fill opacity} 104 | 105 | \item{...}{arguments to pass to \code{pretty}} 106 | 107 | \item{svg}{inner svg tags for symbol} 108 | 109 | \item{strokeWidth}{stroke width in pixels} 110 | 111 | \item{map}{a map widget object created from 'leaflet'} 112 | 113 | \item{lng}{a numeric vector of longitudes, or a one-sided formula of the form \code{~x} 114 | where \code{x} is a variable in \code{data}; by default 115 | (if not explicitly provided), it will be automatically inferred from data 116 | by looking for a column named \code{lng}, \code{long}, or \code{longitude} 117 | (case-insensitively)} 118 | 119 | \item{lat}{a vector of latitudes or a formula (similar to the \code{lng} argument; the 120 | names \code{lat} and \code{latitude} are used when guessing the latitude 121 | column from \code{data})} 122 | 123 | \item{values}{the values used to generate shapes; can be omitted for a single type of 124 | shape} 125 | 126 | \item{dashArray}{a string or vector/list of strings that defines the stroke dash pattern} 127 | 128 | \item{data}{the data object from which the argument values are derived; by default, it 129 | is the \code{data} object provided to \code{leaflet()} initially, but can be 130 | overridden} 131 | 132 | \item{baseSize}{re-scaling size in pixels of the mean of the values, the average value will 133 | be this exact size} 134 | 135 | \item{breaks}{an integer specifying the number of breaks or a numeric vector of the breaks; 136 | if a named vector then the names are used as labels.} 137 | } 138 | \value{ 139 | HTML svg element 140 | } 141 | \description{ 142 | Create Map Symbols for 'leaflet' maps 143 | } 144 | -------------------------------------------------------------------------------- /docs/pkgdown.js: -------------------------------------------------------------------------------- 1 | /* http://gregfranko.com/blog/jquery-best-practices/ */ 2 | (function($) { 3 | $(function() { 4 | 5 | $('nav.navbar').headroom(); 6 | 7 | Toc.init({ 8 | $nav: $("#toc"), 9 | $scope: $("main h2, main h3, main h4, main h5, main h6") 10 | }); 11 | 12 | if ($('#toc').length) { 13 | $('body').scrollspy({ 14 | target: '#toc', 15 | offset: $("nav.navbar").outerHeight() + 1 16 | }); 17 | } 18 | 19 | // Activate popovers 20 | $('[data-bs-toggle="popover"]').popover({ 21 | container: 'body', 22 | html: true, 23 | trigger: 'focus', 24 | placement: "top", 25 | sanitize: false, 26 | }); 27 | 28 | $('[data-bs-toggle="tooltip"]').tooltip(); 29 | 30 | /* Clipboard --------------------------*/ 31 | 32 | function changeTooltipMessage(element, msg) { 33 | var tooltipOriginalTitle=element.getAttribute('data-original-title'); 34 | element.setAttribute('data-original-title', msg); 35 | $(element).tooltip('show'); 36 | element.setAttribute('data-original-title', tooltipOriginalTitle); 37 | } 38 | 39 | if(ClipboardJS.isSupported()) { 40 | $(document).ready(function() { 41 | var copyButton = ""; 42 | 43 | $("div.sourceCode").addClass("hasCopyButton"); 44 | 45 | // Insert copy buttons: 46 | $(copyButton).prependTo(".hasCopyButton"); 47 | 48 | // Initialize tooltips: 49 | $('.btn-copy-ex').tooltip({container: 'body'}); 50 | 51 | // Initialize clipboard: 52 | var clipboard = new ClipboardJS('[data-clipboard-copy]', { 53 | text: function(trigger) { 54 | return trigger.parentNode.textContent.replace(/\n#>[^\n]*/g, ""); 55 | } 56 | }); 57 | 58 | clipboard.on('success', function(e) { 59 | changeTooltipMessage(e.trigger, 'Copied!'); 60 | e.clearSelection(); 61 | }); 62 | 63 | clipboard.on('error', function() { 64 | changeTooltipMessage(e.trigger,'Press Ctrl+C or Command+C to copy'); 65 | }); 66 | 67 | }); 68 | } 69 | 70 | /* Search marking --------------------------*/ 71 | var url = new URL(window.location.href); 72 | var toMark = url.searchParams.get("q"); 73 | var mark = new Mark("main#main"); 74 | if (toMark) { 75 | mark.mark(toMark, { 76 | accuracy: { 77 | value: "complementary", 78 | limiters: [",", ".", ":", "/"], 79 | } 80 | }); 81 | } 82 | 83 | /* Search --------------------------*/ 84 | /* Adapted from https://github.com/rstudio/bookdown/blob/2d692ba4b61f1e466c92e78fd712b0ab08c11d31/inst/resources/bs4_book/bs4_book.js#L25 */ 85 | // Initialise search index on focus 86 | var fuse; 87 | $("#search-input").focus(async function(e) { 88 | if (fuse) { 89 | return; 90 | } 91 | 92 | $(e.target).addClass("loading"); 93 | var response = await fetch($("#search-input").data("search-index")); 94 | var data = await response.json(); 95 | 96 | var options = { 97 | keys: ["what", "text", "code"], 98 | ignoreLocation: true, 99 | threshold: 0.1, 100 | includeMatches: true, 101 | includeScore: true, 102 | }; 103 | fuse = new Fuse(data, options); 104 | 105 | $(e.target).removeClass("loading"); 106 | }); 107 | 108 | // Use algolia autocomplete 109 | var options = { 110 | autoselect: true, 111 | debug: true, 112 | hint: false, 113 | minLength: 2, 114 | }; 115 | var q; 116 | async function searchFuse(query, callback) { 117 | await fuse; 118 | 119 | var items; 120 | if (!fuse) { 121 | items = []; 122 | } else { 123 | q = query; 124 | var results = fuse.search(query, { limit: 20 }); 125 | items = results 126 | .filter((x) => x.score <= 0.75) 127 | .map((x) => x.item); 128 | if (items.length === 0) { 129 | items = [{dir:"Sorry 😿",previous_headings:"",title:"No results found.",what:"No results found.",path:window.location.href}]; 130 | } 131 | } 132 | callback(items); 133 | } 134 | $("#search-input").autocomplete(options, [ 135 | { 136 | name: "content", 137 | source: searchFuse, 138 | templates: { 139 | suggestion: (s) => { 140 | if (s.title == s.what) { 141 | return `${s.dir} >
${s.title}
`; 142 | } else if (s.previous_headings == "") { 143 | return `${s.dir} >
${s.title}
> ${s.what}`; 144 | } else { 145 | return `${s.dir} >
${s.title}
> ${s.previous_headings} > ${s.what}`; 146 | } 147 | }, 148 | }, 149 | }, 150 | ]).on('autocomplete:selected', function(event, s) { 151 | window.location.href = s.path + "?q=" + q + "#" + s.id; 152 | }); 153 | }); 154 | })(window.jQuery || window.$) 155 | 156 | 157 | -------------------------------------------------------------------------------- /docs/reference/libs/fontawesome-4.7.0/leaflet.awesome-markers.js: -------------------------------------------------------------------------------- 1 | /* 2 | Leaflet.AwesomeMarkers, a plugin that adds colorful iconic markers for Leaflet, based on the Font Awesome icons 3 | (c) 2012-2013, Lennard Voogdt 4 | 5 | https://leafletjs.com 6 | https://github.com/lvoogdt 7 | */ 8 | 9 | /*global L*/ 10 | 11 | (function (window, document, undefined) { 12 | "use strict"; 13 | /* 14 | * Leaflet.AwesomeMarkers assumes that you have already included the Leaflet library. 15 | */ 16 | 17 | L.AwesomeMarkers = {}; 18 | 19 | L.AwesomeMarkers.version = '2.0.1'; 20 | 21 | L.AwesomeMarkers.Icon = L.Icon.extend({ 22 | options: { 23 | iconSize: [35, 45], 24 | iconAnchor: [17, 42], 25 | popupAnchor: [1, -32], 26 | shadowAnchor: [10, 12], 27 | shadowSize: [36, 16], 28 | className: 'awesome-marker', 29 | prefix: 'glyphicon', 30 | spinClass: 'fa-spin', 31 | extraClasses: '', 32 | icon: 'home', 33 | markerColor: 'blue', 34 | iconColor: 'white', 35 | iconRotate: 0, 36 | font: 'monospace' 37 | }, 38 | 39 | initialize: function (options) { 40 | options = L.Util.setOptions(this, options); 41 | }, 42 | 43 | createIcon: function () { 44 | var div = document.createElement('div'), 45 | options = this.options; 46 | 47 | if (options.icon) { 48 | div.innerHTML = this._createInner(); 49 | } 50 | 51 | if (options.bgPos) { 52 | div.style.backgroundPosition = 53 | (-options.bgPos.x) + 'px ' + (-options.bgPos.y) + 'px'; 54 | } 55 | 56 | this._setIconStyles(div, 'icon-' + options.markerColor); 57 | return div; 58 | }, 59 | 60 | _createInner: function() { 61 | var iconClass, 62 | iconSpinClass = "", 63 | iconColorClass = "", 64 | iconColorStyle = "", 65 | options = this.options; 66 | 67 | if(!options.prefix || (options.icon.slice(0,options.prefix.length+1) === options.prefix + "-")) { 68 | iconClass = options.icon; 69 | } else { 70 | iconClass = options.prefix + "-" + options.icon; 71 | } 72 | 73 | if(options.spin && typeof options.spinClass === "string") { 74 | iconSpinClass = options.spinClass; 75 | } 76 | 77 | if(options.iconColor) { 78 | if ((options.iconColor === 'white' || options.iconColor === 'black') && 79 | options.prefix !== 'fa') { 80 | iconColorClass = "icon-" + options.iconColor; 81 | } else if (options.prefix === 'fa' && options.iconColor === 'white') { 82 | iconColorClass = "fa-inverse"; 83 | } else { 84 | iconColorStyle = "color: " + options.iconColor + ";"; 85 | } 86 | } 87 | if(options.font && options.text) { 88 | iconColorStyle += "font-family: " + options.font + ";"; 89 | } 90 | 91 | if(options.iconRotate && options.iconRotate !== 0) { 92 | iconColorStyle += "-webkit-transform: rotate(" + options.iconRotate + "deg);"; 93 | iconColorStyle += "-moz-transform: rotate(" + options.iconRotate + "deg);"; 94 | iconColorStyle += "-o-transform: rotate(" + options.iconRotate + "deg);"; 95 | iconColorStyle += "-ms-transform: rotate(" + options.iconRotate + "deg);"; 96 | iconColorStyle += "transform: rotate(" + options.iconRotate + "deg);"; 97 | } 98 | 99 | if (options.text) { 100 | return "" + options.text + ""; 101 | } 102 | 103 | return ""; 104 | }, 105 | 106 | _setIconStyles: function (img, name) { 107 | var options = this.options, 108 | size = L.point(options[name === 'shadow' ? 'shadowSize' : 'iconSize']), 109 | anchor; 110 | 111 | if (name === 'shadow') { 112 | anchor = L.point(options.shadowAnchor || options.iconAnchor); 113 | } else { 114 | anchor = L.point(options.iconAnchor); 115 | } 116 | 117 | if (!anchor && size) { 118 | anchor = size.divideBy(2, true); 119 | } 120 | 121 | img.className = 'awesome-marker-' + name + ' ' + options.className; 122 | 123 | if (anchor) { 124 | img.style.marginLeft = (-anchor.x) + 'px'; 125 | img.style.marginTop = (-anchor.y) + 'px'; 126 | } 127 | 128 | if (size) { 129 | img.style.width = size.x + 'px'; 130 | img.style.height = size.y + 'px'; 131 | } 132 | }, 133 | 134 | createShadow: function () { 135 | var div = document.createElement('div'); 136 | 137 | this._setIconStyles(div, 'shadow'); 138 | return div; 139 | } 140 | }); 141 | 142 | L.AwesomeMarkers.icon = function (options) { 143 | return new L.AwesomeMarkers.Icon(options); 144 | }; 145 | 146 | }(this, document)); 147 | -------------------------------------------------------------------------------- /docs/reference/libs/ionicons-2.0.1/leaflet.awesome-markers.js: -------------------------------------------------------------------------------- 1 | /* 2 | Leaflet.AwesomeMarkers, a plugin that adds colorful iconic markers for Leaflet, based on the Font Awesome icons 3 | (c) 2012-2013, Lennard Voogdt 4 | 5 | https://leafletjs.com 6 | https://github.com/lvoogdt 7 | */ 8 | 9 | /*global L*/ 10 | 11 | (function (window, document, undefined) { 12 | "use strict"; 13 | /* 14 | * Leaflet.AwesomeMarkers assumes that you have already included the Leaflet library. 15 | */ 16 | 17 | L.AwesomeMarkers = {}; 18 | 19 | L.AwesomeMarkers.version = '2.0.1'; 20 | 21 | L.AwesomeMarkers.Icon = L.Icon.extend({ 22 | options: { 23 | iconSize: [35, 45], 24 | iconAnchor: [17, 42], 25 | popupAnchor: [1, -32], 26 | shadowAnchor: [10, 12], 27 | shadowSize: [36, 16], 28 | className: 'awesome-marker', 29 | prefix: 'glyphicon', 30 | spinClass: 'fa-spin', 31 | extraClasses: '', 32 | icon: 'home', 33 | markerColor: 'blue', 34 | iconColor: 'white', 35 | iconRotate: 0, 36 | font: 'monospace' 37 | }, 38 | 39 | initialize: function (options) { 40 | options = L.Util.setOptions(this, options); 41 | }, 42 | 43 | createIcon: function () { 44 | var div = document.createElement('div'), 45 | options = this.options; 46 | 47 | if (options.icon) { 48 | div.innerHTML = this._createInner(); 49 | } 50 | 51 | if (options.bgPos) { 52 | div.style.backgroundPosition = 53 | (-options.bgPos.x) + 'px ' + (-options.bgPos.y) + 'px'; 54 | } 55 | 56 | this._setIconStyles(div, 'icon-' + options.markerColor); 57 | return div; 58 | }, 59 | 60 | _createInner: function() { 61 | var iconClass, 62 | iconSpinClass = "", 63 | iconColorClass = "", 64 | iconColorStyle = "", 65 | options = this.options; 66 | 67 | if(!options.prefix || (options.icon.slice(0,options.prefix.length+1) === options.prefix + "-")) { 68 | iconClass = options.icon; 69 | } else { 70 | iconClass = options.prefix + "-" + options.icon; 71 | } 72 | 73 | if(options.spin && typeof options.spinClass === "string") { 74 | iconSpinClass = options.spinClass; 75 | } 76 | 77 | if(options.iconColor) { 78 | if ((options.iconColor === 'white' || options.iconColor === 'black') && 79 | options.prefix !== 'fa') { 80 | iconColorClass = "icon-" + options.iconColor; 81 | } else if (options.prefix === 'fa' && options.iconColor === 'white') { 82 | iconColorClass = "fa-inverse"; 83 | } else { 84 | iconColorStyle = "color: " + options.iconColor + ";"; 85 | } 86 | } 87 | if(options.font && options.text) { 88 | iconColorStyle += "font-family: " + options.font + ";"; 89 | } 90 | 91 | if(options.iconRotate && options.iconRotate !== 0) { 92 | iconColorStyle += "-webkit-transform: rotate(" + options.iconRotate + "deg);"; 93 | iconColorStyle += "-moz-transform: rotate(" + options.iconRotate + "deg);"; 94 | iconColorStyle += "-o-transform: rotate(" + options.iconRotate + "deg);"; 95 | iconColorStyle += "-ms-transform: rotate(" + options.iconRotate + "deg);"; 96 | iconColorStyle += "transform: rotate(" + options.iconRotate + "deg);"; 97 | } 98 | 99 | if (options.text) { 100 | return "" + options.text + ""; 101 | } 102 | 103 | return ""; 104 | }, 105 | 106 | _setIconStyles: function (img, name) { 107 | var options = this.options, 108 | size = L.point(options[name === 'shadow' ? 'shadowSize' : 'iconSize']), 109 | anchor; 110 | 111 | if (name === 'shadow') { 112 | anchor = L.point(options.shadowAnchor || options.iconAnchor); 113 | } else { 114 | anchor = L.point(options.iconAnchor); 115 | } 116 | 117 | if (!anchor && size) { 118 | anchor = size.divideBy(2, true); 119 | } 120 | 121 | img.className = 'awesome-marker-' + name + ' ' + options.className; 122 | 123 | if (anchor) { 124 | img.style.marginLeft = (-anchor.x) + 'px'; 125 | img.style.marginTop = (-anchor.y) + 'px'; 126 | } 127 | 128 | if (size) { 129 | img.style.width = size.x + 'px'; 130 | img.style.height = size.y + 'px'; 131 | } 132 | }, 133 | 134 | createShadow: function () { 135 | var div = document.createElement('div'); 136 | 137 | this._setIconStyles(div, 'shadow'); 138 | return div; 139 | } 140 | }); 141 | 142 | L.AwesomeMarkers.icon = function (options) { 143 | return new L.AwesomeMarkers.Icon(options); 144 | }; 145 | 146 | }(this, document)); 147 | -------------------------------------------------------------------------------- /docs/reference/libs/leaflet-awesomemarkers-2.0.3/leaflet.awesome-markers.js: -------------------------------------------------------------------------------- 1 | /* 2 | Leaflet.AwesomeMarkers, a plugin that adds colorful iconic markers for Leaflet, based on the Font Awesome icons 3 | (c) 2012-2013, Lennard Voogdt 4 | 5 | https://leafletjs.com 6 | https://github.com/lvoogdt 7 | */ 8 | 9 | /*global L*/ 10 | 11 | (function (window, document, undefined) { 12 | "use strict"; 13 | /* 14 | * Leaflet.AwesomeMarkers assumes that you have already included the Leaflet library. 15 | */ 16 | 17 | L.AwesomeMarkers = {}; 18 | 19 | L.AwesomeMarkers.version = '2.0.1'; 20 | 21 | L.AwesomeMarkers.Icon = L.Icon.extend({ 22 | options: { 23 | iconSize: [35, 45], 24 | iconAnchor: [17, 42], 25 | popupAnchor: [1, -32], 26 | shadowAnchor: [10, 12], 27 | shadowSize: [36, 16], 28 | className: 'awesome-marker', 29 | prefix: 'glyphicon', 30 | spinClass: 'fa-spin', 31 | extraClasses: '', 32 | icon: 'home', 33 | markerColor: 'blue', 34 | iconColor: 'white', 35 | iconRotate: 0, 36 | font: 'monospace' 37 | }, 38 | 39 | initialize: function (options) { 40 | options = L.Util.setOptions(this, options); 41 | }, 42 | 43 | createIcon: function () { 44 | var div = document.createElement('div'), 45 | options = this.options; 46 | 47 | if (options.icon) { 48 | div.innerHTML = this._createInner(); 49 | } 50 | 51 | if (options.bgPos) { 52 | div.style.backgroundPosition = 53 | (-options.bgPos.x) + 'px ' + (-options.bgPos.y) + 'px'; 54 | } 55 | 56 | this._setIconStyles(div, 'icon-' + options.markerColor); 57 | return div; 58 | }, 59 | 60 | _createInner: function() { 61 | var iconClass, 62 | iconSpinClass = "", 63 | iconColorClass = "", 64 | iconColorStyle = "", 65 | options = this.options; 66 | 67 | if(!options.prefix || (options.icon.slice(0,options.prefix.length+1) === options.prefix + "-")) { 68 | iconClass = options.icon; 69 | } else { 70 | iconClass = options.prefix + "-" + options.icon; 71 | } 72 | 73 | if(options.spin && typeof options.spinClass === "string") { 74 | iconSpinClass = options.spinClass; 75 | } 76 | 77 | if(options.iconColor) { 78 | if ((options.iconColor === 'white' || options.iconColor === 'black') && 79 | options.prefix !== 'fa') { 80 | iconColorClass = "icon-" + options.iconColor; 81 | } else if (options.prefix === 'fa' && options.iconColor === 'white') { 82 | iconColorClass = "fa-inverse"; 83 | } else { 84 | iconColorStyle = "color: " + options.iconColor + ";"; 85 | } 86 | } 87 | if(options.font && options.text) { 88 | iconColorStyle += "font-family: " + options.font + ";"; 89 | } 90 | 91 | if(options.iconRotate && options.iconRotate !== 0) { 92 | iconColorStyle += "-webkit-transform: rotate(" + options.iconRotate + "deg);"; 93 | iconColorStyle += "-moz-transform: rotate(" + options.iconRotate + "deg);"; 94 | iconColorStyle += "-o-transform: rotate(" + options.iconRotate + "deg);"; 95 | iconColorStyle += "-ms-transform: rotate(" + options.iconRotate + "deg);"; 96 | iconColorStyle += "transform: rotate(" + options.iconRotate + "deg);"; 97 | } 98 | 99 | if (options.text) { 100 | return "" + options.text + ""; 101 | } 102 | 103 | return ""; 104 | }, 105 | 106 | _setIconStyles: function (img, name) { 107 | var options = this.options, 108 | size = L.point(options[name === 'shadow' ? 'shadowSize' : 'iconSize']), 109 | anchor; 110 | 111 | if (name === 'shadow') { 112 | anchor = L.point(options.shadowAnchor || options.iconAnchor); 113 | } else { 114 | anchor = L.point(options.iconAnchor); 115 | } 116 | 117 | if (!anchor && size) { 118 | anchor = size.divideBy(2, true); 119 | } 120 | 121 | img.className = 'awesome-marker-' + name + ' ' + options.className; 122 | 123 | if (anchor) { 124 | img.style.marginLeft = (-anchor.x) + 'px'; 125 | img.style.marginTop = (-anchor.y) + 'px'; 126 | } 127 | 128 | if (size) { 129 | img.style.width = size.x + 'px'; 130 | img.style.height = size.y + 'px'; 131 | } 132 | }, 133 | 134 | createShadow: function () { 135 | var div = document.createElement('div'); 136 | 137 | this._setIconStyles(div, 'shadow'); 138 | return div; 139 | } 140 | }); 141 | 142 | L.AwesomeMarkers.icon = function (options) { 143 | return new L.AwesomeMarkers.Icon(options); 144 | }; 145 | 146 | }(this, document)); 147 | -------------------------------------------------------------------------------- /docs/LICENSE-text.html: -------------------------------------------------------------------------------- 1 | 2 | License • leaflegend 12 | Skip to contents 13 | 14 | 15 |
47 |
48 |
52 | 53 |
YEAR: 2021
54 | COPYRIGHT HOLDER: Thomas P. Roh
55 | 
56 | 57 |
58 | 59 | 60 |
69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /docs/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Page not found (404) • leaflegend 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 34 | 35 | 36 | Skip to contents 37 | 38 | 39 |
76 |
77 |
81 | 82 | Content not found. Please use links in the navbar. 83 | 84 |
85 |
86 | 87 | 88 | 99 |
100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /NEWS.md: -------------------------------------------------------------------------------- 1 | # leaflegend 1.2.1 2 | 3 | * `addLegendNumeric` now has the ability to use manual tick breaks and labels 4 | when the `bins` argument is a numeric vector greater than length 1. This 5 | only applies to vertically oriented legends. 6 | 7 | # leaflegend 1.2.0 8 | 9 | * `addLegendNumeric` gains `labelStyle` argument and significant improvements 10 | to the layout that will handle larger font sizes and long text widths. 11 | 12 | * added `stacked` argument to `addLegendSize` to allow size legends that are 13 | more compact when symbols are overlayed. See examples in `?addLegendSize`. 14 | 15 | * groups can now have underscores in their name for show/hide functionality. 16 | 17 | * added `between` argument to `addLegendBin` and `addLegendQuantile` so that 18 | users can change the dash. 19 | 20 | * fixed issue where `addSymbols` and `addSymbolsSize` only worked when 21 | directly specifying `lat` and `lng`. These now work for sf objects. 22 | 23 | * added `dashArray` argument for symbols functions. The main purpose is to 24 | allow dashed line encodings, but all symbols can have dashed outer lines. 25 | 26 | # leaflegend 1.1.1 27 | 28 | * updating test for 'leaflet' changes in v2.2.0 29 | 30 | * pch solid symbols 15-20 will use `color` if `fillColor` is missing 31 | 32 | # leaflegend 1.1.0 33 | 34 | * `availableShapes` is provided for convenience to look up supported symbol 35 | names. 36 | 37 | * `addLegendFactor`, `addLegendBin`, and `addLegendQuantile` will now show a 38 | symbol for missing values if they exist and gain the `naLabel` argument. 39 | 40 | * Label spacing adjustments for `addLegendNumeric` which should support longer labels. 41 | 42 | * `addLegendNumeric` gains an argument `naLabel` and now shows the NA color 43 | when there are missing values. 44 | 45 | * `addLegendNumeric` gains an argument `labels` which allows the user to 46 | pass label names for numeric breaks. 47 | 48 | * The `breaks` argument in `addLegendLine` and `addLegendSize` now allows the 49 | user to pass a named list where the names are the labels. 50 | 51 | * `makeSymbol` and `makeSymbolIcons` can now create map symbols that are consistent with 52 | base R `pch`. The `shape` argument can accept the name or an integer 53 | (0-indexed). `availableShapes` provides a list of named options. 54 | 55 | # leaflegend 1.0.0 56 | 57 | * A new function `addLegendSymbol` has been added to automatically encode character/factors as various map symbols. 58 | 59 | * The default argument for `baseSize` in `addLegendSize` has been changed to 20. 60 | 61 | * `values` argument is no longer used by `addLegendBin` since it is not 62 | necessary and causes problems when number of values is less than the number 63 | of bins. 64 | 65 | * Updated example in README 66 | 67 | * Documentation has been updated for `makeSymbols` and the name has been 68 | changed to `mapSymbols` with some additional functions added to it. 69 | 70 | * Internal functions have been renamed to match naming conventions. 71 | 72 | * Renamed `makeSizeIcons` to `makeSymbolsSize` to be consistent in naming 73 | conventions. The `colorValues` argument has been removed. For the same functionality, specify a vector of `color` and `fillColor`. 74 | 75 | * Fixed issue with image styling missing for raster images in `addLegendImage` 76 | 77 | * Added functions to automate the task of creating map symbols. 78 | `addSymbols` will create map symbols based on a character or factor vector. `addSymbolsSize` will create map symbols with a size encoding. 79 | 80 | * Code re-factoring for `addLegendBin`, `addLegendQuantile`, and `addLegendFactor` as grouping of values for each is different but the assembly of the HTML is the same. 81 | 82 | * Unit tests have been added to cover all the current functions. 83 | 84 | * Gradient IDs for numeric legends are now based on the function call or data "name" in `values`. 85 | 86 | * `makeSizeIcons` default opacity is now 1. 87 | 88 | * Adding internal functions to add dependencies for `addLegendAwesomeIcon`. Awesome Icons would not show in legends because the needed HTML dependencies were not loaded unless `addAwesomeIcons` was included. `addLegendAwesomeIcon` will now check if the dependencies are in the "leaflet" map and include them if missing. 89 | 90 | * Added error messages for invalid `width`, `height`, `tickWidth`, `tickLength`, and `strokeWidth` arguments. Prior to this negative values would not throw errors and the visual output of legends was not desirable. 91 | 92 | * Ability to specify `values` parameter as a formula to retrieve from the `data` argument which is the same as the "leaflet" package. 93 | 94 | * `makeSymbolIcons` now supports vectorization for multiple shape arguments 95 | 96 | * Awesome icons are now centered in a marker in `addLegendAwesomeIcon` 97 | 98 | * adding support for `text` parameter passed to `addLegendAwesomeIcon`. This allows an svg to be passed to as an icon. 99 | 100 | # leaflegend 0.6.1 101 | 102 | * patching examples that use png files from leaflet js site since they have moved. 103 | 104 | * adding leaf images png files for examples 105 | 106 | # leaflegend 0.6.0 107 | 108 | * updated layers control to handle special characters in group name. All non-alphanumeric characters are removed from the class names and 109 | javascript selectors. 110 | 111 | * added better error message for missing color and pal 112 | 113 | * adding `addLegendLine` to add height only encoding of size based on values 114 | 115 | # leaflegend 0.5.0 116 | 117 | * updated example in README 118 | 119 | * adding addLegendAwesomeIcon function to produce legends with markers from 120 | awesome icon libraries 121 | 122 | * adding in line and polygon symbol and adding symbols to the README 123 | 124 | # leaflegend 0.4.0 125 | 126 | * fixes error on makeSizeLegend where fillColor is not evaluated if no argument is provided 127 | 128 | * adding colorValues as an argument to makeSizeLegend so that symbols can be sized and colored on different vectors of data 129 | 130 | * fixes warning on addLegendNumeric where the shape default was a vector not a single value 131 | 132 | * adding number formatting to addSizeLegend 133 | 134 | * adding group layer support for legends. Use addLayersControl to turn on/off 135 | legends 136 | 137 | * added example for using raster images with size encodings based on data 138 | 139 | 140 | # leaflegend 0.3.0 141 | 142 | * stroke outlines of shapes are now padded so that the stroke is not cut off 143 | 144 | * numeric legends now have appropriate sizing for text 145 | 146 | * star symbol outline has been fixed 147 | 148 | * new function `makeSizeIcons` as a convenience wrapper size scaled symbols 149 | 150 | # leaflegend 0.2.0 151 | 152 | * new functions `addLegendSize`, `sizeNumeric`, and `sizeBreaks` were added to allow encoding size on symbols. 153 | 154 | * `addLegendImage` supports multiple height and width parameters for images where you want different sizes 155 | 156 | * `addLegendImage` now supports using an svg URI from the output of `makeSymbol`. 157 | To supply a custom svg URI, add the 'svgURI' class to the character vector. 158 | 159 | * added more shapes to `makeSymbol`, `addLegendNumeric`, 160 | `addLegendQuantile`, `addLegendFactor`, `addLegendBin` 161 | 162 | * Control the opacity of the legend shapes for `addLegendNumeric`, 163 | `addLegendQuantile`, `addLegendFactor`, `addLegendBin` 164 | 165 | * `makeSymbol` now returns embeddable svg 166 | 167 | # leaflegend 0.1.0 168 | 169 | * Added a `NEWS.md` file to track changes to the package. 170 | -------------------------------------------------------------------------------- /docs/reference/availableShapes.html: -------------------------------------------------------------------------------- 1 | 2 | Available shapes for map symbols — availableShapes • leaflegend 12 | Skip to contents 13 | 14 | 15 |
47 |
48 |
53 | 54 |
55 |

Available shapes for map symbols

56 |
57 | 58 |
59 |

Usage

60 |
availableShapes()
61 |
62 | 63 |
64 |

Value

65 | 66 | 67 |

list of available shapes

68 |
69 | 70 |
72 | 73 | 74 |
83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /man/legendSymbols.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/legend.R 3 | \name{legendSymbols} 4 | \alias{legendSymbols} 5 | \alias{addLegendSize} 6 | \alias{addLegendLine} 7 | \alias{addLegendSymbol} 8 | \title{Add a legend for the sizing of symbols or the width of lines} 9 | \usage{ 10 | addLegendSize( 11 | map, 12 | pal, 13 | values, 14 | title = NULL, 15 | labelStyle = "", 16 | shape = "rect", 17 | orientation = c("vertical", "horizontal"), 18 | color, 19 | fillColor = color, 20 | strokeWidth = 1, 21 | opacity = 1, 22 | fillOpacity = opacity, 23 | breaks = 5, 24 | baseSize = 20, 25 | numberFormat = function(x) { 26 | prettyNum(x, big.mark = ",", scientific = FALSE, 27 | digits = 1) 28 | }, 29 | group = NULL, 30 | className = "info legend leaflet-control", 31 | stacked = FALSE, 32 | data = leaflet::getMapData(map), 33 | ... 34 | ) 35 | 36 | addLegendLine( 37 | map, 38 | pal, 39 | values, 40 | title = NULL, 41 | labelStyle = "", 42 | orientation = c("vertical", "horizontal"), 43 | width = 20, 44 | color, 45 | opacity = 1, 46 | fillOpacity = opacity, 47 | breaks = 5, 48 | baseSize = 10, 49 | numberFormat = function(x) { 50 | prettyNum(x, big.mark = ",", scientific = FALSE, 51 | digits = 1) 52 | }, 53 | group = NULL, 54 | className = "info legend leaflet-control", 55 | data = leaflet::getMapData(map), 56 | ... 57 | ) 58 | 59 | addLegendSymbol( 60 | map, 61 | pal, 62 | values, 63 | title = NULL, 64 | labelStyle = "", 65 | shape, 66 | orientation = c("vertical", "horizontal"), 67 | color, 68 | fillColor = color, 69 | strokeWidth = 1, 70 | opacity = 1, 71 | fillOpacity = opacity, 72 | width = 20, 73 | height = width, 74 | group = NULL, 75 | className = "info legend leaflet-control", 76 | dashArray = NULL, 77 | data = leaflet::getMapData(map), 78 | ... 79 | ) 80 | } 81 | \arguments{ 82 | \item{map}{a map widget object created from 'leaflet'} 83 | 84 | \item{pal}{the color palette function, generated from \link[leaflet]{colorNumeric}} 85 | 86 | \item{values}{the values used to generate sizes and if colorValues is not specified and 87 | pal is given, then the values are used to generate colors from the palette 88 | function} 89 | 90 | \item{title}{the legend title, pass in HTML to style} 91 | 92 | \item{labelStyle}{character string of style argument for HTML text} 93 | 94 | \item{shape}{the desired shape of the symbol, See \link[leaflegend]{availableShapes}} 95 | 96 | \item{orientation}{stack the legend items vertically or horizontally} 97 | 98 | \item{color}{the color of the legend symbols, if omitted pal is used} 99 | 100 | \item{fillColor}{fill color of symbol} 101 | 102 | \item{strokeWidth}{width of symbol outline} 103 | 104 | \item{opacity}{opacity of the legend items} 105 | 106 | \item{fillOpacity}{fill opacity of the legend items} 107 | 108 | \item{breaks}{an integer specifying the number of breaks or a numeric vector of the breaks} 109 | 110 | \item{baseSize}{re-scaling size in pixels of the mean of the values, the average value will 111 | be this exact size} 112 | 113 | \item{numberFormat}{formatting functions for numbers that are displayed e.g. format, prettyNum} 114 | 115 | \item{group}{group name of a leaflet layer group} 116 | 117 | \item{className}{extra CSS class to append to the control, space separated} 118 | 119 | \item{stacked}{If \code{TRUE}, symbols are overlayed onto each other for a more compact 120 | size legend} 121 | 122 | \item{data}{a data object. Currently supported objects are matrices, data 123 | frames, spatial objects from the \pkg{sp} package 124 | (\code{SpatialPoints}, \code{SpatialPointsDataFrame}, \code{Polygon}, 125 | \code{Polygons}, \code{SpatialPolygons}, \code{SpatialPolygonsDataFrame}, 126 | \code{Line}, \code{Lines}, \code{SpatialLines}, and 127 | \code{SpatialLinesDataFrame}), and 128 | spatial data frames from the \pkg{sf} package.} 129 | 130 | \item{...}{arguments to pass to 131 | 132 | \link[leaflet]{addControl} for addLegendSize 133 | 134 | \link[base]{pretty} for sizeBreaks 135 | 136 | \link[leaflegend]{makeSymbol} for makeSymbolsSize} 137 | 138 | \item{width}{width in pixels of the lines} 139 | 140 | \item{height}{in pixels} 141 | 142 | \item{dashArray}{a string or vector/list of strings that defines the stroke dash pattern} 143 | } 144 | \value{ 145 | an object from \link[leaflet]{addControl} 146 | } 147 | \description{ 148 | Add a legend for the sizing of symbols or the width of lines 149 | } 150 | \examples{ 151 | library(leaflet) 152 | data("quakes") 153 | quakes <- quakes[1:100,] 154 | numPal <- colorNumeric('viridis', quakes$depth) 155 | sizes <- sizeNumeric(quakes$depth, baseSize = 10) 156 | symbols <- Map( 157 | makeSymbol, 158 | shape = 'triangle', 159 | color = numPal(quakes$depth), 160 | width = sizes, 161 | height = sizes 162 | ) 163 | leaflet() \%>\% 164 | addTiles() \%>\% 165 | addMarkers(data = quakes, 166 | icon = icons(iconUrl = symbols), 167 | lat = ~lat, lng = ~long) \%>\% 168 | addLegendSize( 169 | values = quakes$depth, 170 | pal = numPal, 171 | title = 'Depth', 172 | labelStyle = 'margin: auto;', 173 | shape = c('triangle'), 174 | orientation = c('vertical', 'horizontal'), 175 | opacity = .7, 176 | breaks = 5) 177 | 178 | # a wrapper for making icons is provided 179 | sizeSymbols <- 180 | makeSymbolsSize( 181 | quakes$depth, 182 | shape = 'cross', 183 | fillColor = numPal(quakes$depth), 184 | color = 'black', 185 | strokeWidth = 1, 186 | opacity = .8, 187 | fillOpacity = .5, 188 | baseSize = 20 189 | ) 190 | leaflet() \%>\% 191 | addTiles() \%>\% 192 | addMarkers(data = quakes, 193 | icon = sizeSymbols, 194 | lat = ~lat, lng = ~long) \%>\% 195 | addLegendSize( 196 | values = quakes$depth, 197 | pal = numPal, 198 | title = 'Depth', 199 | shape = 'cross', 200 | orientation = 'horizontal', 201 | strokeWidth = 1, 202 | opacity = .8, 203 | fillOpacity = .5, 204 | color = 'black', 205 | baseSize = 20, 206 | breaks = 5) 207 | 208 | # Group layers control 209 | leaflet() \%>\% 210 | addTiles() \%>\% 211 | addLegendSize( 212 | values = quakes$depth, 213 | pal = numPal, 214 | title = 'Depth', 215 | labelStyle = 'margin: auto;', 216 | shape = c('triangle'), 217 | orientation = c('vertical', 'horizontal'), 218 | opacity = .7, 219 | breaks = 5, 220 | group = 'Depth') \%>\% 221 | addLayersControl(overlayGroups = c('Depth')) 222 | 223 | # Polyline Legend for Size 224 | baseSize <- 10 225 | lineColor <- '#00000080' 226 | pal <- colorNumeric('Reds', atlStorms2005$MinPress) 227 | leaflet() \%>\% 228 | addTiles() \%>\% 229 | addPolylines(data = atlStorms2005, 230 | weight = ~sizeNumeric(values = MaxWind, baseSize = baseSize), 231 | color = ~pal(MinPress), 232 | popup = ~as.character(MaxWind)) \%>\% 233 | addLegendLine(values = atlStorms2005$MaxWind, 234 | title = 'MaxWind', 235 | baseSize = baseSize, 236 | width = 50, 237 | color = lineColor) \%>\% 238 | addLegendNumeric(pal = pal, 239 | title = 'MinPress', 240 | values = atlStorms2005$MinPress) 241 | 242 | # Stacked Legends 243 | leaflet(quakes) \%>\% 244 | addTiles() \%>\% 245 | addSymbolsSize(values = ~10^(mag), 246 | lat = ~lat, 247 | lng = ~long, 248 | shape = 'circle', 249 | color = 'black', 250 | fillColor = 'red', 251 | opacity = 1, 252 | baseSize = 5) |> 253 | addLegendSize( 254 | values = ~10^(mag), 255 | title = 'Magnitude', 256 | baseSize = 5, 257 | shape = 'circle', 258 | color = 'black', 259 | fillColor = 'red', 260 | labelStyle = 'font-size: 18px;', 261 | position = 'bottomleft', 262 | stacked = TRUE, 263 | breaks = 5) 264 | } 265 | -------------------------------------------------------------------------------- /docs/LICENSE.html: -------------------------------------------------------------------------------- 1 | 2 | MIT License • leaflegend 12 | Skip to contents 13 | 14 | 15 |
47 |
48 |
52 | 53 |
54 | 55 |

Copyright (c) 2021 Thomas P. Roh

56 |

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

57 |

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

58 |

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

59 |
60 | 61 |
62 | 63 | 64 |
73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | -------------------------------------------------------------------------------- /docs/authors.html: -------------------------------------------------------------------------------- 1 | 2 | Authors and Citation • leaflegend 12 | Skip to contents 13 | 14 | 15 |
47 |
48 |
51 | 52 |
53 |

Authors

54 | 55 |
  • 56 |

    Thomas Roh. Author, maintainer. 57 |

    58 |
  • 59 |
  • 60 |

    Ricardo Rodrigo Basa. Contributor. 61 |

    62 |
  • 63 |
64 | 65 |
66 |

Citation

67 |

Source: inst/CITATION

68 | 69 |

Roh T (2024). 70 | leaflegend: Create Custom Legends for Leaflet. 71 | https://leaflegend.delveds.com. 72 |

73 |
@Manual{leaflegend,
 74 |   title = {leaflegend: Create Custom Legends for Leaflet},
 75 |   author = {Thomas Roh},
 76 |   year = {2024},
 77 |   url = {https://leaflegend.delveds.com},
 78 | }
79 |
80 |
82 | 83 | 84 |
93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /docs/reference/libs/Proj4Leaflet-1.0.1/proj4leaflet.js: -------------------------------------------------------------------------------- 1 | (function (factory) { 2 | var L, proj4; 3 | if (typeof define === 'function' && define.amd) { 4 | // AMD 5 | define(['leaflet', 'proj4'], factory); 6 | } else if (typeof module === 'object' && typeof module.exports === "object") { 7 | // Node/CommonJS 8 | L = require('leaflet'); 9 | proj4 = require('proj4'); 10 | module.exports = factory(L, proj4); 11 | } else { 12 | // Browser globals 13 | if (typeof window.L === 'undefined' || typeof window.proj4 === 'undefined') 14 | throw 'Leaflet and proj4 must be loaded first'; 15 | factory(window.L, window.proj4); 16 | } 17 | }(function (L, proj4) { 18 | if (proj4.__esModule && proj4.default) { 19 | // If proj4 was bundled as an ES6 module, unwrap it to get 20 | // to the actual main proj4 object. 21 | // See discussion in https://github.com/kartena/Proj4Leaflet/pull/147 22 | proj4 = proj4.default; 23 | } 24 | 25 | L.Proj = {}; 26 | 27 | L.Proj._isProj4Obj = function(a) { 28 | return (typeof a.inverse !== 'undefined' && 29 | typeof a.forward !== 'undefined'); 30 | }; 31 | 32 | L.Proj.Projection = L.Class.extend({ 33 | initialize: function(code, def, bounds) { 34 | var isP4 = L.Proj._isProj4Obj(code); 35 | this._proj = isP4 ? code : this._projFromCodeDef(code, def); 36 | this.bounds = isP4 ? def : bounds; 37 | }, 38 | 39 | project: function (latlng) { 40 | var point = this._proj.forward([latlng.lng, latlng.lat]); 41 | return new L.Point(point[0], point[1]); 42 | }, 43 | 44 | unproject: function (point, unbounded) { 45 | var point2 = this._proj.inverse([point.x, point.y]); 46 | return new L.LatLng(point2[1], point2[0], unbounded); 47 | }, 48 | 49 | _projFromCodeDef: function(code, def) { 50 | if (def) { 51 | proj4.defs(code, def); 52 | } else if (proj4.defs[code] === undefined) { 53 | var urn = code.split(':'); 54 | if (urn.length > 3) { 55 | code = urn[urn.length - 3] + ':' + urn[urn.length - 1]; 56 | } 57 | if (proj4.defs[code] === undefined) { 58 | throw 'No projection definition for code ' + code; 59 | } 60 | } 61 | 62 | return proj4(code); 63 | } 64 | }); 65 | 66 | L.Proj.CRS = L.Class.extend({ 67 | includes: L.CRS, 68 | 69 | options: { 70 | transformation: new L.Transformation(1, 0, -1, 0) 71 | }, 72 | 73 | initialize: function(a, b, c) { 74 | var code, 75 | proj, 76 | def, 77 | options; 78 | 79 | if (L.Proj._isProj4Obj(a)) { 80 | proj = a; 81 | code = proj.srsCode; 82 | options = b || {}; 83 | 84 | this.projection = new L.Proj.Projection(proj, options.bounds); 85 | } else { 86 | code = a; 87 | def = b; 88 | options = c || {}; 89 | this.projection = new L.Proj.Projection(code, def, options.bounds); 90 | } 91 | 92 | L.Util.setOptions(this, options); 93 | this.code = code; 94 | this.transformation = this.options.transformation; 95 | 96 | if (this.options.origin) { 97 | this.transformation = 98 | new L.Transformation(1, -this.options.origin[0], 99 | -1, this.options.origin[1]); 100 | } 101 | 102 | if (this.options.scales) { 103 | this._scales = this.options.scales; 104 | } else if (this.options.resolutions) { 105 | this._scales = []; 106 | for (var i = this.options.resolutions.length - 1; i >= 0; i--) { 107 | if (this.options.resolutions[i]) { 108 | this._scales[i] = 1 / this.options.resolutions[i]; 109 | } 110 | } 111 | } 112 | 113 | this.infinite = !this.options.bounds; 114 | 115 | }, 116 | 117 | scale: function(zoom) { 118 | var iZoom = Math.floor(zoom), 119 | baseScale, 120 | nextScale, 121 | scaleDiff, 122 | zDiff; 123 | if (zoom === iZoom) { 124 | return this._scales[zoom]; 125 | } else { 126 | // Non-integer zoom, interpolate 127 | baseScale = this._scales[iZoom]; 128 | nextScale = this._scales[iZoom + 1]; 129 | scaleDiff = nextScale - baseScale; 130 | zDiff = (zoom - iZoom); 131 | return baseScale + scaleDiff * zDiff; 132 | } 133 | }, 134 | 135 | zoom: function(scale) { 136 | // Find closest number in this._scales, down 137 | var downScale = this._closestElement(this._scales, scale), 138 | downZoom = this._scales.indexOf(downScale), 139 | nextScale, 140 | nextZoom, 141 | scaleDiff; 142 | // Check if scale is downScale => return array index 143 | if (scale === downScale) { 144 | return downZoom; 145 | } 146 | if (downScale === undefined) { 147 | return -Infinity; 148 | } 149 | // Interpolate 150 | nextZoom = downZoom + 1; 151 | nextScale = this._scales[nextZoom]; 152 | if (nextScale === undefined) { 153 | return Infinity; 154 | } 155 | scaleDiff = nextScale - downScale; 156 | return (scale - downScale) / scaleDiff + downZoom; 157 | }, 158 | 159 | distance: L.CRS.Earth.distance, 160 | 161 | R: L.CRS.Earth.R, 162 | 163 | /* Get the closest lowest element in an array */ 164 | _closestElement: function(array, element) { 165 | var low; 166 | for (var i = array.length; i--;) { 167 | if (array[i] <= element && (low === undefined || low < array[i])) { 168 | low = array[i]; 169 | } 170 | } 171 | return low; 172 | } 173 | }); 174 | 175 | L.Proj.GeoJSON = L.GeoJSON.extend({ 176 | initialize: function(geojson, options) { 177 | this._callLevel = 0; 178 | L.GeoJSON.prototype.initialize.call(this, geojson, options); 179 | }, 180 | 181 | addData: function(geojson) { 182 | var crs; 183 | 184 | if (geojson) { 185 | if (geojson.crs && geojson.crs.type === 'name') { 186 | crs = new L.Proj.CRS(geojson.crs.properties.name); 187 | } else if (geojson.crs && geojson.crs.type) { 188 | crs = new L.Proj.CRS(geojson.crs.type + ':' + geojson.crs.properties.code); 189 | } 190 | 191 | if (crs !== undefined) { 192 | this.options.coordsToLatLng = function(coords) { 193 | var point = L.point(coords[0], coords[1]); 194 | return crs.projection.unproject(point); 195 | }; 196 | } 197 | } 198 | 199 | // Base class' addData might call us recursively, but 200 | // CRS shouldn't be cleared in that case, since CRS applies 201 | // to the whole GeoJSON, inluding sub-features. 202 | this._callLevel++; 203 | try { 204 | L.GeoJSON.prototype.addData.call(this, geojson); 205 | } finally { 206 | this._callLevel--; 207 | if (this._callLevel === 0) { 208 | delete this.options.coordsToLatLng; 209 | } 210 | } 211 | } 212 | }); 213 | 214 | L.Proj.geoJson = function(geojson, options) { 215 | return new L.Proj.GeoJSON(geojson, options); 216 | }; 217 | 218 | L.Proj.ImageOverlay = L.ImageOverlay.extend({ 219 | initialize: function (url, bounds, options) { 220 | L.ImageOverlay.prototype.initialize.call(this, url, null, options); 221 | this._projectedBounds = bounds; 222 | }, 223 | 224 | // Danger ahead: Overriding internal methods in Leaflet. 225 | // Decided to do this rather than making a copy of L.ImageOverlay 226 | // and doing very tiny modifications to it. 227 | // Future will tell if this was wise or not. 228 | _animateZoom: function (event) { 229 | var scale = this._map.getZoomScale(event.zoom); 230 | var northWest = L.point(this._projectedBounds.min.x, this._projectedBounds.max.y); 231 | var offset = this._projectedToNewLayerPoint(northWest, event.zoom, event.center); 232 | 233 | L.DomUtil.setTransform(this._image, offset, scale); 234 | }, 235 | 236 | _reset: function () { 237 | var zoom = this._map.getZoom(); 238 | var pixelOrigin = this._map.getPixelOrigin(); 239 | var bounds = L.bounds( 240 | this._transform(this._projectedBounds.min, zoom)._subtract(pixelOrigin), 241 | this._transform(this._projectedBounds.max, zoom)._subtract(pixelOrigin) 242 | ); 243 | var size = bounds.getSize(); 244 | 245 | L.DomUtil.setPosition(this._image, bounds.min); 246 | this._image.style.width = size.x + 'px'; 247 | this._image.style.height = size.y + 'px'; 248 | }, 249 | 250 | _projectedToNewLayerPoint: function (point, zoom, center) { 251 | var viewHalf = this._map.getSize()._divideBy(2); 252 | var newTopLeft = this._map.project(center, zoom)._subtract(viewHalf)._round(); 253 | var topLeft = newTopLeft.add(this._map._getMapPanePos()); 254 | 255 | return this._transform(point, zoom)._subtract(topLeft); 256 | }, 257 | 258 | _transform: function (point, zoom) { 259 | var crs = this._map.options.crs; 260 | var transformation = crs.transformation; 261 | var scale = crs.scale(zoom); 262 | 263 | return transformation.transform(point, scale); 264 | } 265 | }); 266 | 267 | L.Proj.imageOverlay = function (url, bounds, options) { 268 | return new L.Proj.ImageOverlay(url, bounds, options); 269 | }; 270 | 271 | return L.Proj; 272 | })); 273 | --------------------------------------------------------------------------------