@ndwnu/map 0.0.1-beta.4 → 0.0.1-beta.6
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/fesm2022/ndwnu-map.mjs
CHANGED
|
@@ -420,10 +420,10 @@ class MapComponent {
|
|
|
420
420
|
this.onLoadMap();
|
|
421
421
|
this.resizeMap();
|
|
422
422
|
}
|
|
423
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
424
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
423
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
424
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.8", type: MapComponent, isStandalone: true, selector: "ng-component", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "mapContainer", first: true, predicate: ["mapContainer"], descendants: true, isSignal: true }], ngImport: i0, template: '<div #mapContainer class="map"></div>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
425
425
|
}
|
|
426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MapComponent, decorators: [{
|
|
427
427
|
type: Component,
|
|
428
428
|
args: [{
|
|
429
429
|
standalone: true,
|
|
@@ -514,10 +514,10 @@ class MaplibreCursorService {
|
|
|
514
514
|
console.warn(`Cursor type '${cursor}' is not supported.`);
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
518
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MaplibreCursorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
518
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MaplibreCursorService, providedIn: 'root' });
|
|
519
519
|
}
|
|
520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MaplibreCursorService, decorators: [{
|
|
521
521
|
type: Injectable,
|
|
522
522
|
args: [{
|
|
523
523
|
providedIn: 'root',
|
package/package.json
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndwnu/map",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.6",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/core": "^
|
|
6
|
-
"@angular/common": "^20.0.0",
|
|
5
|
+
"@angular/core": "^21.0.0",
|
|
7
6
|
"maplibre-gl": "^5.7.1",
|
|
8
7
|
"rxjs": "^7.8.0"
|
|
9
8
|
},
|
|
10
9
|
"sideEffects": false,
|
|
11
10
|
"module": "fesm2022/ndwnu-map.mjs",
|
|
12
|
-
"typings": "
|
|
11
|
+
"typings": "types/ndwnu-map.d.ts",
|
|
13
12
|
"exports": {
|
|
14
13
|
"./package.json": {
|
|
15
14
|
"default": "./package.json"
|
|
16
15
|
},
|
|
17
16
|
".": {
|
|
18
|
-
"types": "./
|
|
17
|
+
"types": "./types/ndwnu-map.d.ts",
|
|
19
18
|
"default": "./fesm2022/ndwnu-map.mjs"
|
|
20
19
|
}
|
|
21
20
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as maplibre_gl from 'maplibre-gl';
|
|
2
|
-
import { LngLatLike, LngLatBoundsLike,
|
|
2
|
+
import { LngLatLike, LngLatBoundsLike, MapMouseEvent, MapGeoJSONFeature, LayerSpecification, FilterSpecification, SourceSpecification, Map, AnimationOptions } from 'maplibre-gl';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Subject, Observable } from 'rxjs';
|
|
5
5
|
import { Feature, FeatureCollection } from 'geojson';
|