HeatMapWithTime: one time slider across multiple data layers
See original GitHub issuePlease add a code sample or a nbviewer link, copy-pastable if possible
heatmap = folium.Map(location=[0, 0], zoom_start=1.5)
HeatMapWithTime(data_1,index=index,overlay=False).add_to(heatmap)
HeatMapWithTime(data_2,index=index,overlay=False).add_to(heatmap)
Problem description
Since I am using the same index variable with default time slider parameters for both data layers, I expect the map to only produce one time slider. However, that is not the case as it adds extra time slider for each layer. This becomes an issue when you have let’s say 10 different data layers and 10 identical time sliders on the side of your map.
Expected Output
If index variable and time slider parameters are set to be the same across different data layers, the map should only produce one time slider.
Output of folium.__version__
0.7.0
Update
I just found multiple layer example with one time slider using TimestampedWmsTileLayers on nbviewer. How can this be re-created using HeatMapWithTime??
Issue Analytics
- State:
- Created 5 years ago
- Comments:11
Top Results From Across the Web
Python Folium HeatMapWithTime: one time slider across ...
This becomes an issue when you have let's say 10 different data layers and 10 identical time sliders on the side of your...
Read more >python-visualization/folium - Map - Gitter
Another problem: Right now, the time slider handles every single row as a separate point on the time slider (so the slider has...
Read more >Python – Folium Multiple map overlays – iTecNote
But,FeatureGroup() will not seem to work with HeatMapWithTime and adding layers directly to the heatmap results in multiple time sliders on the side...
Read more >plugins — Folium 0.12.1 documentation - GitHub Pages
Layer. Create a HeatMapWithTime layer. Parameters. data (list of list of ... The outer list corresponds to the various time steps in sequential...
Read more >How to: Folium for maps, heatmaps & time data | Kaggle
Folium is a tool that makes you look like a mapping God while all the work is done in the back end. It's...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, apologies for the late reply but I just wanted to make sure that everything is tested and the code works properly before I write an update.
For my heatmap purposes the code published by @Conengmo works like a charm using this type of set-up:
I hope this will help other people seeking for similar outcome. Thank you again @Conengmo
May be map is zooming more than max_zoom limit of the tile.