feat: add fullscreen map

This commit is contained in:
Ben Goldsworthy 2024-03-14 19:25:31 +01:00
parent ad30ee40d4
commit 26cf793943
Signed by: Rumperuu
SSH key fingerprint: SHA256:e5XfzNOr9UvWpEzyLfw0GtTMZWIFh3NmxH+/qQIi3xE
2 changed files with 3 additions and 1 deletions

View file

@ -52,7 +52,7 @@
/*
* Initialise the map
*/
var map = L.map('map');
var map = L.map('map', { fullscreenControl: true });
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: 'OpenStreetMap'