You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking for a way to toggle to full screen map by pressing a button, which is not the <FullscreenControl /> and which is outside of the map.
In Mapbox standard, there is something like map.getContainer().requestFullscreen() and map.getContainer().exitFullscreen()
What I want is user being able to click on a button to make the map appear and go full screen directly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I am looking for a way to toggle to full screen map by pressing a button, which is not the
<FullscreenControl />
and which is outside of the map.In Mapbox standard, there is something like
map.getContainer().requestFullscreen()
andmap.getContainer().exitFullscreen()
What I want is user being able to click on a button to make the map appear and go full screen directly.
Any idea ? :)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions