Make awesome-icon set
Arguments
- ...
icons created from
makeAwesomeIcon()
Examples
iconSet <- awesomeIconList(
home = makeAwesomeIcon(icon = "Home", library = "fa"),
flag = makeAwesomeIcon(icon = "Flag", library = "fa")
)
iconSet[c("home", "flag")]
#> $home
#> $icon
#> [1] "Home"
#>
#> $library
#> [1] "fa"
#>
#> $markerColor
#> [1] "blue"
#>
#> $iconColor
#> [1] "white"
#>
#> $spin
#> [1] FALSE
#>
#> $squareMarker
#> [1] FALSE
#>
#> $iconRotate
#> [1] 0
#>
#> $font
#> [1] "monospace"
#>
#> attr(,"class")
#> [1] "leaflet_awesome_icon"
#>
#> $flag
#> $icon
#> [1] "Flag"
#>
#> $library
#> [1] "fa"
#>
#> $markerColor
#> [1] "blue"
#>
#> $iconColor
#> [1] "white"
#>
#> $spin
#> [1] FALSE
#>
#> $squareMarker
#> [1] FALSE
#>
#> $iconRotate
#> [1] 0
#>
#> $font
#> [1] "monospace"
#>
#> attr(,"class")
#> [1] "leaflet_awesome_icon"
#>
#> attr(,"class")
#> [1] "leaflet_awesome_icon_set"