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

Map Resizing Relative to Screen Size #10

Open
vaeyias opened this issue Apr 23, 2024 · 1 comment
Open

Map Resizing Relative to Screen Size #10

vaeyias opened this issue Apr 23, 2024 · 1 comment

Comments

@vaeyias
Copy link
Contributor

vaeyias commented Apr 23, 2024

  • The map does not resize well based on screen size; we want to make the map consistent across different screens
  • Leaflet is a bit wonky with coordinates/zoom. It is not precise with coordinates or zoom level. For example, when I try to adjust the left boundary of the map, its either really close to the edge of India or way too far.
@vaeyias
Copy link
Contributor Author

vaeyias commented Apr 23, 2024

I have tried adjusting the zoom level based on the screen's height, but there is a huge different between 5 zoom and 6 zoom, and theres no in-between.

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