Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "BGDIDIC-2865: fine tuning tooltip geometry sizes" #4446

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading