# Example of shinykeyboard Shiny Input
library(shiny)
library(shinyMap)
datatest <- runif(51)
ui <- function() {
fluidPage(
shinyMap::mapInput("map", data = datatest, width = "100%"),
verbatimTextOutput("debug")
)
}
server <- function(input, output) {
output$debug <- renderPrint(input$map)
}
shinyApp(ui = ui, server = server)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.