mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-25 03:31:13 +00:00
[Map] Added full screen option to gridsquare and activator maps
This commit is contained in:
@@ -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; ?>;
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user