forked from MapComplete/MapComplete
Add items-with-image theme
This commit is contained in:
parent
894d857cdc
commit
894c48520a
9 changed files with 163 additions and 7 deletions
14
assets/themes/items_with_image/items_with_image.json
Normal file
14
assets/themes/items_with_image/items_with_image.json
Normal 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"
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue