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

Mediencenter #385

Open
3 tasks done
ChristophMaskos opened this issue Dec 19, 2024 · 1 comment
Open
3 tasks done

Mediencenter #385

ChristophMaskos opened this issue Dec 19, 2024 · 1 comment
Labels
contribution Third party contribution in progress feature

Comments

@ChristophMaskos
Copy link
Contributor

Issue description

For my own project I developed a package that allows the user to download or view files by URL link. This could be a useful addition to the basic packages.

Prasentation.mp4

Validations

@ChristophMaskos ChristophMaskos added feature contribution Third party contribution in progress labels Dec 19, 2024
@mbeckem
Copy link
Contributor

mbeckem commented Jan 7, 2025

From your description this looks similar to some ideas i've had for a longer time.

Essentially, i would like to provide arbitrary "popup" or "overlay" functionality for applications. OpenLayers already has this feature (OpenLayers overlay = some HTML content at some coordinates), but it is not integrated with React and Chakra, so it only allows for "raw" html content unless app developers do the necessary react integration by hand.

So my "plan" (not currently being worked on) would be:

  • Create an API on the map model to open an overlay, e.g. mapModel.createOverlay(<Content />, { coordinates, ...options }).
  • Refactor existing OL Overlays (e.g. tooltips for measurement etc.) to use this API
  • (Maybe) create a popup package (popups are Overlays with some window decorations, maybe some default contents).

Packages such as yours could then be implemented on top of the overlay API or the popups API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution Third party contribution in progress feature
Projects
None yet
Development

No branches or pull requests

2 participants