Automatic docs update

This commit is contained in:
pietervdvn 2021-04-22 20:07:51 +02:00
parent aea55cf474
commit b5862ab8a9
2 changed files with 19 additions and 0 deletions

View file

@ -35,6 +35,10 @@ Legacy for a specific project calculating the needed width for safe traffic on a
Adds the time that the data got loaded - pretty much the time of downloading from overpass. The format is YYYY-MM-DD hh:mm, aka 'sortable' aka ISO-8601-but-not-entirely
### \_last\_edit:contributor, \_last\_edit:contributor:uid, \_last\_edit:changeset, \_last\_edit:timestamp, \_version\_number
Information about the last edit of this object. IMPORTANT: this data is \_only\_ loaded when the popup is added. This means it should \_not\_ be used to render icons!
Calculating tags with Javascript
--------------------------------

View file

@ -69,6 +69,21 @@
"key": "friture:oil",
"description": "Layer 'Frituren' shows friture:oil=animal with a fixed text, namely 'Dierlijk vet' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Friturenkaart')",
"value": "animal"
},
{
"key": "bulk_purchase",
"description": "Layer 'Frituren' shows bulk_purchase=yes with a fixed text, namely 'You can bring <b>your own containers</b> to get your order, saving on single-use packaging material and thus waste' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Friturenkaart')",
"value": "yes"
},
{
"key": "bulk_purchase",
"description": "Layer 'Frituren' shows bulk_purchase=no with a fixed text, namely 'Bringing your own container is <b>not allowed</b>' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Friturenkaart')",
"value": "no"
},
{
"key": "bulk_purchase",
"description": "Layer 'Frituren' shows bulk_purchase=only with a fixed text, namely 'You <b>must</b> bring your own container to order here.' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Friturenkaart')",
"value": "only"
}
]
}