Skip to content

Leaflet global switches #424

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

Merged

Conversation

sgvandijk
Copy link
Contributor

Implements #335: Adds ability to set Leaflet's global switches (http://leafletjs.com/reference.html#global)

@ocefpaf
Copy link
Member

ocefpaf commented May 2, 2016

Thanks @sgvandijk! LGTM, but I will wait for @BibMartin opinion before merging.

@ocefpaf
Copy link
Member

ocefpaf commented Sep 22, 2016

@sgvandijk can you rebase this so we can merge?

Gives ability to set Leaflet's global switches:
- prefer_canvas: Forces Leaflet to use the Canvas back-end (if
available) for vector layers instead of SVG
- no_touch: Forces Leaflet to not use touch events even if it detects
them
- disable_3d: Forces Leaflet to not use hardware-accelerated CSS 3D transforms for
positioning (which may cause glitches in some rare environments) even if
they're supported
@sgvandijk sgvandijk force-pushed the feature/leaflet-global-switches branch from 481727e to 7e8d0b6 Compare September 23, 2016 08:42
@sgvandijk
Copy link
Contributor Author

@ocefpaf done! Looks like I can ignore those errors?

@ocefpaf ocefpaf merged commit 01b1689 into python-visualization:master Sep 23, 2016
@ocefpaf
Copy link
Member

ocefpaf commented Sep 23, 2016

@ocefpaf done! Looks like I can ignore those errors?

Yep. I re-started Travis-CI anyways b/c I like the green button 😄

Thanks @sgvandijk!

This was referenced Sep 23, 2016
sanga pushed a commit to sanga/folium that referenced this pull request Oct 24, 2017
…aflet-global-switches

Leaflet global switches
@sgvandijk sgvandijk deleted the feature/leaflet-global-switches branch December 28, 2018 14:11
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

Successfully merging this pull request may close these issues.

2 participants