Small rewording of comments

This commit is contained in:
pietervdvn 2022-05-17 01:55:13 +02:00
parent e55b299864
commit 81f7225815

View file

@ -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. * 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_. * _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"}` * For example, when you want to fetch all grass-areas in parks and which are marked as publicly accessible:
* 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 overpassScript?: string
} | } |