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

Add non-overlapping symbol layout: priority #2

Open
gka opened this issue Dec 30, 2011 · 0 comments
Open

Add non-overlapping symbol layout: priority #2

gka opened this issue Dec 30, 2011 · 0 comments
Labels
Milestone

Comments

@gka
Copy link
Contributor

gka commented Dec 30, 2011

This layout is useful if you don't necessarily need to display all symbols (for instance if you display cities). Instead you would display only the most important symbols.

API proposal

new SymbolGroup({
    layout: "priority",
    priority: function (d) {
         // returns the priority for this symbol (Number)
    }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant