angular-mapboxgl-directive icon indicating copy to clipboard operation
angular-mapboxgl-directive copied to clipboard

Fullscreen button

Open amerador20 opened this issue 4 years ago • 0 comments

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!

amerador20 avatar Feb 16 '21 09:02 amerador20