Answer the question
In order to leave comments, you need to log in
How to track the full screen mode of the map?
Please tell me with the help of which design you can track the inclusion and deactivation of the full-screen mode of the map. I searched here but didn't see anything useful.
Answer the question
In order to leave comments, you need to log in
Have you looked here ? - events fullscreenenter, fullscreenexit.
UPD. Taken from the comments:
something is wrong with them
const fs = map.controls.get('fullscreenControl');
fs.events.add('fullscreenenter', () => console.log('ON'));
fs.events.add('fullscreenexit', () => console.log('OFF'));
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question