Dears
I m trying to modulize an app which can retrieve some raster information from Leaflet map.
I m trying to give the leaflet coordinates inputs to another module but I get the error of
Error $: type "Closure" is not subsettable.
For extract the points on the map_server_mod I use
point_coordinate <- reactive({
input$map_draw_new_feature$geometry$coordinates
})
Then in another module, calling map I use
map_input$point_coordinate()[[1]]
Thanks!