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

Grundsätzliches zu Popups, Pan/Zoom-Verhalten und Positionierung #9

Open
d3d9 opened this issue Dec 3, 2019 · 0 comments
Open

Grundsätzliches zu Popups, Pan/Zoom-Verhalten und Positionierung #9

d3d9 opened this issue Dec 3, 2019 · 0 comments
Labels
popups Related to popup content or handling

Comments

@d3d9
Copy link
Owner

d3d9 commented Dec 3, 2019

Popups sind mittlerweile schon draggable und Funktionalität wie autoPan beim Öffnen ist vorhanden.

Eventuell ist es besser, zuküftig dies anders umzusetzen.
Pan-/Zoomverhalten ist zu diskutieren, aktuell wird es ja mit der Karte mitgeschoben, dies kann anders besser sein.
Weitere Idee: Mit "Ausweichberechnungen" für Anchor-Position und "Richtung" undso eine möglichst wenig verdeckende Platzierung je nach Umgebung/Kontext erreichen.


Aktuell wird immer overflow-y: scroll und eine (max-)height benutzt (beim Haltestellenpopup height statt max-height, da es sonst unter Safari crasht..), ggf. kann man das zukünftig dynamisch berechnen/entfernen, ob/wie genau scroll&height notwendig sind.
Ggf. noch bei Mittenberechnung mit getLowerCenter das "padding" dynamisch setzen, anhand der geschätzten/echten Höhe der Popupinhalte


Zurück/Linien/Aktualisieren-Buttons im Footer als svg mit Icon statt eines Texts machen?

@d3d9 d3d9 added the popups Related to popup content or handling label Dec 3, 2019
@d3d9 d3d9 changed the title Grundsätzliches zu Popups Grundsätzliches zu Popups, Pan/Zoom-Verhalten und Positionierung Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
popups Related to popup content or handling
Projects
None yet
Development

No branches or pull requests

1 participant