tmap-faerun-js
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -47,3 +47,5 @@ // const vertexCoordinates = { | ||
colors, | ||
null | ||
null, | ||
'#222222', | ||
'front', | ||
); | ||
@@ -50,0 +52,0 @@ |
{ | ||
"name": "tmap-faerun-js", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "A JavaScript API to load and display TMAPs in the browser.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,2 +10,3 @@ let Lore = require('lore-engine') | ||
clearColorHex = "#222222", | ||
view = "front", | ||
hasLegend = true, | ||
@@ -47,3 +48,3 @@ antiAliasing = true, | ||
this.clearColor = null; | ||
this.view = 'front'; | ||
this.view = view; | ||
this.antiAliasing = antiAliasing; | ||
@@ -50,0 +51,0 @@ this.alphaBlending = alphaBlending; |
@@ -11,2 +11,3 @@ Faerun = require('./faerun.js'); | ||
backgroundColor = "#222222", | ||
view = "front", | ||
treeColor = "#4a69bd", | ||
@@ -49,3 +50,3 @@ maxPointSize = 20, | ||
"series_title": [null], | ||
"shader": "smoothCircle", | ||
"shader": view === 'free' ? "sphere" : "smoothCircle", | ||
"title_index": [1] | ||
@@ -93,3 +94,3 @@ }]; | ||
canvasId, this.scatterMeta, this.treeMeta, | ||
data, backgroundColor, hasLegend | ||
data, backgroundColor, view, hasLegend | ||
); | ||
@@ -96,0 +97,0 @@ } |
Sorry, the diff of this file is too big to display
665397
13062