Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time control do not scale on mobile phone #191

Open
MatteoSerafino opened this issue Apr 28, 2020 · 0 comments
Open

Time control do not scale on mobile phone #191

MatteoSerafino opened this issue Apr 28, 2020 · 0 comments

Comments

@MatteoSerafino
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant