Skip to content

Commit

Permalink
Revert "BGDIDIC-2865: fine tuning tooltip geometry sizes"
Browse files Browse the repository at this point in the history
This reverts commit d777fb2.
  • Loading branch information
ltclm committed Sep 30, 2024
1 parent 0e599e5 commit 73888a5
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions chsdi/models/vector/vbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 73888a5

Please sign in to comment.