Leaflet / Leaflet.fullscreen

A fullscreen control for Leaflet

Home Page:http://leaflet.github.io/Leaflet.fullscreen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iPhone problem

NoBodyButMe opened this issue · comments

Hello

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

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.