mirror of
https://github.com/enzet/map-machine.git
synced 2025-08-03 08:40:11 +02:00
Fix readme.
This commit is contained in:
parent
23bb69b653
commit
66a57678d9
2 changed files with 4 additions and 2 deletions
|
@ -260,7 +260,7 @@ Use JavaScript code for \ref {https://leafletjs.com/} {Leaflet}\:
|
|||
|
||||
\code {var map = L.map('mapid').setView([48.8555, 2.3655], 18);
|
||||
|
||||
L.tileLayer('http://127.0.0.1:8080/tiles/{z}/{x}/{y}', \{
|
||||
L.tileLayer('http://127.0.0.1:8080/tiles/\{z\}/\{x\}/\{y\}', \{
|
||||
maxZoom: 19,
|
||||
attribution: 'Map data © ' +
|
||||
'<a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> ' +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue