Update leaflet-demo.html
This commit is contained in:
parent
67a1bf2ded
commit
cefc97edd3
@ -25,7 +25,7 @@
|
|||||||
<script>
|
<script>
|
||||||
var map = L.map('map').setView([0, 0], 3);
|
var map = L.map('map').setView([0, 0], 3);
|
||||||
|
|
||||||
L.tileLayer('http://localhost/tile/{z}/{x}/{y}.png', {
|
L.tileLayer('/tile/{z}/{x}/{y}.png', {
|
||||||
maxZoom: 18,
|
maxZoom: 18,
|
||||||
attribution: 'Map data © <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>',
|
attribution: 'Map data © <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>',
|
||||||
id: 'base'
|
id: 'base'
|
||||||
|
Loading…
Reference in New Issue
Block a user