Changed MaxZoom from 9 to 12 - so 6-character-grids are visible
这个提交包含在:
父节点
59a80efc17
当前提交
aa599f38fc
共有 3 个文件被更改,包括 4 次插入 和 4 次删除
|
|
@ -583,7 +583,7 @@ function newpath(latlng1, latlng2, locator1, locator2) {
|
||||||
|
|
||||||
var osmUrl='<?php echo $this->optionslib->get_option('option_map_tile_server');?>';
|
var osmUrl='<?php echo $this->optionslib->get_option('option_map_tile_server');?>';
|
||||||
var osmAttrib='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors';
|
var osmAttrib='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors';
|
||||||
var osm = new L.TileLayer(osmUrl, {minZoom: 1, maxZoom: 9, attribution: osmAttrib});
|
var osm = new L.TileLayer(osmUrl, {minZoom: 1, maxZoom: 12, attribution: osmAttrib});
|
||||||
|
|
||||||
var redIcon = L.icon({
|
var redIcon = L.icon({
|
||||||
iconUrl: icon_dot_url,
|
iconUrl: icon_dot_url,
|
||||||
|
|
@ -637,7 +637,7 @@ function showActivatorsMap(call, count, grids) {
|
||||||
|
|
||||||
var osmUrl='<?php echo $this->optionslib->get_option('option_map_tile_server');?>';
|
var osmUrl='<?php echo $this->optionslib->get_option('option_map_tile_server');?>';
|
||||||
var osmAttrib='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors';
|
var osmAttrib='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors';
|
||||||
var osm = new L.TileLayer(osmUrl, {minZoom: 1, maxZoom: 9, attribution: osmAttrib});
|
var osm = new L.TileLayer(osmUrl, {minZoom: 1, maxZoom: 12, attribution: osmAttrib});
|
||||||
|
|
||||||
map.addLayer(osm);
|
map.addLayer(osm);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ function initmap(ShowGrid = 'No', MapTag = 'map') {
|
||||||
|
|
||||||
// create the tile layer with correct attribution
|
// create the tile layer with correct attribution
|
||||||
var osmAttrib='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors';
|
var osmAttrib='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors';
|
||||||
var osm = new L.TileLayer(osmUrl, {minZoom: 1, maxZoom: 9, attribution: osmAttrib});
|
var osm = new L.TileLayer(osmUrl, {minZoom: 1, maxZoom: 12, attribution: osmAttrib});
|
||||||
|
|
||||||
var printer = L.easyPrint({
|
var printer = L.easyPrint({
|
||||||
tileLayer: osm,
|
tileLayer: osm,
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ function gridPlot(form) {
|
||||||
grid_four_confirmed = data.grid_4char_confirmed;
|
grid_four_confirmed = data.grid_4char_confirmed;
|
||||||
grid_six_confirmed = data.grid_6char_confirmed;
|
grid_six_confirmed = data.grid_6char_confirmed;
|
||||||
var layer = L.tileLayer(jslayer, {
|
var layer = L.tileLayer(jslayer, {
|
||||||
maxZoom: 9,
|
maxZoom: 12,
|
||||||
attribution: jsattribution,
|
attribution: jsattribution,
|
||||||
id: 'mapbox.streets'
|
id: 'mapbox.streets'
|
||||||
});
|
});
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用