Leaflet.TimeDimension icon indicating copy to clipboard operation
Leaflet.TimeDimension copied to clipboard

Time control do not scale on mobile phone

Open MatteoSerafino opened this issue 4 years ago • 0 comments

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?

MatteoSerafino avatar Apr 28 '20 23:04 MatteoSerafino