Open sandrab opened 3 years ago
Apparentely, the attempt in 1b1d03f to leave the button out, does not solve the problem. The console error still appears on the iPhone.
Removed the fullscreen button in 5db4fea for now, waiting for a way to resolve this problem on iPhone.
The user map does not work on iPhone, the loader keeps loading. The console shows an error:
TypeError: undefined is not an object (evaluating 'screenfull.raw.fullscreenchange')
.We use the leaflet plugin leaflet.fullscreen to make the fullscreen button. This uses the screenfull project. As explained there, the Full Screen API is not supported on iPhone.
As a 'solution' we will just leave the fullscreen button out on devices where the Full Screen API is not supported.