[Map] Added full screen option to gridsquare and activator maps
这个提交包含在:
父节点
477f497756
当前提交
7d7a569e41
共有 2 个文件被更改,包括 15 次插入 和 3 次删除
|
|
@ -1303,7 +1303,11 @@ $(document).ready(function(){
|
||||||
layers: [layer],
|
layers: [layer],
|
||||||
center: [19, 0],
|
center: [19, 0],
|
||||||
zoom: 2,
|
zoom: 2,
|
||||||
minZoom: 1
|
minZoom: 1,
|
||||||
|
fullscreenControl: true,
|
||||||
|
fullscreenControlOptions: {
|
||||||
|
position: 'topleft'
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
var printer = L.easyPrint({
|
var printer = L.easyPrint({
|
||||||
|
|
@ -1446,7 +1450,11 @@ $(document).ready(function(){
|
||||||
layers: [layer],
|
layers: [layer],
|
||||||
center: [19, 0],
|
center: [19, 0],
|
||||||
zoom: 2,
|
zoom: 2,
|
||||||
minZoom: 1
|
minZoom: 1,
|
||||||
|
fullscreenControl: true,
|
||||||
|
fullscreenControlOptions: {
|
||||||
|
position: 'topleft'
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
var grid_two = <?php echo $grid_2char; ?>;
|
var grid_two = <?php echo $grid_2char; ?>;
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,11 @@
|
||||||
var map = L.map('gridsquare_map', {
|
var map = L.map('gridsquare_map', {
|
||||||
layers: [layer],
|
layers: [layer],
|
||||||
center: [19, 0],
|
center: [19, 0],
|
||||||
zoom: 2
|
zoom: 2,
|
||||||
|
fullscreenControl: true,
|
||||||
|
fullscreenControlOptions: {
|
||||||
|
position: 'topleft'
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
var printer = L.easyPrint({
|
var printer = L.easyPrint({
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用