@navaramap/worker 0.0.8 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +11 -1
- package/package.json +3 -3
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
# @navaramap/worker
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The Web Worker infrastructure for Navara's web packages. It provides a worker pool and task manager that run heavy GIS processing (vector tile parsing, polygon/polyline geometry construction, terrain mesh construction and upsampling, image decoding) off the main thread using Navara's WASM worker module, transferring the results back as transferable buffers.
|
|
4
|
+
|
|
5
|
+
This is an internal building block: applications normally get background processing through [`@navaramap/three`](https://github.com/reearth/navara/tree/main/web/navara_three), which sets up the worker pool as part of `view.init()`, rather than using this package directly.
|
|
6
|
+
|
|
7
|
+
## Documentation
|
|
8
|
+
|
|
9
|
+
See https://navara-docs.reearth.workers.dev/ for the full Navara documentation.
|
|
10
|
+
|
|
11
|
+
## License
|
|
12
|
+
|
|
13
|
+
MIT OR Apache-2.0
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navaramap/worker",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0
|
|
4
|
+
"version": "0.1.0",
|
|
5
5
|
"main": "dist/index.umd.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"workerpool": "10.0.3",
|
|
23
|
-
"@navaramap/
|
|
24
|
-
"@navaramap/
|
|
23
|
+
"@navaramap/core": "0.1.0",
|
|
24
|
+
"@navaramap/engine-worker": "0.1.0"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"type-check": "tsc && tsc -p tsconfig.node.json",
|