Make Mapkey-icon set
Arguments
- ...
icons created from
makeMapkeyIcon()
See also
Other Mapkey Functions:
[.leaflet_mapkey_icon_set()
,
addMapkeyMarkers()
,
makeMapkeyIcon()
,
mapkeyIcons()
Examples
iconSet <- mapkeyIconList(
red = makeMapkeyIcon(color = "#ff0000"),
blue = makeMapkeyIcon(color = "#0000ff")
)
iconSet[c("red", "blue")]
#> $red
#> $icon
#> [1] "mapkey"
#>
#> $color
#> [1] "#ff0000"
#>
#> $size
#> [1] 12
#>
#> $background
#> [1] "#1F7499"
#>
#> $borderRadius
#> [1] "100%"
#>
#> $hoverScale
#> [1] 1.4
#>
#> $hoverEffect
#> [1] TRUE
#>
#> $boxShadow
#> [1] TRUE
#>
#> attr(,"class")
#> [1] "leaflet_mapkey_icon"
#>
#> $blue
#> $icon
#> [1] "mapkey"
#>
#> $color
#> [1] "#0000ff"
#>
#> $size
#> [1] 12
#>
#> $background
#> [1] "#1F7499"
#>
#> $borderRadius
#> [1] "100%"
#>
#> $hoverScale
#> [1] 1.4
#>
#> $hoverEffect
#> [1] TRUE
#>
#> $boxShadow
#> [1] TRUE
#>
#> attr(,"class")
#> [1] "leaflet_mapkey_icon"
#>
#> attr(,"class")
#> [1] "leaflet_mapkey_icon_set"