[Map] Added full screen option to gridsquare and activator maps

This commit is contained in:
Andreas
2023-03-19 17:13:07 +01:00
parent 477f497756
commit 7d7a569e41
2 changed files with 15 additions and 3 deletions

View File

@@ -1303,7 +1303,11 @@ $(document).ready(function(){
layers: [layer],
center: [19, 0],
zoom: 2,
minZoom: 1
minZoom: 1,
fullscreenControl: true,
fullscreenControlOptions: {
position: 'topleft'
},
});
var printer = L.easyPrint({
@@ -1446,7 +1450,11 @@ $(document).ready(function(){
layers: [layer],
center: [19, 0],
zoom: 2,
minZoom: 1
minZoom: 1,
fullscreenControl: true,
fullscreenControlOptions: {
position: 'topleft'
},
});
var grid_two = <?php echo $grid_2char; ?>;

View File

@@ -69,7 +69,11 @@
var map = L.map('gridsquare_map', {
layers: [layer],
center: [19, 0],
zoom: 2
zoom: 2,
fullscreenControl: true,
fullscreenControlOptions: {
position: 'topleft'
},
});
var printer = L.easyPrint({