Skip to content

Commit e1184bd

Browse files
committed
Update to @lumidb/lumidb v0.5.0
1 parent 4be400c commit e1184bd

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"license": "LumiDB",
1313
"description": "LumiDB + three.js example",
1414
"dependencies": {
15-
"@lumidb/lumidb": "0.4.0",
15+
"@lumidb/lumidb": "0.5.0",
1616
"@types/three": "0.152.0",
1717
"three": "^0.152.0",
1818
"typescript": "^5.6.2",

src/example-app.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async function loadPoints() {
4343

4444
localStorage.setItem("lumidb-apikey", apikey);
4545

46-
const lumidb = new LumiDB("https://api.lumidb.com", apikey);
46+
const lumidb = new LumiDB({ baseUrl: "https://api.lumidb.com", auth: { apikey: apikey } });
4747

4848
const resp = await lumidb.query({
4949
tableName: "turku",
@@ -61,7 +61,7 @@ async function loadPoints() {
6161
[null, null], // optional Z coordinate range
6262
],
6363
},
64-
queryCRS: "EPSG:3857",
64+
queryProj: "EPSG:3857",
6565
maxPoints: 5_000_000,
6666
maxDensity: null,
6767
sourceFileFilter: null,

0 commit comments

Comments
 (0)