Browse Source

natural: add an info page

pedestrian
parent
commit
12240ede4b
  1. 50
      natural.json

50
natural.json

@ -59,174 +59,222 @@
}, },
"const": { "const": {
"wood": { "wood": {
"zoom": 13,
"sign": "<i class='fas fa-tree'></i>", "sign": "<i class='fas fa-tree'></i>",
"color": "darkgreen", "color": "darkgreen",
"group": "vegetation" "group": "vegetation"
}, },
"tree_row": { "tree_row": {
"zoom": 16,
"sign": "<i class='fas fa-tree'></i>", "sign": "<i class='fas fa-tree'></i>",
"color": "darkgreen", "color": "darkgreen",
"group": "vegetation" "group": "vegetation"
}, },
"tree": { "tree": {
"zoom": 16,
"sign": "<i class='fas fa-tree'></i>", "sign": "<i class='fas fa-tree'></i>",
"color": "darkgreen", "color": "darkgreen",
"group": "vegetation" "group": "vegetation"
}, },
"scrub": { "scrub": {
"zoom": 13,
"sign": "", "sign": "",
"color": "green", "color": "green",
"group": "vegetation" "group": "vegetation"
}, },
"heath": { "heath": {
"zoom": 13,
"sign": "", "sign": "",
"color": "green", "color": "green",
"group": "vegetation" "group": "vegetation"
}, },
"moor": { "moor": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#8aba50", "color": "#8aba50",
"group": "vegetation" "group": "vegetation"
}, },
"grassland": { "grassland": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#00dd24", "color": "#00dd24",
"group": "vegetation" "group": "vegetation"
}, },
"fell": { "fell": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#49ba91", "color": "#49ba91",
"group": "vegetation" "group": "vegetation"
}, },
"bare_rock": { "bare_rock": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#6f6f6f", "color": "#6f6f6f",
"group": "vegetation" "group": "vegetation"
}, },
"scree": { "scree": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#6f6f6f", "color": "#6f6f6f",
"group": "vegetation" "group": "vegetation"
}, },
"shingle": { "shingle": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#6f6f6f", "color": "#6f6f6f",
"group": "vegetation" "group": "vegetation"
}, },
"sand": { "sand": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#f9d199", "color": "#f9d199",
"group": "vegetation" "group": "vegetation"
}, },
"mud": { "mud": {
"zoom": 13,
"sign": "<img data-src='maki:wetland?fill=white'>", "sign": "<img data-src='maki:wetland?fill=white'>",
"color": "#988b00", "color": "#988b00",
"group": "vegetation" "group": "vegetation"
}, },
"wetland": { "wetland": {
"zoom": 13,
"sign": "<img data-src='maki:wetland?fill=white'>", "sign": "<img data-src='maki:wetland?fill=white'>",
"color": "#00baff", "color": "#00baff",
"group": "water" "group": "water"
}, },
"glacier": { "glacier": {
"zoom": 13,
"sign": "<i style='color: black;' class='fas fa-icicles'></i>", "sign": "<i style='color: black;' class='fas fa-icicles'></i>",
"color": "white", "color": "white",
"group": "water" "group": "water"
}, },
"cape": { "cape": {
"zoom": 16,
"sign": "", "sign": "",
"color": "#1d7500", "color": "#1d7500",
"group": "water" "group": "water"
}, },
"peninsula": { "peninsula": {
"zoom": 16,
"sign": "", "sign": "",
"color": "#1d7500", "color": "#1d7500",
"group": "water" "group": "water"
}, },
"beach": { "beach": {
"zoom": 13,
"sign": "<i class='fas fa-umbrella-beach'></i>", "sign": "<i class='fas fa-umbrella-beach'></i>",
"color": "#f9d199", "color": "#f9d199",
"group": "water" "group": "water"
}, },
"coastline": { "coastline": {
"zoom": 13,
"sign": "", "sign": "",
"color": "blue", "color": "blue",
"group": "water" "group": "water"
}, },
"reef": { "reef": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#005fbd", "color": "#005fbd",
"group": "water" "group": "water"
}, },
"peak": { "peak": {
"zoom": 9,
"sign": "<i class='fas fa-mountain'></i>", "sign": "<i class='fas fa-mountain'></i>",
"color": "#4f4f4f", "color": "#4f4f4f",
"group": "landform" "group": "landform"
}, },
"hill": { "hill": {
"zoom": 16,
"sign": "", "sign": "",
"color": "#4f4f4f", "color": "#4f4f4f",
"group": "landform" "group": "landform"
}, },
"volcano": { "volcano": {
"zoom": 9,
"sign": "", "sign": "",
"color": "#cf3a00", "color": "#cf3a00",
"group": "landform" "group": "landform"
}, },
"valley": { "valley": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#1d7500", "color": "#1d7500",
"group": "landform" "group": "landform"
}, },
"river_terrace": { "river_terrace": {
"zoom": 16,
"sign": "", "sign": "",
"color": "#a0a500", "color": "#a0a500",
"group": "landform" "group": "landform"
}, },
"ridge": { "ridge": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#4f4f4f", "color": "#4f4f4f",
"group": "landform" "group": "landform"
}, },
"arete": { "arete": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#4f4f4f", "color": "#4f4f4f",
"group": "landform" "group": "landform"
}, },
"cliff": { "cliff": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#4f4f4f", "color": "#4f4f4f",
"group": "landform" "group": "landform"
}, },
"saddle": { "saddle": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#4f4f4f", "color": "#4f4f4f",
"group": "landform" "group": "landform"
}, },
"rock": { "rock": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#4f4f4f", "color": "#4f4f4f",
"group": "landform" "group": "landform"
}, },
"stone": { "stone": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#4f4f4f", "color": "#4f4f4f",
"group": "landform" "group": "landform"
}, },
"sinkhole": { "sinkhole": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#a0a500", "color": "#a0a500",
"group": "landform" "group": "landform"
}, },
"cave_entrance": { "cave_entrance": {
"zoom": 13,
"sign": "", "sign": "",
"color": "#000000", "color": "#000000",
"group": "landform" "group": "landform"
}, },
"isthmus": { "isthmus": {
"zoom": 16,
"sign": "", "sign": "",
"color": "#1d7500", "color": "#1d7500",
"group": "landform" "group": "landform"
} }
}
},
"info": [
"<table>",
" {% for k, data in const %}",
" {% if data.zoom <= map.zoom %}",
" <tr>",
" <td>",
" {{ markerCircle({ fillColor: data.color })|raw }}<div class='sign'>{{ data.sign|raw }}</div>",
" </td>",
" <td>{{ tagTrans('natural', k) }}</td>",
" </tr>",
" {% endif %}",
" {% endfor %}",
"</table>"
]
} }
Loading…
Cancel
Save