Normal indentation in README
This commit is contained in:
parent
d35d3df5ec
commit
3043680715
1 changed files with 11 additions and 11 deletions
22
README.md
22
README.md
|
@ -49,18 +49,18 @@ The metadata for the layers to be rendered is given by the
|
||||||
`layers.json` file in the input directory. An example layers.json file
|
`layers.json` file in the input directory. An example layers.json file
|
||||||
is given below:
|
is given below:
|
||||||
|
|
||||||
```
|
```json
|
||||||
{
|
{
|
||||||
"name" : "My map",
|
"name" : "My map",
|
||||||
"tilelayer" : {
|
"tilelayer" : {
|
||||||
"attribution" : "Map data © <a href=\"http://osm.org/copyright\" >OpenStreetMap contributors</a>",
|
"attribution" : "Map data © <a href=\"http://osm.org/copyright\" >OpenStreetMap contributors</a>",
|
||||||
"url_template" : "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
"url_template" : "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
||||||
},
|
},
|
||||||
"layers": {
|
"layers": {
|
||||||
"tram": {"color": "red", "width": 1.5, "humanname": "Tram"},
|
"tram": {"color": "red", "width": 1.5, "humanname": "Tram"},
|
||||||
"train": {"color": "blue", "width": 2, "humanname": "Train"}
|
"train": {"color": "blue", "width": 2, "humanname": "Train"}
|
||||||
},
|
},
|
||||||
"maxZoom": 12
|
"maxZoom": 12
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue