We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draggable markers currently trigger an event when the drag is finished (map_marker_dragend), but there is no event when the dragging begins.
map_marker_dragend
Example to show that only a dragend event is given:
library(shiny) shinyApp( ui = fluidPage(leafletOutput('myMap'), verbatimTextOutput("inputs")), server = function(input, output) { map = leaflet() %>% addTiles() %>% setView(-93.65, 42.0285, zoom = 17) %>% addMarkers(lat=42.0285, lng=-93.65, options = markerOptions(draggable = TRUE)) output$myMap = renderLeaflet(map) output$inputs <- renderText(names(input)) } )
Leaflet in javascript does support that event. My usecase is that once a marker begins being dragged, I want to grey out all other markers.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Draggable markers currently trigger an event when the drag is finished (
map_marker_dragend
), but there is no event when the dragging begins.Example to show that only a dragend event is given:
Leaflet in javascript does support that event. My usecase is that once a marker begins being dragged, I want to grey out all other markers.
The text was updated successfully, but these errors were encountered: