Browse Source

Usar servidor de tiles do open street maps

pull/163/head 3.0.37
Sesostris Vieira 2 years ago
parent
commit
53eb585a21
  1. 2
      sigi/apps/home/templates/home/openmap.html

2
sigi/apps/home/templates/home/openmap.html

@ -87,7 +87,7 @@
mymap.zoomControl.options.zoomOutTitle = "{% trans 'Afastar' %}";
mymap.zoomControl.setPosition("bottomright");
L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw', {
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 18,
attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, ' +
'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',

Loading…
Cancel
Save