angular-mapboxgl-directive
angular-mapboxgl-directive copied to clipboard
Fullscreen button
Hi, I have a problem with fullscreen button. When I put a custom navbar and push the fullscreen button, the navbar component disappears. I think that the fullscreen mode button takes a class from the map and everything that is outside of that div with that class does not include it in the fullscreeen view. ¿How can i add this custom control?
map.addControl(new mapboxgl.FullscreenControl({container: document.querySelector('body')}));
source: https://docs.mapbox.com/mapbox-gl-js/api/markers/#fullscreencontrol-parameters
Thanks for your help!