jupytergis-core 0.1.4__py3-none-any.whl → 0.1.6__py3-none-any.whl
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.
- jupytergis_core/_version.py +1 -1
- jupytergis_core/jgis_ydoc.py +1 -10
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/package.json +4 -4
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/00887354a047de8e8ad2.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/093566863e138c063979.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/155.791fd730117b9017ceda.js +1 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/17f1c37d9d081f0fa801.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2003cc27edce5ef07a5e.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2143349588d799a7d856.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2168df212ad516e6a484.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/35bcc2ef59e93c729a1b.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/53a159a1d31900966a45.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/557.0b58e3e2f305c1511239.js +1 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/57.44a013e9affe2ac3d6f8.js +8 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5bff6c7f1ccf3767b11c.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/60e7059c8e57a53d8cd7.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/6a6bf2497a996b1ef8ca.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/7a38920ac0b304c4cef2.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/8adaf9e835a92f6043fa.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/9364c59f4ec606895436.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/96dd47c188bba4bf6c55.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.58063db99b687f3a736f.js +1 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/9c241eb3370780d70be9.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/af4b496d79c507ddac05.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/b82092998161b0f288bd.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d1a79a565f8af1bff96a.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/e953d3d11435301897a2.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/f61ecdb6059137a38886.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/fe5a1a0eec16c611c295.png +0 -0
- jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.2be448efeacbfe847efe.js +1 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/third-party-licenses.json +4 -4
- {jupytergis_core-0.1.4.dist-info → jupytergis_core-0.1.6.dist-info}/METADATA +1 -1
- jupytergis_core-0.1.6.dist-info/RECORD +78 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/05cd6f9ef7cee99b045d.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1d440270da19a2f22fee.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1f152a2e838d5bc9734a.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/25add056a64c313112c1.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2fd48688b8db6630a98b.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/378afa99d57ed2ae3412.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/49aaa70fdbd358566081.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/557.124adeab9ddcc6efbcfa.js +0 -1
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/57.5de96a80fc76b40d5c98.js +0 -8
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5826034e4f8281d7f0ed.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/65a5e66f99e9379dfc35.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/6b757d947c8275c8a00a.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/6d8404aa058fc40542b5.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/91d7eac484745f2cc5be.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/936.eb473ed6556cf34dda15.js +0 -1
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/987b25b09e2ab3aa14c7.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.973db496b4c31530b673.js +0 -1
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/9ed013096549f2bf7c22.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a3d0ada3998dc5eedfd3.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/b55cd9c1ba258194a75b.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/bf9c5537f242b3244cfd.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/c5f242778732b5dc2895.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/c6533f8919fbd9204588.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d1e6643691fc2fba7cc9.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/e48a0a08bd9700f029ef.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/e70ac67d6f8fa78151d7.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/edf2f8b4d83dca6ed541.png +0 -0
- jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.7fbe4827740661d9dbf7.js +0 -1
- jupytergis_core-0.1.4.dist-info/RECORD +0 -79
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/etc/jupyter/jupyter_server_config.d/jupytergis_core.json +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/034e72037478aea1bd04.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/062a9554f6b4caac9713.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/064f37cecb8130ad66e8.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/08da2741746ddab81d04.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/154.0d16fbe1d1182d138b2c.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/197.34d9096e78e2f4b7138c.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/226.280aa14a2e4c0654c374.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.aea9e291ba3dd16790fb.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.aea9e291ba3dd16790fb.js.LICENSE.txt +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2b3d42a470b5ce14859a.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/32c7a73662cceb5bb1d7.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/350eec4ce9ae4bc10bca.wasm +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/36.b2f6adaa2d1def5c163f.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/363ca7c5f78deb6fd033.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/366.33cb40029b4f4da3d3ad.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3d48be10ffea86eb15de.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/407.fa2f7a0dc4d3371a5e2c.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/432.19e693d578a221132366.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/460.a2074380632031c05e8d.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/472.08add5249d72d563ba32.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/4ed4ae4121d38d85100b.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/509.0d58394cd3a34bdbd0b9.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/542.3038c6cef679f15b8d9a.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/552.9f37fbb73d9f60b6c3f3.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/555.7d0c1d2ee9e49a619cb9.js +0 -0
- /jupytergis_core-0.1.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/57.5de96a80fc76b40d5c98.js.LICENSE.txt → /jupytergis_core-0.1.6.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/57.44a013e9affe2ac3d6f8.js.LICENSE.txt +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/618.86523276f857e0a3362e.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/733.9bce9fdd113869d413d0.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/777.b41e81dd6b0af001baab.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/777.b41e81dd6b0af001baab.js.LICENSE.txt +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.959deb5eafbb3ab489c6.js +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/9d23b9ebf800c009f835.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/aa0d1282df07ef3c385f.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ae2589dc6f6090080a25.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d0917c2edc1eee1562a2.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d7eb57ad53f788b1fa92.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d83457b1b925c1718f6d.png +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/e473e1e9f20af114bbb4.data +0 -0
- {jupytergis_core-0.1.4.data → jupytergis_core-0.1.6.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/style.js +0 -0
- {jupytergis_core-0.1.4.dist-info → jupytergis_core-0.1.6.dist-info}/WHEEL +0 -0
- {jupytergis_core-0.1.4.dist-info → jupytergis_core-0.1.6.dist-info}/entry_points.txt +0 -0
- {jupytergis_core-0.1.4.dist-info → jupytergis_core-0.1.6.dist-info}/licenses/LICENSE +0 -0
jupytergis_core/_version.py
CHANGED
jupytergis_core/jgis_ydoc.py
CHANGED
|
@@ -13,7 +13,6 @@ class YJGIS(YBaseDoc):
|
|
|
13
13
|
self._ydoc["sources"] = self._ysources = Map()
|
|
14
14
|
self._ydoc["options"] = self._yoptions = Map()
|
|
15
15
|
self._ydoc["layerTree"] = self._ylayerTree = Array()
|
|
16
|
-
self._ydoc["terrain"] = self._yterrain = Map()
|
|
17
16
|
|
|
18
17
|
def version(self) -> str:
|
|
19
18
|
return "0.1.0"
|
|
@@ -28,14 +27,12 @@ class YJGIS(YBaseDoc):
|
|
|
28
27
|
sources = self._ysources.to_py()
|
|
29
28
|
options = self._yoptions.to_py()
|
|
30
29
|
layers_tree = self._ylayerTree.to_py()
|
|
31
|
-
terrain = self._yterrain.to_py()
|
|
32
30
|
return json.dumps(
|
|
33
31
|
dict(
|
|
34
32
|
layers=layers,
|
|
35
33
|
sources=sources,
|
|
36
34
|
options=options,
|
|
37
|
-
layerTree=layers_tree
|
|
38
|
-
terrain=terrain,
|
|
35
|
+
layerTree=layers_tree
|
|
39
36
|
),
|
|
40
37
|
sort_keys=True,
|
|
41
38
|
indent=2,
|
|
@@ -62,9 +59,6 @@ class YJGIS(YBaseDoc):
|
|
|
62
59
|
self._ylayerTree.clear()
|
|
63
60
|
self._ylayerTree.extend(valueDict.get("layerTree", []))
|
|
64
61
|
|
|
65
|
-
self._yterrain.clear()
|
|
66
|
-
self._yterrain.update(valueDict.get("terrain", {}))
|
|
67
|
-
|
|
68
62
|
def observe(self, callback: Callable[[str, Any], None]):
|
|
69
63
|
self.unobserve()
|
|
70
64
|
self._subscriptions[self._ystate] = self._ystate.observe(
|
|
@@ -82,6 +76,3 @@ class YJGIS(YBaseDoc):
|
|
|
82
76
|
self._subscriptions[self._ylayerTree] = self._ylayerTree.observe(
|
|
83
77
|
partial(callback, "layerTree")
|
|
84
78
|
)
|
|
85
|
-
self._subscriptions[self._yterrain] = self._yterrain.observe_deep(
|
|
86
|
-
partial(callback, "terrain")
|
|
87
|
-
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupytergis/jupytergis-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "JupyterGIS core extension",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@jupyter/docprovider": "^2.0.0",
|
|
56
|
-
"@jupytergis/base": "^0.1.
|
|
57
|
-
"@jupytergis/schema": "^0.1.
|
|
56
|
+
"@jupytergis/base": "^0.1.6",
|
|
57
|
+
"@jupytergis/schema": "^0.1.6",
|
|
58
58
|
"@jupyterlab/application": "^4.0.0",
|
|
59
59
|
"@jupyterlab/apputils": "^4.0.0",
|
|
60
60
|
"@jupyterlab/docregistry": "^4.0.0",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
"_build": {
|
|
121
|
-
"load": "static/remoteEntry.
|
|
121
|
+
"load": "static/remoteEntry.2be448efeacbfe847efe.js",
|
|
122
122
|
"extension": "./extension",
|
|
123
123
|
"style": "./style"
|
|
124
124
|
}
|
|
Binary file
|