@angular-helpers/openlayers 21.14.1 → 22.0.0
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/angular-helpers-openlayers-controls.mjs +102 -66
- package/fesm2022/angular-helpers-openlayers-core.mjs +39 -27
- package/fesm2022/angular-helpers-openlayers-interactions.mjs +75 -51
- package/fesm2022/angular-helpers-openlayers-layers.mjs +154 -89
- package/fesm2022/angular-helpers-openlayers-military.mjs +6 -6
- package/fesm2022/angular-helpers-openlayers-overlays.mjs +23 -16
- package/package.json +5 -5
|
@@ -351,12 +351,17 @@ class OlLayerService {
|
|
|
351
351
|
mapService = inject(OlMapService);
|
|
352
352
|
layerCache = new Map();
|
|
353
353
|
pendingConfigs = [];
|
|
354
|
-
layerState = signal([],
|
|
354
|
+
layerState = signal([], /* @ts-ignore */
|
|
355
|
+
...(ngDevMode ? [{ debugName: "layerState" }] : /* istanbul ignore next */ []));
|
|
355
356
|
spiderManager = new SpiderficationManager(this.layerCache);
|
|
356
|
-
layers = computed(() => this.layerState(),
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
357
|
+
layers = computed(() => this.layerState(), /* @ts-ignore */
|
|
358
|
+
...(ngDevMode ? [{ debugName: "layers" }] : /* istanbul ignore next */ []));
|
|
359
|
+
visibleLayers = computed(() => this.layerState().filter((l) => l.visible), /* @ts-ignore */
|
|
360
|
+
...(ngDevMode ? [{ debugName: "visibleLayers" }] : /* istanbul ignore next */ []));
|
|
361
|
+
tileLayers = computed(() => this.layerState().filter((l) => l.type === 'tile'), /* @ts-ignore */
|
|
362
|
+
...(ngDevMode ? [{ debugName: "tileLayers" }] : /* istanbul ignore next */ []));
|
|
363
|
+
vectorLayers = computed(() => this.layerState().filter((l) => l.type === 'vector'), /* @ts-ignore */
|
|
364
|
+
...(ngDevMode ? [{ debugName: "vectorLayers" }] : /* istanbul ignore next */ []));
|
|
360
365
|
addLayer(config) {
|
|
361
366
|
if (this.layerCache.has(config.id)) {
|
|
362
367
|
return { id: config.id };
|
|
@@ -710,24 +715,29 @@ class OlLayerService {
|
|
|
710
715
|
});
|
|
711
716
|
this.layerState.set(layers.sort((a, b) => a.zIndex - b.zIndex));
|
|
712
717
|
}
|
|
713
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
714
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
718
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlLayerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
719
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlLayerService });
|
|
715
720
|
}
|
|
716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlLayerService, decorators: [{
|
|
717
722
|
type: Injectable
|
|
718
723
|
}] });
|
|
719
724
|
|
|
720
725
|
class OlClusterComponent {
|
|
721
|
-
distance = input(40,
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
+
distance = input(40, /* @ts-ignore */
|
|
727
|
+
...(ngDevMode ? [{ debugName: "distance" }] : /* istanbul ignore next */ []));
|
|
728
|
+
minDistance = input(20, /* @ts-ignore */
|
|
729
|
+
...(ngDevMode ? [{ debugName: "minDistance" }] : /* istanbul ignore next */ []));
|
|
730
|
+
showCount = input(true, /* @ts-ignore */
|
|
731
|
+
...(ngDevMode ? [{ debugName: "showCount" }] : /* istanbul ignore next */ []));
|
|
732
|
+
featureStyle = input(/* @ts-ignore */
|
|
733
|
+
...(ngDevMode ? [undefined, { debugName: "featureStyle" }] : /* istanbul ignore next */ []));
|
|
734
|
+
spiderfyOnSelect = input(false, /* @ts-ignore */
|
|
735
|
+
...(ngDevMode ? [{ debugName: "spiderfyOnSelect" }] : /* istanbul ignore next */ []));
|
|
726
736
|
spiderfyClick = output();
|
|
727
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
728
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
737
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlClusterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
738
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: OlClusterComponent, isStandalone: true, selector: "ol-cluster", inputs: { distance: { classPropertyName: "distance", publicName: "distance", isSignal: true, isRequired: false, transformFunction: null }, minDistance: { classPropertyName: "minDistance", publicName: "minDistance", isSignal: true, isRequired: false, transformFunction: null }, showCount: { classPropertyName: "showCount", publicName: "showCount", isSignal: true, isRequired: false, transformFunction: null }, featureStyle: { classPropertyName: "featureStyle", publicName: "featureStyle", isSignal: true, isRequired: false, transformFunction: null }, spiderfyOnSelect: { classPropertyName: "spiderfyOnSelect", publicName: "spiderfyOnSelect", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { spiderfyClick: "spiderfyClick" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
729
739
|
}
|
|
730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlClusterComponent, decorators: [{
|
|
731
741
|
type: Component,
|
|
732
742
|
args: [{
|
|
733
743
|
selector: 'ol-cluster',
|
|
@@ -740,17 +750,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
740
750
|
class OlVectorLayerComponent {
|
|
741
751
|
layerService = inject(OlLayerService);
|
|
742
752
|
destroyRef = inject(DestroyRef);
|
|
743
|
-
id = input.required(
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
753
|
+
id = input.required(/* @ts-ignore */
|
|
754
|
+
...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
755
|
+
features = input([], /* @ts-ignore */
|
|
756
|
+
...(ngDevMode ? [{ debugName: "features" }] : /* istanbul ignore next */ []));
|
|
757
|
+
url = input(/* @ts-ignore */
|
|
758
|
+
...(ngDevMode ? [undefined, { debugName: "url" }] : /* istanbul ignore next */ []));
|
|
759
|
+
format = input(/* @ts-ignore */
|
|
760
|
+
...(ngDevMode ? [undefined, { debugName: "format" }] : /* istanbul ignore next */ []));
|
|
761
|
+
zIndex = input(0, /* @ts-ignore */
|
|
762
|
+
...(ngDevMode ? [{ debugName: "zIndex" }] : /* istanbul ignore next */ []));
|
|
763
|
+
opacity = input(1, /* @ts-ignore */
|
|
764
|
+
...(ngDevMode ? [{ debugName: "opacity" }] : /* istanbul ignore next */ []));
|
|
765
|
+
visible = input(true, /* @ts-ignore */
|
|
766
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
767
|
+
style = input(/* @ts-ignore */
|
|
768
|
+
...(ngDevMode ? [undefined, { debugName: "style" }] : /* istanbul ignore next */ []));
|
|
769
|
+
cluster = input(/* @ts-ignore */
|
|
770
|
+
...(ngDevMode ? [undefined, { debugName: "cluster" }] : /* istanbul ignore next */ []));
|
|
771
|
+
clusterComponent = contentChild(OlClusterComponent, /* @ts-ignore */
|
|
772
|
+
...(ngDevMode ? [{ debugName: "clusterComponent" }] : /* istanbul ignore next */ []));
|
|
773
|
+
coordinateProjection = input('EPSG:4326', /* @ts-ignore */
|
|
774
|
+
...(ngDevMode ? [{ debugName: "coordinateProjection" }] : /* istanbul ignore next */ []));
|
|
754
775
|
constructor() {
|
|
755
776
|
// Initialize layer after DOM is ready
|
|
756
777
|
afterNextRender(() => {
|
|
@@ -822,10 +843,10 @@ class OlVectorLayerComponent {
|
|
|
822
843
|
this.layerService.removeLayer(this.id());
|
|
823
844
|
});
|
|
824
845
|
}
|
|
825
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
826
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
846
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlVectorLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
847
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.0", type: OlVectorLayerComponent, isStandalone: true, selector: "ol-vector-layer", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: true, transformFunction: null }, features: { classPropertyName: "features", publicName: "features", isSignal: true, isRequired: false, transformFunction: null }, url: { classPropertyName: "url", publicName: "url", isSignal: true, isRequired: false, transformFunction: null }, format: { classPropertyName: "format", publicName: "format", isSignal: true, isRequired: false, transformFunction: null }, zIndex: { classPropertyName: "zIndex", publicName: "zIndex", isSignal: true, isRequired: false, transformFunction: null }, opacity: { classPropertyName: "opacity", publicName: "opacity", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, cluster: { classPropertyName: "cluster", publicName: "cluster", isSignal: true, isRequired: false, transformFunction: null }, coordinateProjection: { classPropertyName: "coordinateProjection", publicName: "coordinateProjection", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "clusterComponent", first: true, predicate: OlClusterComponent, descendants: true, isSignal: true }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
827
848
|
}
|
|
828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlVectorLayerComponent, decorators: [{
|
|
829
850
|
type: Component,
|
|
830
851
|
args: [{
|
|
831
852
|
selector: 'ol-vector-layer',
|
|
@@ -838,14 +859,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
838
859
|
class OlTileLayerComponent {
|
|
839
860
|
layerService = inject(OlLayerService);
|
|
840
861
|
destroyRef = inject(DestroyRef);
|
|
841
|
-
id = input.required(
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
862
|
+
id = input.required(/* @ts-ignore */
|
|
863
|
+
...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
864
|
+
source = input.required(/* @ts-ignore */
|
|
865
|
+
...(ngDevMode ? [{ debugName: "source" }] : /* istanbul ignore next */ []));
|
|
866
|
+
url = input(/* @ts-ignore */
|
|
867
|
+
...(ngDevMode ? [undefined, { debugName: "url" }] : /* istanbul ignore next */ []));
|
|
868
|
+
attributions = input(/* @ts-ignore */
|
|
869
|
+
...(ngDevMode ? [undefined, { debugName: "attributions" }] : /* istanbul ignore next */ []));
|
|
870
|
+
params = input(/* @ts-ignore */
|
|
871
|
+
...(ngDevMode ? [undefined, { debugName: "params" }] : /* istanbul ignore next */ []));
|
|
872
|
+
zIndex = input(0, /* @ts-ignore */
|
|
873
|
+
...(ngDevMode ? [{ debugName: "zIndex" }] : /* istanbul ignore next */ []));
|
|
874
|
+
opacity = input(1, /* @ts-ignore */
|
|
875
|
+
...(ngDevMode ? [{ debugName: "opacity" }] : /* istanbul ignore next */ []));
|
|
876
|
+
visible = input(true, /* @ts-ignore */
|
|
877
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
849
878
|
constructor() {
|
|
850
879
|
// Initialize layer after DOM is ready
|
|
851
880
|
afterNextRender(() => {
|
|
@@ -877,10 +906,10 @@ class OlTileLayerComponent {
|
|
|
877
906
|
this.layerService.removeLayer(this.id());
|
|
878
907
|
});
|
|
879
908
|
}
|
|
880
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
881
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
909
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlTileLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
910
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: OlTileLayerComponent, isStandalone: true, selector: "ol-tile-layer", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: true, transformFunction: null }, source: { classPropertyName: "source", publicName: "source", isSignal: true, isRequired: true, transformFunction: null }, url: { classPropertyName: "url", publicName: "url", isSignal: true, isRequired: false, transformFunction: null }, attributions: { classPropertyName: "attributions", publicName: "attributions", isSignal: true, isRequired: false, transformFunction: null }, params: { classPropertyName: "params", publicName: "params", isSignal: true, isRequired: false, transformFunction: null }, zIndex: { classPropertyName: "zIndex", publicName: "zIndex", isSignal: true, isRequired: false, transformFunction: null }, opacity: { classPropertyName: "opacity", publicName: "opacity", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
882
911
|
}
|
|
883
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlTileLayerComponent, decorators: [{
|
|
884
913
|
type: Component,
|
|
885
914
|
args: [{
|
|
886
915
|
selector: 'ol-tile-layer',
|
|
@@ -893,14 +922,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
893
922
|
class OlImageLayerComponent {
|
|
894
923
|
layerService = inject(OlLayerService);
|
|
895
924
|
destroyRef = inject(DestroyRef);
|
|
896
|
-
id = input.required(
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
925
|
+
id = input.required(/* @ts-ignore */
|
|
926
|
+
...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
927
|
+
sourceType = input.required(/* @ts-ignore */
|
|
928
|
+
...(ngDevMode ? [{ debugName: "sourceType" }] : /* istanbul ignore next */ []));
|
|
929
|
+
url = input.required(/* @ts-ignore */
|
|
930
|
+
...(ngDevMode ? [{ debugName: "url" }] : /* istanbul ignore next */ []));
|
|
931
|
+
params = input(/* @ts-ignore */
|
|
932
|
+
...(ngDevMode ? [undefined, { debugName: "params" }] : /* istanbul ignore next */ []));
|
|
933
|
+
imageExtent = input(/* @ts-ignore */
|
|
934
|
+
...(ngDevMode ? [undefined, { debugName: "imageExtent" }] : /* istanbul ignore next */ []));
|
|
935
|
+
zIndex = input(0, /* @ts-ignore */
|
|
936
|
+
...(ngDevMode ? [{ debugName: "zIndex" }] : /* istanbul ignore next */ []));
|
|
937
|
+
opacity = input(1, /* @ts-ignore */
|
|
938
|
+
...(ngDevMode ? [{ debugName: "opacity" }] : /* istanbul ignore next */ []));
|
|
939
|
+
visible = input(true, /* @ts-ignore */
|
|
940
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
904
941
|
constructor() {
|
|
905
942
|
// Initialize layer after DOM is ready
|
|
906
943
|
afterNextRender(() => {
|
|
@@ -923,10 +960,10 @@ class OlImageLayerComponent {
|
|
|
923
960
|
this.layerService.removeLayer(this.id());
|
|
924
961
|
});
|
|
925
962
|
}
|
|
926
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
927
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
963
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlImageLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
964
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: OlImageLayerComponent, isStandalone: true, selector: "ol-image-layer", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: true, transformFunction: null }, sourceType: { classPropertyName: "sourceType", publicName: "sourceType", isSignal: true, isRequired: true, transformFunction: null }, url: { classPropertyName: "url", publicName: "url", isSignal: true, isRequired: true, transformFunction: null }, params: { classPropertyName: "params", publicName: "params", isSignal: true, isRequired: false, transformFunction: null }, imageExtent: { classPropertyName: "imageExtent", publicName: "imageExtent", isSignal: true, isRequired: false, transformFunction: null }, zIndex: { classPropertyName: "zIndex", publicName: "zIndex", isSignal: true, isRequired: false, transformFunction: null }, opacity: { classPropertyName: "opacity", publicName: "opacity", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
928
965
|
}
|
|
929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlImageLayerComponent, decorators: [{
|
|
930
967
|
type: Component,
|
|
931
968
|
args: [{
|
|
932
969
|
selector: 'ol-image-layer',
|
|
@@ -939,30 +976,41 @@ class OlHeatmapLayerComponent {
|
|
|
939
976
|
layerService = inject(OlLayerService);
|
|
940
977
|
mapService = inject(OlMapService);
|
|
941
978
|
destroyRef = inject(DestroyRef);
|
|
942
|
-
id = input.required(
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
979
|
+
id = input.required(/* @ts-ignore */
|
|
980
|
+
...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
981
|
+
features = input([], /* @ts-ignore */
|
|
982
|
+
...(ngDevMode ? [{ debugName: "features" }] : /* istanbul ignore next */ []));
|
|
983
|
+
zIndex = input(0, /* @ts-ignore */
|
|
984
|
+
...(ngDevMode ? [{ debugName: "zIndex" }] : /* istanbul ignore next */ []));
|
|
985
|
+
opacity = input(1, /* @ts-ignore */
|
|
986
|
+
...(ngDevMode ? [{ debugName: "opacity" }] : /* istanbul ignore next */ []));
|
|
987
|
+
visible = input(true, /* @ts-ignore */
|
|
988
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
989
|
+
blur = input(15, /* @ts-ignore */
|
|
990
|
+
...(ngDevMode ? [{ debugName: "blur" }] : /* istanbul ignore next */ []));
|
|
991
|
+
radius = input(8, /* @ts-ignore */
|
|
992
|
+
...(ngDevMode ? [{ debugName: "radius" }] : /* istanbul ignore next */ []));
|
|
949
993
|
/** Unit for radius and blur: 'pixels' (default) or 'meters' */
|
|
950
|
-
radiusUnit = input('pixels',
|
|
951
|
-
|
|
994
|
+
radiusUnit = input('pixels', /* @ts-ignore */
|
|
995
|
+
...(ngDevMode ? [{ debugName: "radiusUnit" }] : /* istanbul ignore next */ []));
|
|
996
|
+
weight = input(/* @ts-ignore */
|
|
997
|
+
...(ngDevMode ? [undefined, { debugName: "weight" }] : /* istanbul ignore next */ []));
|
|
952
998
|
/** Computed radius in pixels based on current resolution if unit is 'meters' */
|
|
953
999
|
scaledRadius = computed(() => {
|
|
954
1000
|
const r = this.radius();
|
|
955
1001
|
if (this.radiusUnit() === 'pixels')
|
|
956
1002
|
return r;
|
|
957
1003
|
return r / this.mapService.resolution();
|
|
958
|
-
},
|
|
1004
|
+
}, /* @ts-ignore */
|
|
1005
|
+
...(ngDevMode ? [{ debugName: "scaledRadius" }] : /* istanbul ignore next */ []));
|
|
959
1006
|
/** Computed blur in pixels based on current resolution if unit is 'meters' */
|
|
960
1007
|
scaledBlur = computed(() => {
|
|
961
1008
|
const b = this.blur();
|
|
962
1009
|
if (this.radiusUnit() === 'pixels')
|
|
963
1010
|
return b;
|
|
964
1011
|
return b / this.mapService.resolution();
|
|
965
|
-
},
|
|
1012
|
+
}, /* @ts-ignore */
|
|
1013
|
+
...(ngDevMode ? [{ debugName: "scaledBlur" }] : /* istanbul ignore next */ []));
|
|
966
1014
|
constructor() {
|
|
967
1015
|
afterNextRender(() => {
|
|
968
1016
|
this.layerService.addLayer({
|
|
@@ -1003,10 +1051,10 @@ class OlHeatmapLayerComponent {
|
|
|
1003
1051
|
this.layerService.removeLayer(this.id());
|
|
1004
1052
|
});
|
|
1005
1053
|
}
|
|
1006
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1007
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
1054
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlHeatmapLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1055
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: OlHeatmapLayerComponent, isStandalone: true, selector: "ol-heatmap-layer", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: true, transformFunction: null }, features: { classPropertyName: "features", publicName: "features", isSignal: true, isRequired: false, transformFunction: null }, zIndex: { classPropertyName: "zIndex", publicName: "zIndex", isSignal: true, isRequired: false, transformFunction: null }, opacity: { classPropertyName: "opacity", publicName: "opacity", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, blur: { classPropertyName: "blur", publicName: "blur", isSignal: true, isRequired: false, transformFunction: null }, radius: { classPropertyName: "radius", publicName: "radius", isSignal: true, isRequired: false, transformFunction: null }, radiusUnit: { classPropertyName: "radiusUnit", publicName: "radiusUnit", isSignal: true, isRequired: false, transformFunction: null }, weight: { classPropertyName: "weight", publicName: "weight", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1008
1056
|
}
|
|
1009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1057
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlHeatmapLayerComponent, decorators: [{
|
|
1010
1058
|
type: Component,
|
|
1011
1059
|
args: [{
|
|
1012
1060
|
selector: 'ol-heatmap-layer',
|
|
@@ -1044,21 +1092,29 @@ class OlWebGLVectorLayerComponent {
|
|
|
1044
1092
|
mapService = inject(OlMapService);
|
|
1045
1093
|
destroyRef = inject(DestroyRef);
|
|
1046
1094
|
/** Unique layer identifier */
|
|
1047
|
-
id = input.required(
|
|
1095
|
+
id = input.required(/* @ts-ignore */
|
|
1096
|
+
...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
1048
1097
|
/** Features to render */
|
|
1049
|
-
features = input([],
|
|
1098
|
+
features = input([], /* @ts-ignore */
|
|
1099
|
+
...(ngDevMode ? [{ debugName: "features" }] : /* istanbul ignore next */ []));
|
|
1050
1100
|
/** WebGL flat style (required — no default provided) */
|
|
1051
|
-
flatStyle = input.required(
|
|
1101
|
+
flatStyle = input.required(/* @ts-ignore */
|
|
1102
|
+
...(ngDevMode ? [{ debugName: "flatStyle" }] : /* istanbul ignore next */ []));
|
|
1052
1103
|
/** Z-index for layer ordering */
|
|
1053
|
-
zIndex = input(0,
|
|
1104
|
+
zIndex = input(0, /* @ts-ignore */
|
|
1105
|
+
...(ngDevMode ? [{ debugName: "zIndex" }] : /* istanbul ignore next */ []));
|
|
1054
1106
|
/** Opacity (0–1) */
|
|
1055
|
-
opacity = input(1,
|
|
1107
|
+
opacity = input(1, /* @ts-ignore */
|
|
1108
|
+
...(ngDevMode ? [{ debugName: "opacity" }] : /* istanbul ignore next */ []));
|
|
1056
1109
|
/** Layer visibility */
|
|
1057
|
-
visible = input(true,
|
|
1110
|
+
visible = input(true, /* @ts-ignore */
|
|
1111
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
1058
1112
|
/** Disable hit detection for better performance (default: true) */
|
|
1059
|
-
disableHitDetection = input(true,
|
|
1113
|
+
disableHitDetection = input(true, /* @ts-ignore */
|
|
1114
|
+
...(ngDevMode ? [{ debugName: "disableHitDetection" }] : /* istanbul ignore next */ []));
|
|
1060
1115
|
/** Style variables for dynamic expressions (e.g. `['var', 'threshold']`) */
|
|
1061
|
-
variables = input(
|
|
1116
|
+
variables = input(/* @ts-ignore */
|
|
1117
|
+
...(ngDevMode ? [undefined, { debugName: "variables" }] : /* istanbul ignore next */ []));
|
|
1062
1118
|
layer = null;
|
|
1063
1119
|
vectorSource = new VectorSource();
|
|
1064
1120
|
constructor() {
|
|
@@ -1169,10 +1225,10 @@ class OlWebGLVectorLayerComponent {
|
|
|
1169
1225
|
});
|
|
1170
1226
|
this.vectorSource.addFeatures(olFeatures);
|
|
1171
1227
|
}
|
|
1172
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1173
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
1228
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlWebGLVectorLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1229
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: OlWebGLVectorLayerComponent, isStandalone: true, selector: "ol-webgl-vector-layer", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: true, transformFunction: null }, features: { classPropertyName: "features", publicName: "features", isSignal: true, isRequired: false, transformFunction: null }, flatStyle: { classPropertyName: "flatStyle", publicName: "flatStyle", isSignal: true, isRequired: true, transformFunction: null }, zIndex: { classPropertyName: "zIndex", publicName: "zIndex", isSignal: true, isRequired: false, transformFunction: null }, opacity: { classPropertyName: "opacity", publicName: "opacity", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, disableHitDetection: { classPropertyName: "disableHitDetection", publicName: "disableHitDetection", isSignal: true, isRequired: false, transformFunction: null }, variables: { classPropertyName: "variables", publicName: "variables", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1174
1230
|
}
|
|
1175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlWebGLVectorLayerComponent, decorators: [{
|
|
1176
1232
|
type: Component,
|
|
1177
1233
|
args: [{
|
|
1178
1234
|
selector: 'ol-webgl-vector-layer',
|
|
@@ -1203,23 +1259,32 @@ class OlWebGLTileLayerComponent {
|
|
|
1203
1259
|
mapService = inject(OlMapService);
|
|
1204
1260
|
destroyRef = inject(DestroyRef);
|
|
1205
1261
|
/** Unique layer identifier */
|
|
1206
|
-
id = input.required(
|
|
1262
|
+
id = input.required(/* @ts-ignore */
|
|
1263
|
+
...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
1207
1264
|
/** Tile source type */
|
|
1208
|
-
source = input.required(
|
|
1265
|
+
source = input.required(/* @ts-ignore */
|
|
1266
|
+
...(ngDevMode ? [{ debugName: "source" }] : /* istanbul ignore next */ []));
|
|
1209
1267
|
/** Tile URL template (required for 'xyz' and 'mvt') */
|
|
1210
|
-
url = input(
|
|
1268
|
+
url = input(/* @ts-ignore */
|
|
1269
|
+
...(ngDevMode ? [undefined, { debugName: "url" }] : /* istanbul ignore next */ []));
|
|
1211
1270
|
/** Attribution text */
|
|
1212
|
-
attributions = input(
|
|
1271
|
+
attributions = input(/* @ts-ignore */
|
|
1272
|
+
...(ngDevMode ? [undefined, { debugName: "attributions" }] : /* istanbul ignore next */ []));
|
|
1213
1273
|
/** WebGL tile style (raster expressions) or flat style (MVT) */
|
|
1214
|
-
tileStyle = input(
|
|
1274
|
+
tileStyle = input(/* @ts-ignore */
|
|
1275
|
+
...(ngDevMode ? [undefined, { debugName: "tileStyle" }] : /* istanbul ignore next */ []));
|
|
1215
1276
|
/** Z-index for layer ordering */
|
|
1216
|
-
zIndex = input(0,
|
|
1277
|
+
zIndex = input(0, /* @ts-ignore */
|
|
1278
|
+
...(ngDevMode ? [{ debugName: "zIndex" }] : /* istanbul ignore next */ []));
|
|
1217
1279
|
/** Opacity (0–1) */
|
|
1218
|
-
opacity = input(1,
|
|
1280
|
+
opacity = input(1, /* @ts-ignore */
|
|
1281
|
+
...(ngDevMode ? [{ debugName: "opacity" }] : /* istanbul ignore next */ []));
|
|
1219
1282
|
/** Layer visibility */
|
|
1220
|
-
visible = input(true,
|
|
1283
|
+
visible = input(true, /* @ts-ignore */
|
|
1284
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
1221
1285
|
/** Preload low-res tiles up to this many zoom levels */
|
|
1222
|
-
preload = input(0,
|
|
1286
|
+
preload = input(0, /* @ts-ignore */
|
|
1287
|
+
...(ngDevMode ? [{ debugName: "preload" }] : /* istanbul ignore next */ []));
|
|
1223
1288
|
layer = null;
|
|
1224
1289
|
constructor() {
|
|
1225
1290
|
afterNextRender(() => {
|
|
@@ -1305,10 +1370,10 @@ class OlWebGLTileLayerComponent {
|
|
|
1305
1370
|
}
|
|
1306
1371
|
});
|
|
1307
1372
|
}
|
|
1308
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1309
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
1373
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlWebGLTileLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1374
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: OlWebGLTileLayerComponent, isStandalone: true, selector: "ol-webgl-tile-layer", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: true, transformFunction: null }, source: { classPropertyName: "source", publicName: "source", isSignal: true, isRequired: true, transformFunction: null }, url: { classPropertyName: "url", publicName: "url", isSignal: true, isRequired: false, transformFunction: null }, attributions: { classPropertyName: "attributions", publicName: "attributions", isSignal: true, isRequired: false, transformFunction: null }, tileStyle: { classPropertyName: "tileStyle", publicName: "tileStyle", isSignal: true, isRequired: false, transformFunction: null }, zIndex: { classPropertyName: "zIndex", publicName: "zIndex", isSignal: true, isRequired: false, transformFunction: null }, opacity: { classPropertyName: "opacity", publicName: "opacity", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, preload: { classPropertyName: "preload", publicName: "preload", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1310
1375
|
}
|
|
1311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlWebGLTileLayerComponent, decorators: [{
|
|
1312
1377
|
type: Component,
|
|
1313
1378
|
args: [{
|
|
1314
1379
|
selector: 'ol-webgl-tile-layer',
|
|
@@ -156,10 +156,10 @@ class OlMilitaryService {
|
|
|
156
156
|
throw new Error('createMilSymbol requires a browser environment');
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
160
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
159
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlMilitaryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
160
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlMilitaryService });
|
|
161
161
|
}
|
|
162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlMilitaryService, decorators: [{
|
|
163
163
|
type: Injectable
|
|
164
164
|
}], ctorParameters: () => [] });
|
|
165
165
|
|
|
@@ -329,10 +329,10 @@ class OlTacticalGraphicsService {
|
|
|
329
329
|
const b = parseInt(hex.slice(5, 7), 16);
|
|
330
330
|
return `rgba(${r}, ${g}, ${b}, ${alpha})`;
|
|
331
331
|
}
|
|
332
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
333
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
332
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlTacticalGraphicsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
333
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlTacticalGraphicsService });
|
|
334
334
|
}
|
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlTacticalGraphicsService, decorators: [{
|
|
336
336
|
type: Injectable
|
|
337
337
|
}] });
|
|
338
338
|
|
|
@@ -30,15 +30,20 @@ class OlPopupComponent {
|
|
|
30
30
|
mapService = inject(OlMapService);
|
|
31
31
|
zoneHelper = inject(OlZoneHelper);
|
|
32
32
|
/** Map coordinate where the popup is anchored. `null` hides the popup. */
|
|
33
|
-
position = input(null,
|
|
33
|
+
position = input(null, /* @ts-ignore */
|
|
34
|
+
...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
|
|
34
35
|
/** Pixel offset relative to `position`. */
|
|
35
|
-
offset = input([0, 0],
|
|
36
|
+
offset = input([0, 0], /* @ts-ignore */
|
|
37
|
+
...(ngDevMode ? [{ debugName: "offset" }] : /* istanbul ignore next */ []));
|
|
36
38
|
/** Anchor of the popup element relative to `position`. */
|
|
37
|
-
positioning = input('bottom-center',
|
|
39
|
+
positioning = input('bottom-center', /* @ts-ignore */
|
|
40
|
+
...(ngDevMode ? [{ debugName: "positioning" }] : /* istanbul ignore next */ []));
|
|
38
41
|
/** Whether the map auto-pans to keep the popup in view. */
|
|
39
|
-
autoPan = input(false,
|
|
42
|
+
autoPan = input(false, /* @ts-ignore */
|
|
43
|
+
...(ngDevMode ? [{ debugName: "autoPan" }] : /* istanbul ignore next */ []));
|
|
40
44
|
/** Whether to render the default close button. */
|
|
41
|
-
closeButton = input(false,
|
|
45
|
+
closeButton = input(false, /* @ts-ignore */
|
|
46
|
+
...(ngDevMode ? [{ debugName: "closeButton" }] : /* istanbul ignore next */ []));
|
|
42
47
|
/** Emitted when the popup transitions from visible to hidden (close button or `position` set to null). */
|
|
43
48
|
closed = output();
|
|
44
49
|
overlay = null;
|
|
@@ -107,8 +112,8 @@ class OlPopupComponent {
|
|
|
107
112
|
this.overlay = null;
|
|
108
113
|
this.currentMap = null;
|
|
109
114
|
}
|
|
110
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
111
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
115
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlPopupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
116
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: OlPopupComponent, isStandalone: true, selector: "ol-popup", inputs: { position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, offset: { classPropertyName: "offset", publicName: "offset", isSignal: true, isRequired: false, transformFunction: null }, positioning: { classPropertyName: "positioning", publicName: "positioning", isSignal: true, isRequired: false, transformFunction: null }, autoPan: { classPropertyName: "autoPan", publicName: "autoPan", isSignal: true, isRequired: false, transformFunction: null }, closeButton: { classPropertyName: "closeButton", publicName: "closeButton", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, host: { attributes: { "role": "dialog" } }, ngImport: i0, template: `
|
|
112
117
|
@if (closeButton()) {
|
|
113
118
|
<button type="button" class="ol-popup-close" aria-label="Close" (click)="onCloseClick()">
|
|
114
119
|
×
|
|
@@ -117,7 +122,7 @@ class OlPopupComponent {
|
|
|
117
122
|
<ng-content />
|
|
118
123
|
`, isInline: true, styles: [":host{display:block;position:relative}.ol-popup-close{position:absolute;top:4px;right:4px;width:20px;height:20px;padding:0;border:none;background:transparent;font-size:16px;line-height:1;cursor:pointer;color:inherit}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
119
124
|
}
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlPopupComponent, decorators: [{
|
|
121
126
|
type: Component,
|
|
122
127
|
args: [{ selector: 'ol-popup', changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
123
128
|
@if (closeButton()) {
|
|
@@ -154,9 +159,11 @@ class OlTooltipDirective {
|
|
|
154
159
|
mapService = inject(OlMapService);
|
|
155
160
|
zoneHelper = inject(OlZoneHelper);
|
|
156
161
|
/** Property key to read from the hovered feature. */
|
|
157
|
-
olTooltip = input.required(
|
|
162
|
+
olTooltip = input.required(/* @ts-ignore */
|
|
163
|
+
...(ngDevMode ? [{ debugName: "olTooltip" }] : /* istanbul ignore next */ []));
|
|
158
164
|
/** Optional layer id; when set, only features on that layer trigger the tooltip. */
|
|
159
|
-
olTooltipLayer = input(null,
|
|
165
|
+
olTooltipLayer = input(null, /* @ts-ignore */
|
|
166
|
+
...(ngDevMode ? [{ debugName: "olTooltipLayer" }] : /* istanbul ignore next */ []));
|
|
160
167
|
element = null;
|
|
161
168
|
listener = null;
|
|
162
169
|
currentMap = null;
|
|
@@ -253,10 +260,10 @@ class OlTooltipDirective {
|
|
|
253
260
|
this.listener = null;
|
|
254
261
|
this.currentMap = null;
|
|
255
262
|
}
|
|
256
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
257
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
263
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlTooltipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
264
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", type: OlTooltipDirective, isStandalone: true, selector: "[olTooltip]", inputs: { olTooltip: { classPropertyName: "olTooltip", publicName: "olTooltip", isSignal: true, isRequired: true, transformFunction: null }, olTooltipLayer: { classPropertyName: "olTooltipLayer", publicName: "olTooltipLayer", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
258
265
|
}
|
|
259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlTooltipDirective, decorators: [{
|
|
260
267
|
type: Directive,
|
|
261
268
|
args: [{
|
|
262
269
|
selector: '[olTooltip]',
|
|
@@ -434,10 +441,10 @@ class OlPopupService {
|
|
|
434
441
|
this.popups.set(id, { id, overlay, componentRef: ref, dispose });
|
|
435
442
|
});
|
|
436
443
|
}
|
|
437
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
438
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
444
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlPopupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
445
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlPopupService });
|
|
439
446
|
}
|
|
440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: OlPopupService, decorators: [{
|
|
441
448
|
type: Injectable
|
|
442
449
|
}], ctorParameters: () => [] });
|
|
443
450
|
// -----------------------------------------------------------------------------
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-helpers/openlayers",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"description": "Modern Angular wrapper for OpenLayers with modular architecture, standalone components, and hybrid template/programmatic API",
|
|
5
5
|
"homepage": "https://gaspar1992.github.io/angular-helpers/docs/openlayers",
|
|
6
6
|
"repository": {
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@angular-helpers/testing": "^
|
|
34
|
-
"@angular/common": "^
|
|
35
|
-
"@angular/core": "^
|
|
33
|
+
"@angular-helpers/testing": "^22.0.0",
|
|
34
|
+
"@angular/common": "^22.0.0",
|
|
35
|
+
"@angular/core": "^22.0.0",
|
|
36
36
|
"milsymbol": "^3.0.0",
|
|
37
37
|
"ol": "^10.0.0"
|
|
38
38
|
},
|
|
@@ -87,4 +87,4 @@
|
|
|
87
87
|
"dependencies": {
|
|
88
88
|
"tslib": "^2.3.0"
|
|
89
89
|
}
|
|
90
|
-
}
|
|
90
|
+
}
|