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'm having multiple issues with the plugin, which could be related. I installed from GitHub directly ("leaflet-fullscreen": "git://github.com/runette/Leaflet.fullscreen.git" in package.json). This is what I see when displaying a map:
The icon in the fullscreen button is missing. When I click the button, the map is displayed in fullscreen as expected. There is still no icon in the button.
When I click the button again in fullscreen mode, nothing happens (it should exit fullscreen, I would expect).
There are no messages in the console.
Am I doing something wrong? Is the plugin broken? Thanks!
I solved part of it - apparently I had to explicitly import the CSS file. The exit-fullscreen issue seems to be caused by the plugin not realizing that it is in fullscreen, as the button icon does not change when going fullscreen. When I use pseudo-fullscreen instead, it does work. However that is suboptimal, and the escape button does not seem to work in that mode.
I'm having multiple issues with the plugin, which could be related. I installed from GitHub directly (
"leaflet-fullscreen": "git://github.com/runette/Leaflet.fullscreen.git"
inpackage.json
). This is what I see when displaying a map:The icon in the fullscreen button is missing. When I click the button, the map is displayed in fullscreen as expected. There is still no icon in the button.
When I click the button again in fullscreen mode, nothing happens (it should exit fullscreen, I would expect).
There are no messages in the console.
Am I doing something wrong? Is the plugin broken? Thanks!
Maybe related to Leaflet#121
The text was updated successfully, but these errors were encountered: