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

The map on web is always on top of Compose UI #210

Open
sargunv opened this issue Dec 31, 2024 · 1 comment
Open

The map on web is always on top of Compose UI #210

sargunv opened this issue Dec 31, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed web Affects Web in particular, or relates to Web specific code

Comments

@sargunv
Copy link
Owner

sargunv commented Dec 31, 2024

This means that dialogs, sheets, material3 controls, composable annotations, etc can't be rendered over the map.

Related: #184

Compose UI doesn't have support for HTML interop at all, so we have our own library: https://github.com/sargunv/maplibre-compose/tree/main/lib/compose-html-interop.

I'm not too familiar with the capabilities of the browser, but would it be possible to apply an alpha mask to either the Compose canvas or the MapLibre canvas to composite with each other?

@sargunv sargunv added bug Something isn't working web Affects Web in particular, or relates to Web specific code help wanted Extra attention is needed labels Dec 31, 2024
@sargunv
Copy link
Owner Author

sargunv commented Dec 31, 2024

#215 will fix this if we can figure out pointer interop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed web Affects Web in particular, or relates to Web specific code
Projects
None yet
Development

No branches or pull requests

1 participant