You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.
Hello,
I am having problems with fitBounds() and markercluster click.
Basically, my map container width is dynamic to screen size (I am using flex). I saw that the map is constructed based on 256x256 tiles and the map size is tied to that. If my container has 550px width the map is actually 256x3 = 768. this results that the map has a hidden area of 218 px.
So, when I use fitBounds, is doing it related to the map size and not the container size.
How can I make the map to be responsive?
Thank you.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I am having problems with fitBounds() and markercluster click.
Basically, my map container width is dynamic to screen size (I am using flex). I saw that the map is constructed based on 256x256 tiles and the map size is tied to that. If my container has 550px width the map is actually 256x3 = 768. this results that the map has a hidden area of 218 px.
So, when I use fitBounds, is doing it related to the map size and not the container size.
How can I make the map to be responsive?
Thank you.
The text was updated successfully, but these errors were encountered: