The reply arrives on input$id_result with a value holding a
data:image/png;base64,... URL. Strip the prefix up to the comma and pass the
rest to jsonlite::base64_dec() to recover the PNG bytes.
Arguments
- proxy
A GeoLibre proxy created by
geolibre_proxy().- request_id
Optional id echoed back with the reply.
Examples
if (interactive() && requireNamespace("shiny", quietly = TRUE)) {
geolibre_to_image(geolibre_proxy("map"))
}