@jupytergis/jupytergis-core 0.1.3 → 0.1.5
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/lib/jgisplugin/plugins.js +1 -11
- package/package.json +3 -3
|
@@ -72,7 +72,7 @@ const activate = (app, tracker, themeManager, browserFactory, externalCommandReg
|
|
|
72
72
|
type: 'file',
|
|
73
73
|
ext: '.jGIS'
|
|
74
74
|
});
|
|
75
|
-
model = await app.serviceManager.contents.save(model.path, Object.assign(Object.assign({}, model), { format: 'text', size: undefined, content: '{\n\t"layers": {},\n\t"sources": {},\n\t"options": {"latitude": 0, "longitude": 0, "zoom": 0, "bearing": 0, "pitch": 0, "projection": "EPSG:3857"},\n\t"layerTree": [],\n
|
|
75
|
+
model = await app.serviceManager.contents.save(model.path, Object.assign(Object.assign({}, model), { format: 'text', size: undefined, content: '{\n\t"layers": {},\n\t"sources": {},\n\t"options": {"latitude": 0, "longitude": 0, "zoom": 0, "bearing": 0, "pitch": 0, "projection": "EPSG:3857"},\n\t"layerTree": [],\n}' }));
|
|
76
76
|
// Open the newly created file with the 'Editor'
|
|
77
77
|
return app.commands.execute('docmanager:open', {
|
|
78
78
|
path: model.path,
|
|
@@ -151,16 +151,6 @@ const activate = (app, tracker, themeManager, browserFactory, externalCommandReg
|
|
|
151
151
|
command: CommandIDs.moveLayerToNewGroup,
|
|
152
152
|
category: 'JupyterGIS'
|
|
153
153
|
});
|
|
154
|
-
// Source actions
|
|
155
|
-
// Terrain
|
|
156
|
-
palette.addItem({
|
|
157
|
-
command: CommandIDs.newTerrain,
|
|
158
|
-
category: 'JupyterGIS'
|
|
159
|
-
});
|
|
160
|
-
palette.addItem({
|
|
161
|
-
command: CommandIDs.removeTerrain,
|
|
162
|
-
category: 'JupyterGIS'
|
|
163
|
-
});
|
|
164
154
|
}
|
|
165
155
|
};
|
|
166
156
|
const jGISPlugin = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupytergis/jupytergis-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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.5",
|
|
57
|
+
"@jupytergis/schema": "^0.1.5",
|
|
58
58
|
"@jupyterlab/application": "^4.0.0",
|
|
59
59
|
"@jupyterlab/apputils": "^4.0.0",
|
|
60
60
|
"@jupyterlab/docregistry": "^4.0.0",
|