Changed MaxZoom from 9 to 12 - so 6-character-grids are visible

这个提交包含在:
int2001 2023-08-18 08:40:09 +00:00
父节点 59a80efc17
当前提交 aa599f38fc
找不到此签名对应的密钥
GPG 密钥 ID: DFB1C13CD2DB037B
共有 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 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({
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 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);
}

查看文件

@ -25,7 +25,7 @@ function initmap(ShowGrid = 'No', MapTag = 'map') {
// create the tile layer with correct attribution
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({
tileLayer: osm,

查看文件

@ -51,7 +51,7 @@ function gridPlot(form) {
grid_four_confirmed = data.grid_4char_confirmed;
grid_six_confirmed = data.grid_6char_confirmed;
var layer = L.tileLayer(jslayer, {
maxZoom: 9,
maxZoom: 12,
attribution: jsattribution,
id: 'mapbox.streets'
});