Merge pull request #1 from weissdanny/patch-1

Update leaflet-demo.html
This commit is contained in:
Grzegorz Adam Kowalski 2019-03-14 10:21:16 +01:00 committed by GitHub
commit 2c5368f9bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 &copy; <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 &copy; <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'