mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
[Map] Added full screen option to gridsquare and activator maps
This commit is contained in:
parent
477f497756
commit
7d7a569e41
2 changed files with 15 additions and 3 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue