question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Time slider disappears after click +- button to zoom on the map

See original GitHub issue

Please add a code sample or a nbviewer link, copy-pastable if possible


from folium.plugins import TimeSliderChoropleth

m = folium.Map(location=[40.45, -80], zoom_start=11)

g = TimeSliderChoropleth(
    tracts.to_json(),
    styledict=review_dict,

).add_to(m)

m

Problem description

I was able to use TimeSliderChoropleth plugin to make an interactive map to show changes over time, but as soon as I use the ± sign on the map to zoom in and out on the map, the slider disappears and I cannot get it back! Had similar issue when testing the example case given on Github. Any advice on how to work around this? Thank you very much!

Expected Output

Output of folium.__version__

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Conengmocommented, Aug 26, 2020

Yes I believe these are the same problems. The map fills 100 % of its container, and then we add the slider on top, expanding beyond the size of the container. Something like that.

0reactions
Conengmocommented, Nov 25, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Time slider disappears after click +- button to zoom on the map
Time slider disappears after click +- button to zoom on the map.
Read more >
Historical Imagery : Time Slider does not appear
If I zoom initially, and click on the View Historical Imagery, the Time Slider does not appear. If I initially select Historical Imagery,...
Read more >
Base map disappears when zooming in - Esri Community
Hi, Any action (using comboox list) to zoom to a selected sub-geography of the country makes the base map disappear from my application....
Read more >
How to unlock a zoom slider in Google Maps?
Last month Google announced a neat trick which allows to switch zoom buttons from plus and minus to the old slider. In order...
Read more >
Automatically panning the map in ArcGIS when using the Time ...
Yes, what you want to do is possible using just desktop. However, rather than using the Time Slider you will be using the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found