kartograph/kartograph.js — Issue #2: Add non-overlapping symbol layout: priority
Author: gka
Created: 2011-12-30 19:14:18+00:00
State: open

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)
}
})