-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Zoom Icons render differently on browsers #5808
Comments
Please do not ignore Issue Template. |
I expect that the icons look the same in every browser. I might add custom icons below the zooming icons and I want to be sure that the style of my icons match the style of the built in zooming icons (same height and width). |
Styles are slightly different depending on Browser, because in case of Browser.touch |
Hi @googol7, @cherniavskii describes the situation well. The major difference is whether Leaflet detects touch or not, which affects the size of the controls (slightly larger for touch to make them easier to hit), as well as the shadow/border, presumably since some lower end devices had/have problems with I'm closing this issue, since this is not a bug, but rather works as designed as far as I can tell. |
See also #5266 |
Is there an option to avoid the |
Use |
Leaflet 1.2.0
Safari Version 11.0 (12604.1.38.1.7)
Chrome Version 61.0.3163.100 (Offizieller Build) (64-Bit)
Firefox 55.0.3 (64-Bit)
Opera 47.0.2631.83
Microsoft Edge 38.14393.0.0
This screenshot is taken from the homepage http://leafletjs.com
The text was updated successfully, but these errors were encountered: