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

Custom modifier keys in map interactions #103

Closed
kachkaev opened this issue Aug 1, 2016 · 1 comment
Closed

Custom modifier keys in map interactions #103

kachkaev opened this issue Aug 1, 2016 · 1 comment

Comments

@kachkaev
Copy link

kachkaev commented Aug 1, 2016

It seems that meta key is hard-coded as a trigger for perspective changing inside <MapInteractions>. It would be nice if this key could be changed to ctrl or alt via a prop of <MapGL>, for instance. Current behaviour triggers windows start menu time and again when a user attempts to see their data from an unusual angle :–)

Or is it possible to replace metaKey with another one already? I could not figure this out from the source code.

@kachkaev
Copy link
Author

kachkaev commented Aug 1, 2016

It seems that it is possible to use meta+alt & meta+ctrl to avid Windows start menu to be triggered. This may be OK as a workaround, but needs some attention in a long run for sure.

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