aur-openlayers 19.6.6 → 19.6.9
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/README.md +63 -63
- package/fesm2022/aur-openlayers.mjs +14 -8
- package/fesm2022/aur-openlayers.mjs.map +1 -1
- package/lib/map-framework/runtime/decorations/arrow-decoration-manager.d.ts +1 -0
- package/lib/map-framework/runtime/decorations/buffer-decoration-manager.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
# Lib
|
|
2
|
-
|
|
3
|
-
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
ng generate component component-name
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
ng generate --help
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Building
|
|
20
|
-
|
|
21
|
-
To build the library, run:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
ng build lib
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
-
|
|
29
|
-
### Publishing the Library
|
|
30
|
-
|
|
31
|
-
Once the project is built, you can publish your library by following these steps:
|
|
32
|
-
|
|
33
|
-
1. Navigate to the `dist` directory:
|
|
34
|
-
```bash
|
|
35
|
-
cd dist/lib
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
39
|
-
```bash
|
|
40
|
-
npm publish
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Running unit tests
|
|
44
|
-
|
|
45
|
-
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
ng test
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## Running end-to-end tests
|
|
52
|
-
|
|
53
|
-
For end-to-end (e2e) testing, run:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
ng e2e
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
60
|
-
|
|
61
|
-
## Additional Resources
|
|
62
|
-
|
|
63
|
-
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
|
1
|
+
# Lib
|
|
2
|
+
|
|
3
|
+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ng generate component component-name
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
ng generate --help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Building
|
|
20
|
+
|
|
21
|
+
To build the library, run:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
ng build lib
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
+
|
|
29
|
+
### Publishing the Library
|
|
30
|
+
|
|
31
|
+
Once the project is built, you can publish your library by following these steps:
|
|
32
|
+
|
|
33
|
+
1. Navigate to the `dist` directory:
|
|
34
|
+
```bash
|
|
35
|
+
cd dist/lib
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
39
|
+
```bash
|
|
40
|
+
npm publish
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Running unit tests
|
|
44
|
+
|
|
45
|
+
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
ng test
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Running end-to-end tests
|
|
52
|
+
|
|
53
|
+
For end-to-end (e2e) testing, run:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
ng e2e
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
60
|
+
|
|
61
|
+
## Additional Resources
|
|
62
|
+
|
|
63
|
+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
|
@@ -27,18 +27,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
27
27
|
|
|
28
28
|
class LibComponent {
|
|
29
29
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LibComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: LibComponent, isStandalone: true, selector: "lib-lib", ngImport: i0, template: `
|
|
31
|
-
<p>
|
|
32
|
-
lib works!
|
|
33
|
-
</p>
|
|
30
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: LibComponent, isStandalone: true, selector: "lib-lib", ngImport: i0, template: `
|
|
31
|
+
<p>
|
|
32
|
+
lib works!
|
|
33
|
+
</p>
|
|
34
34
|
`, isInline: true, styles: [""] });
|
|
35
35
|
}
|
|
36
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LibComponent, decorators: [{
|
|
37
37
|
type: Component,
|
|
38
|
-
args: [{ selector: 'lib-lib', imports: [], template: `
|
|
39
|
-
<p>
|
|
40
|
-
lib works!
|
|
41
|
-
</p>
|
|
38
|
+
args: [{ selector: 'lib-lib', imports: [], template: `
|
|
39
|
+
<p>
|
|
40
|
+
lib works!
|
|
41
|
+
</p>
|
|
42
42
|
` }]
|
|
43
43
|
}] });
|
|
44
44
|
|
|
@@ -2342,6 +2342,7 @@ class ArrowDecorationManager {
|
|
|
2342
2342
|
parentLayer;
|
|
2343
2343
|
parentApi;
|
|
2344
2344
|
moveEndKey;
|
|
2345
|
+
visibilityKey;
|
|
2345
2346
|
unsubCollection;
|
|
2346
2347
|
unsubChanges;
|
|
2347
2348
|
rafId = null;
|
|
@@ -2359,6 +2360,7 @@ class ArrowDecorationManager {
|
|
|
2359
2360
|
this.map.addLayer(this.layer);
|
|
2360
2361
|
this.syncVisibility();
|
|
2361
2362
|
this.syncOpacity();
|
|
2363
|
+
this.visibilityKey = this.parentLayer.on('change:visible', () => this.syncVisibility());
|
|
2362
2364
|
this.moveEndKey = this.map.on('moveend', () => this.scheduleUpdate());
|
|
2363
2365
|
this.unsubCollection = this.parentApi.onModelsCollectionChanged(() => this.scheduleUpdate());
|
|
2364
2366
|
this.unsubChanges = this.parentApi.onModelsChanged?.(() => this.scheduleUpdate());
|
|
@@ -2423,6 +2425,7 @@ class ArrowDecorationManager {
|
|
|
2423
2425
|
this.rafId = null;
|
|
2424
2426
|
}
|
|
2425
2427
|
unByKey(this.moveEndKey);
|
|
2428
|
+
unByKey(this.visibilityKey);
|
|
2426
2429
|
this.unsubCollection();
|
|
2427
2430
|
this.unsubChanges?.();
|
|
2428
2431
|
this.map.removeLayer(this.layer);
|
|
@@ -2568,6 +2571,7 @@ class BufferDecorationManager {
|
|
|
2568
2571
|
parentLayer;
|
|
2569
2572
|
parentApi;
|
|
2570
2573
|
moveEndKey;
|
|
2574
|
+
visibilityKey;
|
|
2571
2575
|
unsubCollection;
|
|
2572
2576
|
unsubChanges;
|
|
2573
2577
|
rafId = null;
|
|
@@ -2585,6 +2589,7 @@ class BufferDecorationManager {
|
|
|
2585
2589
|
this.map.addLayer(this.layer);
|
|
2586
2590
|
this.syncVisibility();
|
|
2587
2591
|
this.syncOpacity();
|
|
2592
|
+
this.visibilityKey = this.parentLayer.on('change:visible', () => this.syncVisibility());
|
|
2588
2593
|
this.moveEndKey = this.map.on('moveend', () => this.scheduleUpdate());
|
|
2589
2594
|
this.unsubCollection = this.parentApi.onModelsCollectionChanged(() => this.scheduleUpdate());
|
|
2590
2595
|
this.unsubChanges = this.parentApi.onModelsChanged?.(() => this.scheduleUpdate());
|
|
@@ -2643,6 +2648,7 @@ class BufferDecorationManager {
|
|
|
2643
2648
|
this.rafId = null;
|
|
2644
2649
|
}
|
|
2645
2650
|
unByKey(this.moveEndKey);
|
|
2651
|
+
unByKey(this.visibilityKey);
|
|
2646
2652
|
this.unsubCollection();
|
|
2647
2653
|
this.unsubChanges?.();
|
|
2648
2654
|
this.map.removeLayer(this.layer);
|