R/utils.R

iconSetToIcons <- utils::getFromNamespace("iconSetToIcons", "leaflet")
b64EncodePackedIcons <- utils::getFromNamespace("b64EncodePackedIcons", "leaflet")
packStrings <- utils::getFromNamespace("packStrings", "leaflet")
awesomeIconSetToAwesomeIcons <- utils::getFromNamespace("awesomeIconSetToAwesomeIcons", "leaflet")


# getCrosstalkOptions <- function (data) {
#   if (is.SharedData(data)) {
#     list(ctKey = data$key(), ctGroup = data$groupName())
#   }
#   else {
#     NULL
#   }
# }

Try the leaflet.extras package in your browser

Any scripts or data that you put into this service are public.

leaflet.extras documentation built on Sept. 11, 2024, 7:54 p.m.