I got a R-Shiny app and a leaflet map in my UI output. I want to setup something where I can right click on the map and it opens a context menu on cursor coordinates, where I can select icons and input text. This will allow me to place custom markers on the map and name them.
observeEvent(input$map_right_click, {
showCustomMarkerMenu(location = (input$map_click$lat, input$map_click$lng)) //sample
addMarkers(lat = input$map_click$lat, lng = input$map_click$lng)
})