forked from qwerty/tupali
Actualizar 'mapero.php'
La idea es no permitir que se vaya hacia un zoom muy abajo, creo que empezar y hacer que el mapa se quede en un zoom 3 funciona bastante bien para todos los proyectos.
This commit is contained in:
parent
e25e18eb5e
commit
a5e33f3527
@ -300,7 +300,8 @@ print $css_adicional;
|
|||||||
// L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
// L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||||
//L.tileLayer.provider('Stamen.Watercolor').addTo(map);
|
//L.tileLayer.provider('Stamen.Watercolor').addTo(map);
|
||||||
L.tileLayer(<?php echo $proveedor; ?>, {
|
L.tileLayer(<?php echo $proveedor; ?>, {
|
||||||
maxZoom: 19,
|
minZoom: 3,
|
||||||
|
maxZoom: 19,
|
||||||
attribution: "Map data © OpenStreetMap contributors <a href='https://tupale.co'>Powered by Tupale.co</a>"
|
attribution: "Map data © OpenStreetMap contributors <a href='https://tupale.co'>Powered by Tupale.co</a>"
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user