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

Investigate differences in Leaflet zoom-in/zoom-out buttons. #49

Closed
louh opened this issue Jul 28, 2017 · 0 comments
Closed

Investigate differences in Leaflet zoom-in/zoom-out buttons. #49

louh opened this issue Jul 28, 2017 · 0 comments
Assignees

Comments

@louh
Copy link
Contributor

louh commented Jul 28, 2017

For some reason, the zoom controls are always displayed as the "touch" variety (they're slightly larger, with a different border style) in Chrome, and the "normal" variety (they're smaller) in Firefox. This means that the position and sizing of the zoom control can be different from the search button:

In Chrome:

screenshot 2017-07-28 11 03 40

In Firefox:

screenshot 2017-07-28 11 03 30

This seems to be related to the old You Cannot Detect A Touchscreen problem, as confirmed via this issue Leaflet/Leaflet#5266. One solution may be to override Leaflet or Leaflet's stylesheet to apply touch-styles at all times.

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

No branches or pull requests

2 participants