Shiny bindings for GeoLibre
Usage
geolibreOutput(outputId, width = "100%", height = "700px")
renderGeolibre(expr, env = parent.frame(), quoted = FALSE)Value
geolibreOutput() returns a Shiny output element;
renderGeolibre() returns a render function for it.
Shiny inputs
A rendered widget reports back through four inputs, where id is the
outputId:
input$id_project— the full project each time the user edits the map.input$id_error— the message from a project the application rejected.input$id_result— the reply to a proxy command; a list withrequestId,method,ok, and thenvalueorerror.input$id_event— user interaction; a list withevent, one of"click","selection-change", or"layer-change", and itspayload.
Examples
if (requireNamespace("shiny", quietly = TRUE)) {
output <- geolibreOutput("map", height = "500px")
stopifnot(inherits(output, "shiny.tag.list"))
}