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

MarkerView Plugin #28

Open
fynngodau opened this issue May 17, 2023 · 0 comments
Open

MarkerView Plugin #28

fynngodau opened this issue May 17, 2023 · 0 comments

Comments

@fynngodau
Copy link
Collaborator

fynngodau commented May 17, 2023

The marker view plugin has multiple issues at this moment that make it infeasible to be used in some cases.

  • Right now, each and every marker added through it is a View. Sometimes you need many markers and only show details on click, which would right now require, as far as I can tell, removing the "normal", performant marker (rendered with native code) and replacing it with a MarkerView.
  • All the markers being views also results in some latency relative to the map moving. So far I haven't been able to figure out how to position views on top of the map exactly in sync with the map. It feels like it should be possible – maybe it is easier to achieve if this feature is moved to maplibre-native and there's some code to support synced rendering there.

Additional info: I have written code for microG's maps that implement Google Maps info windows. Maybe this can be useful somewhere, just wanted to mention it here. MapLibre-native itself also has such an imementation for its own marker annotation implementation.

cc @louwers

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

No branches or pull requests

1 participant