Leaflet/Leaflet.fullscreen

iPhone problem

NoBodyButMe opened this issue · 1 comments

Hello

the fullscreen mode doesn't seem to work on iPhone?
On Android it works fine.

dsite commented

I ran into the same issue. In iOS 14.6 in both Safari and Chrome, the map information wouldn't render at all if I used fullscreenControl: true. I'd see the control, but the map tiles and other map info did not appear.

Switching to this helps...

fullscreenControl: {
    pseudoFullscreen: true
}

This isn't a total fix. The map doesn't completely fill the screen; it only fills the browser window. But the information at least shows up, which is better than a grey box.