Add cities to mapnik map key

This commit is contained in:
Anton Khorev 2023-12-31 06:47:10 +03:00
parent 7e73286b57
commit 06a40fda93
6 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="6" height="6" viewBox="-3 -3 6 6">
<circle r="2.5" fill="#fdfdfc" stroke="#222" />
<circle r="1" fill="#222" />
</svg>

After

Width:  |  Height:  |  Size: 166 B

View file

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="-4 -4 8 8">
<circle r="3.5" fill="#fdfdfc" stroke="#222" />
<circle r="1.5" fill="#222" />
</svg>

After

Width:  |  Height:  |  Size: 168 B

View file

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="-2 -2 4 4">
<circle r="1.75" fill="#fdfdfc" stroke="#575749" stroke-width="0.5" />
</svg>

After

Width:  |  Height:  |  Size: 160 B

View file

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="6" viewBox="0 -3 17 6">
<circle cx="3" r="2.6" fill="#f9f9f7" stroke="#6f6f5b" stroke-width="0.8" />
<circle cx="14" r="1.75" fill="#fdfdfc" stroke="#424236" stroke-width="0.5" />
</svg>

After

Width:  |  Height:  |  Size: 246 B

View file

@ -34,6 +34,11 @@ mapnik:
- { min_zoom: 11, name: apron_only, width: 26, height: 10, fill: "#dadae0" } # landcover.mss
# administrative boundaries: admin.mss
- { name: admin, width: 52, height: 2, fill: "#8d618b88" }
# places: placenames.mss
- { min_zoom: 4, max_zoom: 6, name: capital, image: capital4.svg }
- { min_zoom: 7, max_zoom: 7, name: capital, image: capital7.svg }
- { min_zoom: 4, max_zoom: 5, name: city, image: city4.svg }
- { min_zoom: 6, max_zoom: 7, name: city, image: city6.svg }
# landcover z5: landcover.mss, water.mss
- { name: [lake_only, reservoir], width: 26, height: 10, fill: "#aad3df" }
- { name: intermittent_water, image: intermittent_water.svg }

View file

@ -2321,6 +2321,8 @@ en:
taxiway: "Taxiway"
apron_only: "Airport apron"
admin: "Administrative boundary"
capital: "Capital"
city: "City"
orchard_only: "Orchard"
vineyard: "Vineyard"
forest_only: "Forest"