Skip to content

Commit

Permalink
feat(geo): manage layers and groups
Browse files Browse the repository at this point in the history
Breaking changes: This is a major refactor of the way we manage layer in IGO
- New class 'LayerController' to manage layers and offer 3 types of layers, 'systemLayers', 'baseLayers', 'treeLayers'. The systemLayers is the drawing layer, measurement layer and other vital layers for the library. Note that a systemLayer can also be found in the treeLayers. The treeLayers is the hierarchical representation for the LayerViewer. The list of treeLayers can also be accessed under the flattened variant. Finally these three types of layers are aggregated to provide a unified list names 'all' which allows to have the 'baseLayers', 'systemLayers' and the flattened list of the 'treeLayers'

- The way we access the layers has also changed, we must go through the LayerController

- The LayerViewer does not allow to display the baseLayer, the 'excludeBaselayers' is removed

(cherry picked from commit 5ed250d6ca2b27d904de8d3354c11a981c64bf67)

fix: lint

fix(geo): remove duplicate layer from all

(cherry picked from commit 42e4fa9b739c555f3c0f5b3a098ab14307aaae67)

fix(build): circular dependency revert compilationMode to full

fix(geo): circular dependencies
- refactor Layer/LayerGroup

fix(geo): time-filter-list remove BaseLayer

fix(geo): layer - project custom action in the bottom panel

refactor: change label for group

fix(geo): move layer with linkedLayers add system layer in tree

fix: any
  • Loading branch information
aziz rabhi authored and alecarn committed Sep 13, 2024
1 parent 535ece3 commit b774742
Show file tree
Hide file tree
Showing 206 changed files with 8,460 additions and 9,028 deletions.
16 changes: 15 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@
"url": "http://127.0.0.1:4201",
"webRoot": "${workspaceFolder}/projects/igo2",
"sourceMaps": true
}
},
{
"name": "test",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: test.watch",
"url": "http://localhost:9876/debug.html"
},
{
"name": "test.common",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: test.common",
"url": "http://localhost:9876/debug.html"
},
]
}
38 changes: 38 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,44 @@
}
}
}
},
{
"type": "npm",
"script": "test",
"isBackground": true,
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(.*?)"
},
"endsPattern": {
"regexp": "bundle generation complete"
}
}
}
},
{
"label": "npm: test.common",
"type": "npm",
"path": "packages/common",
"script": "test.watch",
"isBackground": true,
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(.*?)"
},
"endsPattern": {
"regexp": "bundle generation complete"
}
}
}
}
]
}
4 changes: 0 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -535,10 +535,6 @@
},
"cli": {
"schematicCollections": ["@schematics/angular"],
"cache": {
"enabled": false,
"environment": "all"
},
"analytics": false
}
}
Loading

0 comments on commit b774742

Please sign in to comment.