Leaflet/Leaflet.fullscreen

full screen control get removed on map reload

patanges opened this issue · 0 comments

I am using vaddin 23.3.4 leaflet map(leaflet version 0.5.0). I observed that when map page reloads the full screen control gets removed from map element. Also sometimes the full screen control is visible but without icon i.e. blank button is displayed. Also trying to add the control in onAttach(), but its giving same issue.

Reference Code:

FullScreenControl fullScreenControl = new FullScreenControl();
this.map.addControl(fullScreenControl);