From 81f722581568a4345eac4540084aaaeb10a94db2 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 17 May 2022 01:55:13 +0200 Subject: [PATCH] Small rewording of comments --- Models/ThemeConfig/Json/LayerConfigJson.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Models/ThemeConfig/Json/LayerConfigJson.ts b/Models/ThemeConfig/Json/LayerConfigJson.ts index 85cf1ab5a..09285eb40 100644 --- a/Models/ThemeConfig/Json/LayerConfigJson.ts +++ b/Models/ThemeConfig/Json/LayerConfigJson.ts @@ -59,8 +59,15 @@ export interface LayerConfigJson { * Specifying OSM-tags is still obligatory and will still hide non-matching items and they will be used for the rest of the pipeline. * _This should be really rare_. * - * For example, write `"source": {"overpassScript": "way[\"leisure\"=\"park\"];node(w);is_in;area._[\"leisure\"=\"park\"];(way(area)[\"landuse\"=\"grass\"]; node(w); );", "osmTags": "access=yes"}` - * when you want to fetch all grass-areas in parks and which are marked as publicly accessible. + * For example, when you want to fetch all grass-areas in parks and which are marked as publicly accessible: + * ``` + * "source": { + * "overpassScript": + * "way[\"leisure\"=\"park\"];node(w);is_in;area._[\"leisure\"=\"park\"];(way(area)[\"landuse\"=\"grass\"]; node(w); );", + * "osmTags": "access=yes" + * } + * ``` + * */ overpassScript?: string } |