Add items-with-image theme

This commit is contained in:
Pieter Vander Vennet 2024-02-21 18:47:12 +01:00
parent 894d857cdc
commit 894c48520a
9 changed files with 163 additions and 7 deletions

View file

@ -0,0 +1,14 @@
{
"id": "items_with_image",
"hideFromOverview": true,
"title": {
"en": "All items with images"
},
"description": {
"en": "A map showing all items on OSM which have an image. This theme is a very bad fit for MapComplete as someone is not able to directly add a picture. However, this theme is mostly here to include this all into the database, which'll allow this to quickly fetch images nearby for other features"
},
"icon": "./assets/layers/item_with_image/camera.svg",
"layers": [
"item_with_image"
]
}

View file

@ -318,6 +318,10 @@
"if": "theme=indoors",
"then": "./assets/layers/entrance/entrance.svg"
},
{
"if": "theme=items_with_image",
"then": "./assets/layers/item_with_image/camera.svg"
},
{
"if": "theme=kerbs_and_crossings",
"then": "./assets/layers/kerbs/KerbIcon.svg"