From 53eb585a21ee6a9662347cdaae47c3f40467f7df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 4 Apr 2023 12:00:14 -0300 Subject: [PATCH] Usar servidor de tiles do open street maps --- sigi/apps/home/templates/home/openmap.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigi/apps/home/templates/home/openmap.html b/sigi/apps/home/templates/home/openmap.html index 23ccb4d..9dfa841 100644 --- a/sigi/apps/home/templates/home/openmap.html +++ b/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 © OpenStreetMap contributors, ' + 'Imagery © Mapbox',