webtrees
webtrees copied to clipboard
Resize map to fit viewport on enter/exit of fullscreen
On fullscreen transition reset the map to initial conditions.
Note: I would like to carry forward any open popup on fullscreen transition but leaflet triggers the popupclose function at strange times, which currently I can't figure out
NOTE2: The changes to the map & tab phtml view files are hangovers from when the resize code was added to each view file rather than putting it into webtrees.js
Codecov Report
Merging #4814 (6f737c7) into main (f02df12) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #4814 +/- ##
=========================================
Coverage 30.95% 30.95%
Complexity 11372 11372
=========================================
Files 1167 1167
Lines 47861 47861
=========================================
Hits 14813 14813
Misses 33048 33048