Merge branch 'master' of https://github.com/devcode-it/openstamanager
This commit is contained in:
commit
598f9bbaa7
|
@ -365,7 +365,7 @@ echo '
|
||||||
shadowSize: [41, 41]
|
shadowSize: [41, 41]
|
||||||
});
|
});
|
||||||
|
|
||||||
L.tileLayer("'.setting("Tile layer OpenStreetMap").'", {
|
L.tileLayer("'.setting("Tile server OpenStreetMap").'", {
|
||||||
maxZoom: 17,
|
maxZoom: 17,
|
||||||
attribution: "© OpenStreetMap"
|
attribution: "© OpenStreetMap"
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
|
@ -109,7 +109,7 @@ function caricaMappa() {
|
||||||
shadowSize: [41, 41]
|
shadowSize: [41, 41]
|
||||||
});
|
});
|
||||||
|
|
||||||
L.tileLayer("'.setting("Tile layer OpenStreetMap").'", {
|
L.tileLayer("'.setting("Tile server OpenStreetMap").'", {
|
||||||
maxZoom: 17,
|
maxZoom: 17,
|
||||||
attribution: "© OpenStreetMap"
|
attribution: "© OpenStreetMap"
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
|
@ -88,7 +88,7 @@ include_once __DIR__.'/../../core.php';
|
||||||
gestureHandling: true
|
gestureHandling: true
|
||||||
});
|
});
|
||||||
|
|
||||||
L.tileLayer("<?php echo setting("Tile layer OpenStreetMap"); ?>", {
|
L.tileLayer("<?php echo setting("Tile server OpenStreetMap"); ?>", {
|
||||||
maxZoom: 17,
|
maxZoom: 17,
|
||||||
attribution: "© OpenStreetMap"
|
attribution: "© OpenStreetMap"
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
|
@ -15,4 +15,4 @@ UPDATE `zz_settings` SET `help` = "Valore espresso in Giga superato il quale vie
|
||||||
-- Rimozione google maps
|
-- Rimozione google maps
|
||||||
DELETE FROM `zz_settings` WHERE `zz_settings`.`nome` = 'Google Maps API key';
|
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