Skip to content
New issue

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

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

Already on GitHub? # to your account

Migrate feature cards from MUI Popovers to OpenLayers Overlays #73

Open
duyminh1998 opened this issue Jul 6, 2024 · 0 comments
Open
Labels
enhancement New feature or request tech debt

Comments

@duyminh1998
Copy link
Collaborator

duyminh1998 commented Jul 6, 2024

Description

Feature cards are currently implemented using MUI Popovers, which blocks interaction with the map whenever a card is open. By migrating these cards to OpenLayers overlays, we can maintain a more seamless experience—allowing the user to continue interacting with the map while viewing or editing feature information.

Why

  • Map Interactivity: MUI Popovers prevent click and drag events on the map, disrupting navigation and other interactions.
  • Better Integration: OpenLayers overlays are designed to work natively with the map layer, providing smoother positioning and updates.
  • Improved User Experience: Users can view the feature details and still click on or pan around the map, improving workflow and reducing friction.

Complexity (optional)

  • We’ll need to refactor existing Popover logic to use the OpenLayers overlay API.
  • Ensuring overlays follow the same styling and positioning rules as Popovers might require additional CSS or configuration.
  • We may need to test different screen sizes and map zoom levels to confirm overlays behave consistently.

Definition of Done

  • Feature cards are displayed as OpenLayers overlays instead of MUI Popovers.
  • Users can interact with the map (zoom, pan, select other features) while a feature card is open.
  • All existing functionality within the feature card remains intact (e.g., editing details).
  • Basic cross-browser testing (or automated testing) confirms overlays are positioned and styled correctly.
@duyminh1998 duyminh1998 added the enhancement New feature or request label Jul 6, 2024
@duyminh1998 duyminh1998 changed the title Refactor feature cards to be overlays Migrate Feature Cards from MUI Popovers to OpenLayers Overlays Feb 8, 2025
@duyminh1998 duyminh1998 changed the title Migrate Feature Cards from MUI Popovers to OpenLayers Overlays Migrate feature cards from MUI Popovers to OpenLayers Overlays Feb 8, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request tech debt
Projects
None yet
Development

No branches or pull requests

2 participants