socib / Leaflet.TimeDimension

Add time dimension capabilities on a Leaflet map.
MIT License
433 stars 138 forks source link

Time control do not scale on mobile phone #191

Open MatteoSerafino opened 4 years ago

MatteoSerafino commented 4 years ago

Hi, I'm using folium to create a heatmap with time. I did realize that folium, for the time-control, calls the leaflet.Timedimesion. My problem is that the time dimension bar does not scale if I open the map on my personal phone. I realized the dimension are fixed in the css file. Is there a way to automatically fix them depending on the device?

For example for a map we can add to the head of the HTML: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

Is there a similar way to modify the css file?