map: set initial view based on barycenter and standard deviation
This commit is contained in:
parent
11c689eb29
commit
315484625b
4 changed files with 29 additions and 21 deletions
lib
|
@ -26,7 +26,7 @@ function (chroma, Map, Sidebar, Tabs, Container, Meshstats, Linklist,
|
|||
function addContent(K) {
|
||||
removeContent()
|
||||
|
||||
content = new K(linkScale, sidebar, router)
|
||||
content = new K(config, linkScale, sidebar, router)
|
||||
contentDiv.appendChild(content.div)
|
||||
|
||||
if (latestData)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue