In my shiny App, I need to plot a map of Paris, and some overlay points. To do this, I use ggmap package.
When I plot my map with points using renderPlot, all is fine: output$demand <- renderPlot({ # generate bins based on input$bins from ui.R ggmap(map()) + geom_point(data=probe(),aes(x=XCenter,y=YCenter),alpha=0.2,size=1) })
but with renderPlotly, points are connected with lines. output$demand <- renderPlotly({ # generate bins based on input$bins from ui.R ggmap(map()) + geom_point(data=probe(),aes(x=XCenter,y=YCenter),alpha=0.2,size=1) })