From 73888a5e91de2abe761b5f617994f304612fc626 Mon Sep 17 00:00:00 2001 From: Marcel Clausen Date: Mon, 30 Sep 2024 11:29:03 +0200 Subject: [PATCH] Revert "BGDIDIC-2865: fine tuning tooltip geometry sizes" This reverts commit d777fb2cd5979d024cc24f8ed95240ff958f375e. --- chsdi/models/vector/vbs.py | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/chsdi/models/vector/vbs.py b/chsdi/models/vector/vbs.py index 7b8dab0f2b..3b08f82d90 100644 --- a/chsdi/models/vector/vbs.py +++ b/chsdi/models/vector/vbs.py @@ -221,25 +221,18 @@ class Notfalltreffpunkte: the_geom_point = Column('the_geom', Geometry2D) -class NotfalltreffpunkteZoom0(Base, Notfalltreffpunkte, Vector): - __minscale__ = 100000 - the_geom = Column('the_geom_tooltip_0', Geometry2D) - - class NotfalltreffpunkteZoom1(Base, Notfalltreffpunkte, Vector): + __minscale__ = 1 __maxscale__ = 100000 - __minscale__ = 25000 - the_geom = Column('the_geom_tooltip_1', Geometry2D) + the_geom = Column('the_geom_tooltip_2', Geometry2D) +register(NotfalltreffpunkteZoom1.__bodId__, NotfalltreffpunkteZoom1) -class NotfalltreffpunkteZoom2(Base, Notfalltreffpunkte, Vector): - __maxscale__ = 25000 - __minscale__ = 1 - the_geom = Column('the_geom_tooltip_2', Geometry2D) +class NotfalltreffpunkteZoom2(Base, Notfalltreffpunkte, Vector): + __minscale__ = 100000 + the_geom = Column('the_geom_tooltip', Geometry2D) -register(NotfalltreffpunkteZoom0.__bodId__, NotfalltreffpunkteZoom0) -register(NotfalltreffpunkteZoom1.__bodId__, NotfalltreffpunkteZoom1) register(NotfalltreffpunkteZoom2.__bodId__, NotfalltreffpunkteZoom2)