map: set initial view based on barycenter and standard deviation

This commit is contained in:
Nils Schneider 2015-04-06 15:54:26 +02:00
parent 11c689eb29
commit 315484625b
4 changed files with 29 additions and 21 deletions

View file

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