Use global tile URL also for distance plots
这个提交包含在:
父节点
3a4ea503fa
当前提交
aea62c5b56
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -562,7 +562,7 @@ function newpath(latlng1, latlng2, locator1, locator2) {
|
|||
|
||||
var maidenhead = L.maidenheadqrb().addTo(map);
|
||||
|
||||
var osmUrl='https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
|
||||
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});
|
||||
|
||||
|
|
@ -615,7 +615,7 @@ function showActivatorsMap(call, count, grids) {
|
|||
|
||||
var maidenhead = new L.maidenheadactivators(grid_four).addTo(map);
|
||||
|
||||
var osmUrl='https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
|
||||
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});
|
||||
|
||||
|
|
|
|||
正在加载…
在新工单中引用