diff --git a/package.json b/package.json index 9a3a45c..c943263 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "webpack-stream": "^7.0.0" }, "dependencies": { - "@arction/lcjs": "^4.1.1", + "@arction/lcjs": "^5.1.1", "@arction/xydata": "^1.4.0" }, "lightningChart": { diff --git a/src/index.js b/src/index.js index 3f837a0..34829d7 100644 --- a/src/index.js +++ b/src/index.js @@ -9,7 +9,7 @@ const lcjs = require('@arction/lcjs') const { lightningChart, MapTypes, PalettedFill, LUT, ColorRGBA, formatLongitudeLatitude, regularColorSteps, Themes } = lcjs const mapChart = lightningChart().Map({ - theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined, + theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined type: MapTypes.Europe, }) const theme = mapChart.getTheme()