Open smartinsightsfromdata opened 9 years ago
Joe, great package (just finished prototyping a viz pulling over 5GB of historical data points using leaflet http://tools.harvestchoice.org/rainfall/). I'm voting for heatmap bindings as well, would be a nice addition. Also on a side not I believe jsonlite::toJSON is currently faster then RJSONIO::toJSON (can't back this up though).
Would it be possible to use this implementation of leaflet for shiny?
Would it be possible to add it to this code or a change to the package is necessary?
I'm assuming https://github.com/Leaflet/Leaflet.heat will be used as it has been developed by Vladimir Agafonkin as a leaflet extension already.
The associated issue is to have the possibility to reset the heatmap layer to allow a shiny user to select a parameter from the UI and see different objects at choice (different items; dates etc.).
Disclaimer: I have already implemented something similar with rCharts but the layer reset does not work and all the heatmaps are shown one on top of the other.
I have posted a question with sample shiny code on stackoverflow here: http://stackoverflow.com/questions/26752589/remove-leaflet-heatmap-layer-with-rcharts-and-shiny