Correzione nome impostazione
This commit is contained in:
parent
2cc9b326b5
commit
6e2abd5110
|
@ -365,7 +365,7 @@ echo '
|
|||
shadowSize: [41, 41]
|
||||
});
|
||||
|
||||
L.tileLayer("'.setting("Tile layer OpenStreetMap").'", {
|
||||
L.tileLayer("'.setting("Tile server OpenStreetMap").'", {
|
||||
maxZoom: 17,
|
||||
attribution: "© OpenStreetMap"
|
||||
}).addTo(map);
|
||||
|
|
|
@ -109,7 +109,7 @@ function caricaMappa() {
|
|||
shadowSize: [41, 41]
|
||||
});
|
||||
|
||||
L.tileLayer("'.setting("Tile layer OpenStreetMap").'", {
|
||||
L.tileLayer("'.setting("Tile server OpenStreetMap").'", {
|
||||
maxZoom: 17,
|
||||
attribution: "© OpenStreetMap"
|
||||
}).addTo(map);
|
||||
|
|
|
@ -88,7 +88,7 @@ include_once __DIR__.'/../../core.php';
|
|||
gestureHandling: true
|
||||
});
|
||||
|
||||
L.tileLayer("<?php echo setting("Tile layer OpenStreetMap"); ?>", {
|
||||
L.tileLayer("<?php echo setting("Tile server OpenStreetMap"); ?>", {
|
||||
maxZoom: 17,
|
||||
attribution: "© OpenStreetMap"
|
||||
}).addTo(map);
|
||||
|
|
|
@ -15,4 +15,4 @@ UPDATE `zz_settings` SET `help` = "Valore espresso in Giga superato il quale vie
|
|||
-- Rimozione google maps
|
||||
DELETE FROM `zz_settings` WHERE `zz_settings`.`nome` = 'Google Maps API key';
|
||||
|
||||
INSERT INTO `zz_settings` (`id`, `nome`, `valore`, `tipo`, `editable`, `sezione`, `created_at`, `order`, `help`) VALUES (NULL, 'Tile layer OpenStreetMap', 'https://{s}.tile.openstreetmap.de/{z}/{x}/{y}.png', 'string', '1', 'Generali', NULL, NULL, '')
|
||||
INSERT INTO `zz_settings` (`id`, `nome`, `valore`, `tipo`, `editable`, `sezione`, `created_at`, `order`, `help`) VALUES (NULL, 'Tile server OpenStreetMap', 'https://{s}.tile.openstreetmap.de/{z}/{x}/{y}.png', 'string', '1', 'Generali', NULL, NULL, '')
|
Loading…
Reference in New Issue