LayerServer: add opt-out to get counted for some irrelevant layers, remove some obsolete 'cluster' information

This commit is contained in:
Pieter Vander Vennet 2024-02-22 01:39:42 +01:00
parent 7c5170da15
commit 426128e141
14 changed files with 210 additions and 263 deletions

View file

@ -176,6 +176,18 @@ export interface LayerConfigJson {
*/
isShown?: TagConfigJson
/**
* question: should this layer be included in the summary counts?
*
* The layer server can give summary counts for a tile.
* This should however be disabled for some layers, e.g. because there are too many features (walls_and_buildings) or because the count is irrelevant.
*
* ifunset: Do count
* iffalse: Do not include the counts
* iftrue: Do include the count
*/
isCounted?: true | boolean
/**
* The minimum needed zoomlevel required to start loading and displaying the data.
* This can be used to only show common features (e.g. a bicycle parking) only when the map is zoomed in very much (17).