From feaef5cf73749287aa94496e4bc49b321da65014 Mon Sep 17 00:00:00 2001 From: Hanbyul Jo Date: Mon, 28 Dec 2020 09:30:16 -0500 Subject: [PATCH] show label only when zoom is big enough --- static/scene.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/scene.yaml b/static/scene.yaml index 1e7950c..8d89aec 100644 --- a/static/scene.yaml +++ b/static/scene.yaml @@ -41,7 +41,10 @@ global: size: 9pt fill: black line-and-polygon-labels: - filter: { not: { $geometry: point } } + filter: + all: + - { not: { $geometry: point } } + - { $zoom: { min: 14 } } draw: text: collide: global.collide @@ -85,7 +88,7 @@ layers: # draw: # polygons: # interactive: true - # data: { source: building } + # data: { source: building } # draw: # polygons: # color: red