-
Notifications
You must be signed in to change notification settings - Fork 281
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
Markers API #87
Comments
👍 |
@chrisn I amended the API definition to make it more lightweight and able to fit in people existing data structures, possibly by referencing data rather than having to duplicate them in memory. What do you think? |
Looks good, a few thoughts below:
There are a few other issues in the rendering that we should fix:
|
Will this also help with attaching something like editor notes/comments? it may change dynamically after the initialization of the segment. |
@amrfaisal I suggest adding your requirements as a new issue. We may want to address that separately to the proposed change described in this issue. |
I'm going to close this, as we have a new marker API (although somewhat different to this proposal) in v0.18.0, which is intended to give applications more control over marker rendering - see Customizing Peaks.js. Please re-open or raise a new issue if there are any limitations or use cases the new API doesn't support. |
Amazing 🙂 Thanks for your work! |
tl;dr
This API replaces the Segments and Points API.
Why?
Segments and points contains basically the same data. They differ only in their rendering aspect.
Hence a very similar codebase.
Also, we want to deal with multiple/optional layers of data, to toggle them.
Goals
Example
Work
closes #64
The text was updated successfully, but these errors were encountered: