getProperties <- function(mapper) {
capabilities <- mapper$getCapabilities()
keys <- sapply(capabilities$getKeys(), function(key) key$toString())
values <- c()
for (key in keys) {
values <- c(values, capabilities$getProperty(key))
}
data.frame(
property = keys,
value = values
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.