-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Create an example for fullscreen mode #1824
Comments
+1 |
Is the team working on implementing Fullscreen plugin for MapboxGL? Missing this feature big time. |
@dshakya While there is no pre-built plugin, you should be able to implement this feature downstream: map.getCanvas().webkitRequestFullScreen(); // there are a few other vendor prefixes to try
map.resize(); |
@lucaswoj I was thinking of working on this example. Do you think we should build a control or just show users how to implement what you suggested above? |
Would be lovely if you could build a control like the one for Leaflet |
Hi @colleenmcginnis, would you know if anyone is working on this feature? Or any directions on how would I go about implementing it? |
@lucaswoj I created that fullscreen control. Would you be interested in a PR? |
@karlguillotte Not sure if you saw this one by @colleenmcginnis to compare? |
Thanks @andrewharvey ! I have not seen that one yet. |
I tried this, but my controls disappear in fullscreen mode. Doesn't work on JsFiddle, so here's a gist: https://gist.github.com/shotor/316d2dc8b07fb69b6b73e4589b07b6ce Has anyone been able to get the controls to display in full screen? |
Any chance the fullscreen stuff from this commit can make it into the master? Is there a PR or something? |
this has shipped in #3977 !! will be available in the next release! |
mapbox.js has such an example
ref #1821 (comment)
cc @jingsam
The text was updated successfully, but these errors were encountered: