@siemens/maps-ng 49.16.1 → 51.0.0-rc.10

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.
@@ -10,6 +10,7 @@ import { fromLonLat } from 'ol/proj';
10
10
  import Cluster from 'ol/source/Cluster';
11
11
  import VectorSource from 'ol/source/Vector';
12
12
  import { Text, Stroke, Fill, Style, Circle, Icon } from 'ol/style';
13
+ import { siMapStyle } from '@siemens/map-styles/common';
13
14
  import { apply } from 'ol-mapbox-style';
14
15
  import Control from 'ol/control/Control';
15
16
  import { defaults } from 'ol/control/defaults';
@@ -44,8 +45,6 @@ const DEFAULT_FEATURE_CLICK_ZOOM = 15;
44
45
  const DEFAULT_CLUSTER_CLICK_ZOOM = 15;
45
46
  const DEFAULT_GLOBAL_ZOOM = 5;
46
47
  const DEFAULT_CLUSTER_DISTANCE = 40;
47
- /** @deprecated will be removed in favour of individual inputs. */
48
- const DEFAULT_FIT_PADDING = [20, 20, 20, 20];
49
48
  /** Updates the amount of buildings to be shown in a cluster tooltip after hovering over it */
50
49
  const TOOLTIP_FEATURES_TO_DISPLAY = 4;
51
50
  /** Specifies the maximum amount of buildings allowed to be displayed as a number in a cluster */
@@ -68,21 +67,25 @@ class SiMapTooltipComponent {
68
67
  *
69
68
  * @defaultValue
70
69
  * ```
71
- * t(() =>$localize`:@@SI_MAPS.TOOLTIP_MORE_TEXT:and {{length}} more...`)
70
+ * t(() =>$localize`:@@SI_MAPS.TOOLTIP_MORE_TEXT:+ {{length}} locations`)
72
71
  * ```
73
72
  */
74
- moreText = input(t(() => $localize `:@@SI_MAPS.TOOLTIP_MORE_TEXT:and {{length}} more...`), ...(ngDevMode ? [{ debugName: "moreText" }] : []));
73
+ moreText = input(t(() => $localize `:@@SI_MAPS.TOOLTIP_MORE_TEXT:+ {{length}} locations`), /* @ts-ignore */
74
+ ...(ngDevMode ? [{ debugName: "moreText" }] : /* istanbul ignore next */ []));
75
75
  /**
76
76
  * Adds the maximum length of a string thats allowed in a tooltip and if its longer it cuts off the rest and adds 3 dots at the end.
77
77
  * If set to -1, it will not cut off the string.
78
78
  * @defaultValue 50
79
79
  */
80
- maxLabelLength = input(50, ...(ngDevMode ? [{ debugName: "maxLabelLength" }] : []));
80
+ maxLabelLength = input(50, /* @ts-ignore */
81
+ ...(ngDevMode ? [{ debugName: "maxLabelLength" }] : /* istanbul ignore next */ []));
81
82
  get nativeElement() {
82
83
  return this.elementRef.nativeElement;
83
84
  }
84
- hiddenEntries = signal(0, ...(ngDevMode ? [{ debugName: "hiddenEntries" }] : []));
85
- tooltipLabels = signal([], ...(ngDevMode ? [{ debugName: "tooltipLabels" }] : []));
85
+ hiddenEntries = signal(0, /* @ts-ignore */
86
+ ...(ngDevMode ? [{ debugName: "hiddenEntries" }] : /* istanbul ignore next */ []));
87
+ tooltipLabels = signal([], /* @ts-ignore */
88
+ ...(ngDevMode ? [{ debugName: "tooltipLabels" }] : /* istanbul ignore next */ []));
86
89
  elementRef = inject(ElementRef);
87
90
  /**
88
91
  * Method sets tooltip content. If parameter is of type
@@ -102,12 +105,12 @@ class SiMapTooltipComponent {
102
105
  }
103
106
  return label;
104
107
  }
105
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
106
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", type: SiMapTooltipComponent, isStandalone: true, selector: "si-map-tooltip", inputs: { moreText: { classPropertyName: "moreText", publicName: "moreText", isSignal: true, isRequired: false, transformFunction: null }, maxLabelLength: { classPropertyName: "maxLabelLength", publicName: "maxLabelLength", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"si-map-tooltip\">\n @for (label of tooltipLabels(); track $index) {\n <div>{{ label }}</div>\n }\n @if (hiddenEntries()) {\n <div>{{ moreText() | translate: { length: hiddenEntries() } }}</div>\n }\n</div>\n", styles: [".si-map-tooltip{text-align:start;margin-block-start:4px;position:relative;max-inline-size:max-content;padding-block:4px;padding-inline:8px;color:var(--element-ui-5);background-color:var(--element-ui-1);border-radius:var(--element-radius-1)}.si-map-tooltip:before{content:\"\";position:absolute;inset-block-start:-4px;left:50%;transform:translate(-50%) rotate(45deg);block-size:8px;inline-size:8px;background-color:inherit}\n"], dependencies: [{ kind: "pipe", type: SiTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Default });
108
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
109
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiMapTooltipComponent, isStandalone: true, selector: "si-map-tooltip", inputs: { moreText: { classPropertyName: "moreText", publicName: "moreText", isSignal: true, isRequired: false, transformFunction: null }, maxLabelLength: { classPropertyName: "maxLabelLength", publicName: "maxLabelLength", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"si-map-tooltip\">\n @for (label of tooltipLabels(); track $index) {\n <div>{{ label }}</div>\n }\n @if (hiddenEntries()) {\n <div>{{ moreText() | translate: { length: hiddenEntries() } }}</div>\n }\n</div>\n", styles: [".si-map-tooltip{text-align:start;margin-block-start:var(--si-sys-sizing-spacing-y-20);position:relative;max-inline-size:max-content;padding-block:var(--si-sys-sizing-spacing-y-20);padding-inline:var(--si-sys-sizing-spacing-x-40);color:var(--si-sys-text-inverse);background-color:var(--si-sys-background-inverse);border-radius:var(--element-radius-1)}.si-map-tooltip:before{content:\"\";position:absolute;inset-block-start:calc(var(--si-sys-sizing-spacing-y-20) * -1);left:50%;transform:translate(-50%) rotate(45deg);block-size:var(--si-sys-sizing-spacing-y-40);inline-size:var(--si-sys-sizing-spacing-x-40);background-color:inherit}\n"], dependencies: [{ kind: "pipe", type: SiTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
107
110
  }
108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapTooltipComponent, decorators: [{
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapTooltipComponent, decorators: [{
109
112
  type: Component,
110
- args: [{ selector: 'si-map-tooltip', imports: [SiTranslatePipe], changeDetection: ChangeDetectionStrategy.Default, template: "<div class=\"si-map-tooltip\">\n @for (label of tooltipLabels(); track $index) {\n <div>{{ label }}</div>\n }\n @if (hiddenEntries()) {\n <div>{{ moreText() | translate: { length: hiddenEntries() } }}</div>\n }\n</div>\n", styles: [".si-map-tooltip{text-align:start;margin-block-start:4px;position:relative;max-inline-size:max-content;padding-block:4px;padding-inline:8px;color:var(--element-ui-5);background-color:var(--element-ui-1);border-radius:var(--element-radius-1)}.si-map-tooltip:before{content:\"\";position:absolute;inset-block-start:-4px;left:50%;transform:translate(-50%) rotate(45deg);block-size:8px;inline-size:8px;background-color:inherit}\n"] }]
113
+ args: [{ selector: 'si-map-tooltip', imports: [SiTranslatePipe], changeDetection: ChangeDetectionStrategy.Eager, template: "<div class=\"si-map-tooltip\">\n @for (label of tooltipLabels(); track $index) {\n <div>{{ label }}</div>\n }\n @if (hiddenEntries()) {\n <div>{{ moreText() | translate: { length: hiddenEntries() } }}</div>\n }\n</div>\n", styles: [".si-map-tooltip{text-align:start;margin-block-start:var(--si-sys-sizing-spacing-y-20);position:relative;max-inline-size:max-content;padding-block:var(--si-sys-sizing-spacing-y-20);padding-inline:var(--si-sys-sizing-spacing-x-40);color:var(--si-sys-text-inverse);background-color:var(--si-sys-background-inverse);border-radius:var(--element-radius-1)}.si-map-tooltip:before{content:\"\";position:absolute;inset-block-start:calc(var(--si-sys-sizing-spacing-y-20) * -1);left:50%;transform:translate(-50%) rotate(45deg);block-size:var(--si-sys-sizing-spacing-y-40);inline-size:var(--si-sys-sizing-spacing-x-40);background-color:inherit}\n"] }]
111
114
  }], propDecorators: { moreText: [{ type: i0.Input, args: [{ isSignal: true, alias: "moreText", required: false }] }], maxLabelLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLabelLength", required: false }] }] } });
112
115
 
113
116
  /**
@@ -118,10 +121,10 @@ class SiMapPopoverClusterTemplateDirective {
118
121
  static ngTemplateContextGuard(directive, context) {
119
122
  return true;
120
123
  }
121
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapPopoverClusterTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
122
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: SiMapPopoverClusterTemplateDirective, isStandalone: true, selector: "[siMapPopoverClusterTemplate]", ngImport: i0 });
124
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapPopoverClusterTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
125
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: SiMapPopoverClusterTemplateDirective, isStandalone: true, selector: "[siMapPopoverClusterTemplate]", ngImport: i0 });
123
126
  }
124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapPopoverClusterTemplateDirective, decorators: [{
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapPopoverClusterTemplateDirective, decorators: [{
125
128
  type: Directive,
126
129
  args: [{
127
130
  selector: `[siMapPopoverClusterTemplate]`
@@ -136,10 +139,10 @@ class SiMapPopoverTemplateDirective {
136
139
  static ngTemplateContextGuard(directive, context) {
137
140
  return true;
138
141
  }
139
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapPopoverTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
140
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: SiMapPopoverTemplateDirective, isStandalone: true, selector: "[siMapPopoverTemplate]", ngImport: i0 });
142
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapPopoverTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
143
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: SiMapPopoverTemplateDirective, isStandalone: true, selector: "[siMapPopoverTemplate]", ngImport: i0 });
141
144
  }
142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapPopoverTemplateDirective, decorators: [{
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapPopoverTemplateDirective, decorators: [{
143
146
  type: Directive,
144
147
  args: [{
145
148
  selector: `[siMapPopoverTemplate]`
@@ -151,17 +154,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImpor
151
154
  * SPDX-License-Identifier: MIT
152
155
  */
153
156
  class SiMapPopoverComponent {
154
- elementRef = viewChild.required('popover');
155
- maxHeight = signal(null, ...(ngDevMode ? [{ debugName: "maxHeight" }] : []));
156
- contentContainer = viewChild.required('contentContainer', {
157
- read: ViewContainerRef
158
- });
159
- defaultContent = viewChild.required('defaultContent', {
160
- read: TemplateRef
161
- });
162
- defaultCluster = viewChild.required('defaultCluster', {
163
- read: TemplateRef
164
- });
157
+ elementRef = viewChild.required('popover', /* @ts-ignore */
158
+ ...(ngDevMode ? [{ debugName: "elementRef" }] : /* istanbul ignore next */ []));
159
+ maxHeight = signal(null, /* @ts-ignore */
160
+ ...(ngDevMode ? [{ debugName: "maxHeight" }] : /* istanbul ignore next */ []));
161
+ contentContainer = viewChild.required('contentContainer', { ...(ngDevMode ? { debugName: "contentContainer" } : /* istanbul ignore next */ {}), read: ViewContainerRef });
162
+ defaultContent = viewChild.required('defaultContent', { ...(ngDevMode ? { debugName: "defaultContent" } : /* istanbul ignore next */ {}), read: TemplateRef });
163
+ defaultCluster = viewChild.required('defaultCluster', { ...(ngDevMode ? { debugName: "defaultCluster" } : /* istanbul ignore next */ {}), read: TemplateRef });
165
164
  render({ component, mapPoints, map }) {
166
165
  this.contentContainer().clear();
167
166
  if (component) {
@@ -189,12 +188,12 @@ class SiMapPopoverComponent {
189
188
  const template = Array.isArray(mapPoints) ? this.defaultCluster() : this.defaultContent();
190
189
  this.contentContainer().createEmbeddedView(template, context).detectChanges();
191
190
  }
192
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
193
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", type: SiMapPopoverComponent, isStandalone: true, selector: "si-map-popover", viewQueries: [{ propertyName: "elementRef", first: true, predicate: ["popover"], descendants: true, isSignal: true }, { propertyName: "contentContainer", first: true, predicate: ["contentContainer"], descendants: true, read: ViewContainerRef, isSignal: true }, { propertyName: "defaultContent", first: true, predicate: ["defaultContent"], descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "defaultCluster", first: true, predicate: ["defaultCluster"], descendants: true, read: TemplateRef, isSignal: true }], ngImport: i0, template: "<div #popover class=\"si-map-popover\">\n <div class=\"si-map-popover-arrow\"></div>\n\n <div class=\"si-map-popover-content\">\n <div class=\"overflow-auto px-5\">\n <div #contentContainer></div>\n </div>\n </div>\n</div>\n\n<ng-template #defaultContent let-mapPoint=\"mapPoint\" siMapPopoverTemplate>\n <div>{{ mapPoint?.name }}</div>\n <div [innerHTML]=\"mapPoint?.description\"></div>\n</ng-template>\n<ng-template #defaultCluster let-mapPoints=\"mapPoints\" siMapPopoverClusterTemplate>\n <div [style.max-block-size.px]=\"maxHeight()\">\n <div class=\"si-map-popover-list\">\n @for (point of mapPoints; track $index) {\n <div class=\"si-map-popover-item\">\n <div class=\"si-map-popover-item-title\">{{ point.name }}</div>\n <div class=\"si-map-popover-item-description\" [innerHTML]=\"point.description\"></div>\n </div>\n }\n </div>\n </div>\n</ng-template>\n", styles: [".si-map-popover{position:absolute;z-index:1070;display:block;min-inline-size:280px;word-wrap:break-word;background-color:var(--element-base-3);background-clip:padding-box;border:1px solid var(--element-ui-4);border-radius:var(--element-radius-2);box-shadow:0 0 8px var(--element-box-shadow-color-1),0 8px 8px var(--element-box-shadow-color-2);margin-block-start:4px;inset-inline-start:-20px}.si-map-popover-arrow{position:absolute;display:block;inline-size:12px;block-size:6px;margin-block:0;margin-inline:13px;inset-block-start:-7px}.si-map-popover-arrow:before,.si-map-popover-arrow:after{position:absolute;display:block;content:\"\";border-color:transparent;border-style:solid;border-inline-width:6px;border-block-width:0 6px}.si-map-popover-arrow:before{inset-block-start:0;border-block-end-color:var(--element-ui-4)}.si-map-popover-arrow:after{inset-block-start:1px;border-block-end-color:var(--element-base-3)}.si-map-popover-content{padding-block:12px;color:var(--element-text-primary)}.si-map-popover .si-map-popover-item{display:flex;margin-block-end:12px;flex-direction:column;gap:4px}.si-map-popover .si-map-popover-item-title{font-weight:bolder}\n"], dependencies: [{ kind: "directive", type: SiMapPopoverTemplateDirective, selector: "[siMapPopoverTemplate]" }, { kind: "directive", type: SiMapPopoverClusterTemplateDirective, selector: "[siMapPopoverClusterTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.Default });
191
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
192
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiMapPopoverComponent, isStandalone: true, selector: "si-map-popover", viewQueries: [{ propertyName: "elementRef", first: true, predicate: ["popover"], descendants: true, isSignal: true }, { propertyName: "contentContainer", first: true, predicate: ["contentContainer"], descendants: true, read: ViewContainerRef, isSignal: true }, { propertyName: "defaultContent", first: true, predicate: ["defaultContent"], descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "defaultCluster", first: true, predicate: ["defaultCluster"], descendants: true, read: TemplateRef, isSignal: true }], ngImport: i0, template: "<div #popover class=\"si-map-popover\">\n <div class=\"si-map-popover-arrow\"></div>\n\n <div class=\"si-map-popover-content\">\n <div class=\"overflow-auto px-5\">\n <div #contentContainer></div>\n </div>\n </div>\n</div>\n\n<ng-template #defaultContent let-mapPoint=\"mapPoint\" siMapPopoverTemplate>\n <div>{{ mapPoint?.name }}</div>\n <div [innerHTML]=\"mapPoint?.description\"></div>\n</ng-template>\n<ng-template #defaultCluster let-mapPoints=\"mapPoints\" siMapPopoverClusterTemplate>\n <div [style.max-block-size.px]=\"maxHeight()\">\n <div class=\"si-map-popover-list\">\n @for (point of mapPoints; track $index) {\n <div class=\"si-map-popover-item\">\n <div class=\"si-map-popover-item-title\">{{ point.name }}</div>\n <div class=\"si-map-popover-item-description\" [innerHTML]=\"point.description\"></div>\n </div>\n }\n </div>\n </div>\n</ng-template>\n", styles: [".si-map-popover{position:absolute;z-index:1070;display:block;min-inline-size:280px;word-wrap:break-word;background-color:var(--si-sys-background-3);background-clip:padding-box;border:1px solid var(--si-sys-border-4);border-radius:var(--element-radius-2);box-shadow:var(--si-sys-effects-shadow-3);margin-block-start:4px;inset-inline-start:calc(var(--si-sys-sizing-spacing-x-70) * -1)}.si-map-popover-arrow{position:absolute;display:block;inline-size:12px;block-size:6px;margin-block:0;margin-inline:calc(var(--si-sys-sizing-spacing-x-50) + 1px);inset-block-start:-7px}.si-map-popover-arrow:before,.si-map-popover-arrow:after{position:absolute;display:block;content:\"\";border-color:transparent;border-style:solid;border-inline-width:6px;border-block-width:0 6px}.si-map-popover-arrow:before{inset-block-start:0;border-block-end-color:var(--si-sys-border-4)}.si-map-popover-arrow:after{inset-block-start:1px;border-block-end-color:var(--si-sys-background-3)}.si-map-popover-content{padding-block:var(--si-sys-sizing-spacing-y-50);color:var(--si-sys-text-primary)}.si-map-popover .si-map-popover-item{display:flex;margin-block-end:var(--si-sys-sizing-spacing-y-50);flex-direction:column;gap:var(--si-sys-sizing-spacing-y-20) var(--si-sys-sizing-spacing-x-20)}.si-map-popover .si-map-popover-item-title{font-weight:bolder}\n"], dependencies: [{ kind: "directive", type: SiMapPopoverTemplateDirective, selector: "[siMapPopoverTemplate]" }, { kind: "directive", type: SiMapPopoverClusterTemplateDirective, selector: "[siMapPopoverClusterTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
194
193
  }
195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapPopoverComponent, decorators: [{
194
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapPopoverComponent, decorators: [{
196
195
  type: Component,
197
- args: [{ selector: 'si-map-popover', imports: [SiMapPopoverTemplateDirective, SiMapPopoverClusterTemplateDirective], changeDetection: ChangeDetectionStrategy.Default, template: "<div #popover class=\"si-map-popover\">\n <div class=\"si-map-popover-arrow\"></div>\n\n <div class=\"si-map-popover-content\">\n <div class=\"overflow-auto px-5\">\n <div #contentContainer></div>\n </div>\n </div>\n</div>\n\n<ng-template #defaultContent let-mapPoint=\"mapPoint\" siMapPopoverTemplate>\n <div>{{ mapPoint?.name }}</div>\n <div [innerHTML]=\"mapPoint?.description\"></div>\n</ng-template>\n<ng-template #defaultCluster let-mapPoints=\"mapPoints\" siMapPopoverClusterTemplate>\n <div [style.max-block-size.px]=\"maxHeight()\">\n <div class=\"si-map-popover-list\">\n @for (point of mapPoints; track $index) {\n <div class=\"si-map-popover-item\">\n <div class=\"si-map-popover-item-title\">{{ point.name }}</div>\n <div class=\"si-map-popover-item-description\" [innerHTML]=\"point.description\"></div>\n </div>\n }\n </div>\n </div>\n</ng-template>\n", styles: [".si-map-popover{position:absolute;z-index:1070;display:block;min-inline-size:280px;word-wrap:break-word;background-color:var(--element-base-3);background-clip:padding-box;border:1px solid var(--element-ui-4);border-radius:var(--element-radius-2);box-shadow:0 0 8px var(--element-box-shadow-color-1),0 8px 8px var(--element-box-shadow-color-2);margin-block-start:4px;inset-inline-start:-20px}.si-map-popover-arrow{position:absolute;display:block;inline-size:12px;block-size:6px;margin-block:0;margin-inline:13px;inset-block-start:-7px}.si-map-popover-arrow:before,.si-map-popover-arrow:after{position:absolute;display:block;content:\"\";border-color:transparent;border-style:solid;border-inline-width:6px;border-block-width:0 6px}.si-map-popover-arrow:before{inset-block-start:0;border-block-end-color:var(--element-ui-4)}.si-map-popover-arrow:after{inset-block-start:1px;border-block-end-color:var(--element-base-3)}.si-map-popover-content{padding-block:12px;color:var(--element-text-primary)}.si-map-popover .si-map-popover-item{display:flex;margin-block-end:12px;flex-direction:column;gap:4px}.si-map-popover .si-map-popover-item-title{font-weight:bolder}\n"] }]
196
+ args: [{ selector: 'si-map-popover', imports: [SiMapPopoverTemplateDirective, SiMapPopoverClusterTemplateDirective], changeDetection: ChangeDetectionStrategy.Eager, template: "<div #popover class=\"si-map-popover\">\n <div class=\"si-map-popover-arrow\"></div>\n\n <div class=\"si-map-popover-content\">\n <div class=\"overflow-auto px-5\">\n <div #contentContainer></div>\n </div>\n </div>\n</div>\n\n<ng-template #defaultContent let-mapPoint=\"mapPoint\" siMapPopoverTemplate>\n <div>{{ mapPoint?.name }}</div>\n <div [innerHTML]=\"mapPoint?.description\"></div>\n</ng-template>\n<ng-template #defaultCluster let-mapPoints=\"mapPoints\" siMapPopoverClusterTemplate>\n <div [style.max-block-size.px]=\"maxHeight()\">\n <div class=\"si-map-popover-list\">\n @for (point of mapPoints; track $index) {\n <div class=\"si-map-popover-item\">\n <div class=\"si-map-popover-item-title\">{{ point.name }}</div>\n <div class=\"si-map-popover-item-description\" [innerHTML]=\"point.description\"></div>\n </div>\n }\n </div>\n </div>\n</ng-template>\n", styles: [".si-map-popover{position:absolute;z-index:1070;display:block;min-inline-size:280px;word-wrap:break-word;background-color:var(--si-sys-background-3);background-clip:padding-box;border:1px solid var(--si-sys-border-4);border-radius:var(--element-radius-2);box-shadow:var(--si-sys-effects-shadow-3);margin-block-start:4px;inset-inline-start:calc(var(--si-sys-sizing-spacing-x-70) * -1)}.si-map-popover-arrow{position:absolute;display:block;inline-size:12px;block-size:6px;margin-block:0;margin-inline:calc(var(--si-sys-sizing-spacing-x-50) + 1px);inset-block-start:-7px}.si-map-popover-arrow:before,.si-map-popover-arrow:after{position:absolute;display:block;content:\"\";border-color:transparent;border-style:solid;border-inline-width:6px;border-block-width:0 6px}.si-map-popover-arrow:before{inset-block-start:0;border-block-end-color:var(--si-sys-border-4)}.si-map-popover-arrow:after{inset-block-start:1px;border-block-end-color:var(--si-sys-background-3)}.si-map-popover-content{padding-block:var(--si-sys-sizing-spacing-y-50);color:var(--si-sys-text-primary)}.si-map-popover .si-map-popover-item{display:flex;margin-block-end:var(--si-sys-sizing-spacing-y-50);flex-direction:column;gap:var(--si-sys-sizing-spacing-y-20) var(--si-sys-sizing-spacing-x-20)}.si-map-popover .si-map-popover-item-title{font-weight:bolder}\n"] }]
198
197
  }], propDecorators: { elementRef: [{ type: i0.ViewChild, args: ['popover', { isSignal: true }] }], contentContainer: [{ type: i0.ViewChild, args: ['contentContainer', { ...{
199
198
  read: ViewContainerRef
200
199
  }, isSignal: true }] }], defaultContent: [{ type: i0.ViewChild, args: ['defaultContent', { ...{
@@ -216,31 +215,31 @@ const themeElement = {
216
215
  style: () => {
217
216
  const style = window.getComputedStyle(document.documentElement);
218
217
  const status = {
219
- info: getProp(style, '--element-status-information'), // $element-status-information / $siemens-blue-500
220
- success: getProp(style, '--element-status-success'), // $element-status-success / $siemens-green-700
221
- warning: getProp(style, '--element-status-warning'), // $element-status-warning / $siemens-orange-700
222
- danger: getProp(style, '--element-status-danger'), // $element-status-danger / $siemens-red-500
223
- caution: getProp(style, '--element-status-caution'), // $element-status-caution / $siemens-yellow-500
224
- critical: getProp(style, '--element-status-critical'), // $element-status-critical / $siemens-red-900
225
- default: getProp(style, '--element-ui-0'), // $element-ui-0 / $siemens-interactive-blue-500
226
- unknown: getProp(style, '--element-ui-3') // $element-ui-3 / $siemens-deep-blue-400
218
+ info: getProp(style, '--si-sys-background-information'),
219
+ success: getProp(style, '--si-sys-background-success'),
220
+ warning: getProp(style, '--si-sys-background-warning'),
221
+ danger: getProp(style, '--si-sys-background-danger'),
222
+ caution: getProp(style, '--si-sys-background-caution'),
223
+ critical: getProp(style, '--si-sys-background-critical'),
224
+ default: getProp(style, '--si-sys-background-accent'),
225
+ unknown: getProp(style, '--si-sys-background-neutral')
227
226
  };
228
227
  return {
229
- fillColor: getProp(style, '--element-base-1'), // $element-base-1 / $siemens-white
230
- strokeColor: getProp(style, '--element-base-1'), // $element-base-1 / $siemens-white
231
- textColor: getProp(style, '--element-text-primary'), // $element-text-primary / $siemens-deep-blue-900
232
- defaultMarkerColor: getProp(style, '--element-text-primary'), // $element-text-primary / $siemens-deep-blue-900
228
+ fillColor: getProp(style, '--si-sys-background-1'),
229
+ strokeColor: getProp(style, '--si-sys-background-1'),
230
+ textColor: getProp(style, '--si-sys-text-primary'),
231
+ defaultMarkerColor: getProp(style, '--si-sys-text-primary'),
233
232
  status,
234
233
  colorPalette: {
235
234
  status: [status.info, status.success, status.warning, status.danger],
236
235
  element: [
237
- getProp(style, '--element-data-red-2'), // $siemens-red-500
238
- getProp(style, '--element-data-orange-4'), // $siemens-orange-700
239
- getProp(style, '--element-status-caution'), // $siemens-yellow-300
240
- getProp(style, '--element-data-green-2'), // $siemens-green-500
241
- getProp(style, '--element-status-information'), // $siemens-blue-500
242
- getProp(style, '--element-petrol'), // $element-petrol
243
- getProp(style, '--element-data-17') // $siemens-deep-blue-500
236
+ getProp(style, '--si-sys-data-sequential-red-2'),
237
+ getProp(style, '--si-sys-data-sequential-orange-4'),
238
+ getProp(style, '--si-sys-background-caution'),
239
+ getProp(style, '--si-sys-data-sequential-green-2'),
240
+ getProp(style, '--si-sys-background-information'),
241
+ getProp(style, '--si-sys-data-categorical-1'),
242
+ getProp(style, '--si-sys-data-categorical-17')
244
243
  ]
245
244
  }
246
245
  };
@@ -539,9 +538,6 @@ class MapService {
539
538
  marker: point.marker,
540
539
  label: alwaysShowLabels ? { text: point.name } : undefined,
541
540
  group: point.group,
542
- // TODO: Remove extraProps in v50
543
- // For backward compatibility, extraProps is still supported, but extraProperties should be used going forward
544
- extraProps: point.extraProperties,
545
541
  extraProperties: point.extraProperties,
546
542
  click: point.click
547
543
  }));
@@ -879,10 +875,10 @@ class MapService {
879
875
  src: svgb64
880
876
  });
881
877
  }
882
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MapService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
883
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MapService, providedIn: 'root' });
878
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MapService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
879
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MapService, providedIn: 'root' });
884
880
  }
885
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MapService, decorators: [{
881
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MapService, decorators: [{
886
882
  type: Injectable,
887
883
  args: [{
888
884
  providedIn: 'root'
@@ -930,2904 +926,6 @@ class SelectCluster extends Select {
930
926
  }
931
927
  }
932
928
 
933
- /**
934
- * Copyright (c) Siemens 2016 - 2026
935
- * SPDX-License-Identifier: MIT
936
- */
937
- // Fonts
938
- // TODO: This is a workaround to disable loading of google fonts.
939
- const italicFonts = ['SiemensSans Pro', 'sans-serif'];
940
- const regularFonts = ['SiemensSans Pro', 'sans-serif'];
941
- const boldFonts = ['SiemensSans Pro', 'sans-serif'];
942
- // Colors
943
- const deepBlue900 = 'rgba(32, 33, 50, 1)';
944
- const green700 = (opacity) => `rgba(28, 112, 63, ${opacity})`;
945
- const green500 = (opacity) => `rgba(40, 191, 102, ${opacity})`;
946
- const green300 = (opacity) => `rgba(114, 230, 163, ${opacity})`;
947
- const blue700 = 'rgb(30, 82, 153)';
948
- const blue100 = 'rgb(210, 226, 247)';
949
- const styleJson = (key, dark) => ({
950
- 'version': 8,
951
- 'name': 'siemens-brand',
952
- 'sources': {
953
- 'attribution': {
954
- 'attribution': '<a href="https://carto.com/" target="_blank">&copy; CARTO</a>',
955
- 'type': 'vector'
956
- },
957
- 'openmaptiles': {
958
- 'url': `https://api.maptiler.com/tiles/v3/tiles.json?key=${key}`,
959
- 'type': 'vector'
960
- },
961
- 'maptiler_attribution': {
962
- 'attribution': '<a href="https://www.maptiler.com/copyright/" target="_blank">&copy; MapTiler</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">&copy; OpenStreetMap contributors</a>',
963
- 'type': 'vector'
964
- }
965
- },
966
- 'layers': [
967
- {
968
- 'id': 'background',
969
- 'type': 'background',
970
- 'layout': {
971
- 'visibility': 'visible'
972
- },
973
- 'paint': {
974
- 'background-color': dark ? deepBlue900 : 'rgb(247, 247, 246)',
975
- 'background-opacity': 1
976
- }
977
- },
978
- {
979
- 'id': 'landcover',
980
- 'type': 'fill',
981
- 'source': 'openmaptiles',
982
- 'source-layer': 'landcover',
983
- 'paint': {
984
- 'fill-color': {
985
- 'stops': [
986
- [8, dark ? green500(0.15) : green300(0.15)],
987
- [9, dark ? green500(0.15) : green300(0.2)],
988
- [11, dark ? green500(0.2) : green300(0.3)],
989
- [13, dark ? green500(0.1) : green300(0.35)],
990
- [15, dark ? green500(0.15) : green300(0.5)]
991
- ]
992
- },
993
- 'fill-opacity': 1
994
- },
995
- 'filter': [
996
- 'any',
997
- ['==', 'class', 'wood'],
998
- ['==', 'class', 'grass'],
999
- ['==', 'subclass', 'recreation_ground']
1000
- ]
1001
- },
1002
- {
1003
- 'id': 'park_national_park',
1004
- 'type': 'fill',
1005
- 'source': 'openmaptiles',
1006
- 'source-layer': 'park',
1007
- 'minzoom': 6,
1008
- 'layout': {
1009
- 'visibility': 'visible'
1010
- },
1011
- 'paint': {
1012
- 'fill-color': {
1013
- 'stops': [
1014
- [8, dark ? green700(0.2) : green300(0.2)],
1015
- [9, dark ? green700(0.25) : green300(0.25)],
1016
- [11, dark ? green700(0.35) : green300(0.35)],
1017
- [13, dark ? green700(0.4) : green300(0.4)],
1018
- [15, dark ? green700(0.6) : green300(0.6)]
1019
- ]
1020
- },
1021
- 'fill-opacity': 1,
1022
- 'fill-translate-anchor': 'map'
1023
- },
1024
- 'filter': ['all', ['==', 'class', 'national_park']]
1025
- },
1026
- {
1027
- 'id': 'park_nature_reserve',
1028
- 'type': 'fill',
1029
- 'source': 'openmaptiles',
1030
- 'source-layer': 'park',
1031
- 'minzoom': 0,
1032
- 'layout': {
1033
- 'visibility': 'visible'
1034
- },
1035
- 'paint': {
1036
- 'fill-color': {
1037
- 'stops': [
1038
- [8, dark ? green700(0.2) : green300(0.2)],
1039
- [9, dark ? green700(0.25) : green300(0.25)],
1040
- [11, dark ? green700(0.35) : green300(0.35)],
1041
- [13, dark ? green700(0.4) : green300(0.4)],
1042
- [15, dark ? green700(0.6) : green300(0.6)]
1043
- ]
1044
- },
1045
- 'fill-opacity': {
1046
- 'stops': [
1047
- [6, 0.7],
1048
- [9, 0.9]
1049
- ]
1050
- },
1051
- 'fill-antialias': true
1052
- },
1053
- 'filter': ['all', ['==', 'class', 'nature_reserve']]
1054
- },
1055
- {
1056
- 'id': 'landuse_residential',
1057
- 'type': 'fill',
1058
- 'source': 'openmaptiles',
1059
- 'source-layer': 'landuse',
1060
- 'minzoom': 6,
1061
- 'paint': {
1062
- 'fill-color': {
1063
- 'stops': [
1064
- [5, dark ? 'rgba(27, 28, 29, 0.5)' : 'rgba(222, 226, 232, 0.5)'],
1065
- [8, dark ? 'rgba(27, 28, 29, 0.45)' : 'rgba(222, 226, 232, 0.45)'],
1066
- [9, dark ? 'rgba(27, 28, 29, 0.4)' : 'rgba(222, 226, 232, 0.4)'],
1067
- [11, dark ? 'rgba(27, 28, 29, 0.35)' : 'rgba(222, 226, 232, 0.35)'],
1068
- [13, dark ? 'rgba(27, 28, 29, 0.3)' : 'rgba(222, 226, 232, 0.3)'],
1069
- [15, dark ? 'rgba(27, 28, 29, 0.25)' : 'rgba(222, 226, 232, 0.25)'],
1070
- [16, dark ? 'rgba(27, 28, 29, 0.15)' : 'rgba(222, 226, 232, 0.15)']
1071
- ]
1072
- },
1073
- 'fill-opacity': {
1074
- 'stops': [
1075
- [6, 0.6],
1076
- [9, 1]
1077
- ]
1078
- }
1079
- },
1080
- 'filter': ['any', ['==', 'class', 'residential']]
1081
- },
1082
- {
1083
- 'id': 'landuse',
1084
- 'type': 'fill',
1085
- 'source': 'openmaptiles',
1086
- 'source-layer': 'landuse',
1087
- 'paint': {
1088
- 'fill-color': {
1089
- 'stops': [
1090
- [8, dark ? 'rgba(0, 0, 0, 0.2)' : 'rgba(195, 189, 205, 0.2)'],
1091
- [9, dark ? 'rgba(0, 0, 0, 0.25)' : 'rgba(195, 189, 205, 0.25)'],
1092
- [11, dark ? 'rgba(0, 0, 0, 0.35)' : 'rgba(195, 189, 205, 0.35)'],
1093
- [13, dark ? 'rgba(0, 0, 0, 0.4)' : 'rgba(195, 189, 205, 0.4)'],
1094
- [15, dark ? 'rgb(20, 20, 20)' : 'rgb(218, 216, 222)']
1095
- ]
1096
- }
1097
- },
1098
- 'filter': ['any', ['==', 'class', 'cemetery'], ['==', 'class', 'stadium']]
1099
- },
1100
- {
1101
- 'id': 'waterway',
1102
- 'type': 'line',
1103
- 'source': 'openmaptiles',
1104
- 'source-layer': 'waterway',
1105
- 'layout': {
1106
- 'visibility': 'visible'
1107
- },
1108
- 'paint': {
1109
- 'line-color': dark ? blue700 : blue100,
1110
- 'line-width': {
1111
- 'stops': [
1112
- [8, 0.5],
1113
- [9, 1],
1114
- [15, 2],
1115
- [16, 3]
1116
- ]
1117
- }
1118
- }
1119
- },
1120
- {
1121
- 'id': 'boundary_county',
1122
- 'type': 'line',
1123
- 'source': 'openmaptiles',
1124
- 'source-layer': 'boundary',
1125
- 'minzoom': 9,
1126
- 'maxzoom': 24,
1127
- 'paint': {
1128
- 'line-color': {
1129
- 'stops': [
1130
- [4, dark ? 'rgba(110, 110, 110, 1)' : 'rgba(145, 145, 145, 0.6)'],
1131
- [5, dark ? 'rgba(112, 112, 112, 1)' : 'rgba(145, 145, 145, 0.8)'],
1132
- [6, dark ? 'rgba(189, 189, 189, 1)' : 'rgba(145, 145, 145, 0.9)']
1133
- ]
1134
- },
1135
- 'line-width': {
1136
- 'stops': [
1137
- [4, 0.5],
1138
- [7, 1]
1139
- ]
1140
- }
1141
- },
1142
- 'filter': ['all', ['==', 'admin_level', 6], ['==', 'maritime', 0], ['==', 'disputed', 0]]
1143
- },
1144
- {
1145
- 'id': 'boundary_state',
1146
- 'type': 'line',
1147
- 'source': 'openmaptiles',
1148
- 'source-layer': 'boundary',
1149
- 'minzoom': 4,
1150
- 'paint': {
1151
- 'line-color': {
1152
- 'stops': [
1153
- [4, dark ? 'rgba(68, 73, 76, 1)' : '#d4d5d6'],
1154
- [5, dark ? 'rgba(68, 73, 76, 1)' : '#d4d5d6'],
1155
- [6, dark ? '#656A6E' : '#e1c5c7']
1156
- ]
1157
- },
1158
- 'line-width': {
1159
- 'stops': [
1160
- [4, 0.5],
1161
- [7, 1],
1162
- [8, 1],
1163
- [9, 1.2]
1164
- ]
1165
- }
1166
- },
1167
- 'filter': ['all', ['==', 'admin_level', 4], ['==', 'maritime', 0], ['==', 'disputed', 0]]
1168
- },
1169
- {
1170
- 'id': 'water',
1171
- 'type': 'fill',
1172
- 'source': 'openmaptiles',
1173
- 'source-layer': 'water',
1174
- 'minzoom': 0,
1175
- 'maxzoom': 24,
1176
- 'layout': {
1177
- 'visibility': 'visible'
1178
- },
1179
- 'paint': {
1180
- 'fill-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgb(175, 201, 241)',
1181
- 'fill-opacity': 1,
1182
- 'fill-antialias': true,
1183
- 'fill-translate-anchor': 'map'
1184
- },
1185
- 'filter': ['all', ['==', '$type', 'Polygon'], ['!=', 'brunnel', 'tunnel']]
1186
- },
1187
- {
1188
- 'id': 'water_shadow',
1189
- 'type': 'fill',
1190
- 'source': 'openmaptiles',
1191
- 'source-layer': 'water',
1192
- 'minzoom': 0,
1193
- 'layout': {
1194
- 'visibility': 'visible'
1195
- },
1196
- 'paint': {
1197
- 'fill-color': dark ? 'rgba(74, 84, 113, 1)' : 'rgb(210, 226, 247)',
1198
- 'fill-opacity': 1,
1199
- 'fill-antialias': true,
1200
- 'fill-translate': {
1201
- 'stops': [
1202
- [0, [0, 2]],
1203
- [6, [0, 1]],
1204
- [14, [0, 1]],
1205
- [17, [0, 2]]
1206
- ]
1207
- },
1208
- 'fill-translate-anchor': 'map'
1209
- },
1210
- 'filter': ['all', ['==', '$type', 'Polygon'], ['!=', 'brunnel', 'tunnel']]
1211
- },
1212
- {
1213
- 'id': 'aeroway-runway',
1214
- 'type': 'line',
1215
- 'source': 'openmaptiles',
1216
- 'source-layer': 'aeroway',
1217
- 'minzoom': 12,
1218
- 'layout': {
1219
- 'line-cap': 'square'
1220
- },
1221
- 'paint': {
1222
- 'line-color': dark ? 'rgb(97, 97, 97)' : 'rgb(227, 226, 226)',
1223
- 'line-width': {
1224
- 'stops': [
1225
- [11, 1],
1226
- [13, 4],
1227
- [14, 6],
1228
- [15, 8],
1229
- [16, 10]
1230
- ]
1231
- }
1232
- },
1233
- 'filter': ['all', ['==', 'class', 'runway']]
1234
- },
1235
- {
1236
- 'id': 'aeroway-taxiway',
1237
- 'type': 'line',
1238
- 'source': 'openmaptiles',
1239
- 'source-layer': 'aeroway',
1240
- 'minzoom': 13,
1241
- 'paint': {
1242
- 'line-color': dark ? 'rgb(97, 97, 97)' : 'rgb(227, 226, 226)',
1243
- 'line-width': {
1244
- 'stops': [
1245
- [13, 0.5],
1246
- [14, 1],
1247
- [15, 2],
1248
- [16, 4]
1249
- ]
1250
- }
1251
- },
1252
- 'filter': ['all', ['==', 'class', 'taxiway']]
1253
- },
1254
- {
1255
- 'id': 'waterway_label',
1256
- 'type': 'symbol',
1257
- 'source': 'openmaptiles',
1258
- 'source-layer': 'waterway',
1259
- 'layout': {
1260
- 'text-font': italicFonts,
1261
- 'text-size': {
1262
- 'stops': [
1263
- [9, 8],
1264
- [10, 9]
1265
- ]
1266
- },
1267
- 'text-field': '{name_en}',
1268
- 'visibility': 'visible',
1269
- 'text-offset': {
1270
- 'stops': [
1271
- [6, [0, -0.2]],
1272
- [11, [0, -0.4]],
1273
- [12, [0, -0.6]]
1274
- ]
1275
- },
1276
- 'text-padding': 2,
1277
- 'symbol-spacing': 300,
1278
- 'symbol-placement': 'line',
1279
- 'text-keep-upright': true,
1280
- 'symbol-avoid-edges': false,
1281
- 'text-letter-spacing': 0,
1282
- 'text-pitch-alignment': 'auto',
1283
- 'text-rotation-alignment': 'auto'
1284
- },
1285
- 'paint': {
1286
- 'text-color': dark ? 'rgba(129, 173, 235, 1)' : 'rgb(45, 113, 218)',
1287
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgb(240, 245, 252)',
1288
- 'text-halo-width': 1
1289
- },
1290
- 'filter': ['all', ['has', 'name'], ['==', 'class', 'river']]
1291
- },
1292
- {
1293
- 'id': 'tunnel_service_case',
1294
- 'type': 'line',
1295
- 'source': 'openmaptiles',
1296
- 'source-layer': 'transportation',
1297
- 'minzoom': 15,
1298
- 'maxzoom': 24,
1299
- 'layout': {
1300
- 'line-cap': 'round',
1301
- 'line-join': 'round'
1302
- },
1303
- 'paint': {
1304
- 'line-color': dark ? 'rgb(0, 0, 0)' : 'rgb(163, 163, 152)',
1305
- 'line-width': {
1306
- 'stops': [
1307
- [15, 1],
1308
- [16, 3],
1309
- [17, 6],
1310
- [18, 8]
1311
- ]
1312
- },
1313
- 'line-opacity': 1
1314
- },
1315
- 'filter': ['all', ['==', 'class', 'service'], ['==', 'brunnel', 'tunnel']]
1316
- },
1317
- {
1318
- 'id': 'tunnel_minor_case',
1319
- 'type': 'line',
1320
- 'source': 'openmaptiles',
1321
- 'source-layer': 'transportation',
1322
- 'minzoom': 13,
1323
- 'maxzoom': 24,
1324
- 'layout': {
1325
- 'line-cap': 'butt',
1326
- 'line-join': 'miter'
1327
- },
1328
- 'paint': {
1329
- 'line-color': dark ? 'rgb(0, 0, 0)' : 'rgb(163, 163, 152)',
1330
- 'line-width': {
1331
- 'stops': [
1332
- [11, 0.5],
1333
- [12, 0.5],
1334
- [14, 2],
1335
- [15, 4],
1336
- [16, 6],
1337
- [17, 10],
1338
- [18, 14]
1339
- ]
1340
- },
1341
- 'line-opacity': 1
1342
- },
1343
- 'filter': ['all', ['==', 'class', 'minor'], ['==', 'brunnel', 'tunnel']]
1344
- },
1345
- {
1346
- 'id': 'tunnel_sec_case',
1347
- 'type': 'line',
1348
- 'source': 'openmaptiles',
1349
- 'source-layer': 'transportation',
1350
- 'minzoom': 11,
1351
- 'maxzoom': 24,
1352
- 'layout': {
1353
- 'line-cap': 'round',
1354
- 'line-join': 'round'
1355
- },
1356
- 'paint': {
1357
- 'line-color': dark ? 'rgb(0, 0, 0)' : 'rgb(163, 163, 152)',
1358
- 'line-width': {
1359
- 'stops': [
1360
- [11, 0.5],
1361
- [12, 1],
1362
- [13, 2],
1363
- [14, 5],
1364
- [15, 6],
1365
- [16, 8],
1366
- [17, 12],
1367
- [18, 16]
1368
- ]
1369
- },
1370
- 'line-opacity': 1
1371
- },
1372
- 'filter': ['all', ['in', 'class', 'secondary', 'tertiary'], ['==', 'brunnel', 'tunnel']]
1373
- },
1374
- {
1375
- 'id': 'tunnel_pri_case',
1376
- 'type': 'line',
1377
- 'source': 'openmaptiles',
1378
- 'source-layer': 'transportation',
1379
- 'minzoom': 8,
1380
- 'maxzoom': 24,
1381
- 'layout': {
1382
- 'line-cap': 'butt',
1383
- 'line-join': 'round'
1384
- },
1385
- 'paint': {
1386
- 'line-color': dark ? 'rgb(0, 0, 0)' : 'rgb(163, 163, 152)',
1387
- 'line-width': {
1388
- 'stops': [
1389
- [6, 0.5],
1390
- [7, 0.8],
1391
- [8, 1],
1392
- [11, 3],
1393
- [13, 4],
1394
- [14, 6],
1395
- [15, 8],
1396
- [16, 10],
1397
- [17, 14],
1398
- [18, 18]
1399
- ]
1400
- },
1401
- 'line-opacity': {
1402
- 'stops': [
1403
- [5, 0.5],
1404
- [7, 1]
1405
- ]
1406
- }
1407
- },
1408
- 'filter': ['all', ['==', 'class', 'primary'], ['!=', 'ramp', 1], ['==', 'brunnel', 'tunnel']]
1409
- },
1410
- {
1411
- 'id': 'tunnel_trunk_case',
1412
- 'type': 'line',
1413
- 'source': 'openmaptiles',
1414
- 'source-layer': 'transportation',
1415
- 'minzoom': 5,
1416
- 'maxzoom': 24,
1417
- 'layout': {
1418
- 'line-cap': 'butt',
1419
- 'line-join': 'round',
1420
- 'visibility': 'visible'
1421
- },
1422
- 'paint': {
1423
- 'line-color': dark ? 'rgb(0, 0, 0)' : 'rgb(163, 163, 152)',
1424
- 'line-width': {
1425
- 'stops': [
1426
- [6, 0.5],
1427
- [7, 0.8],
1428
- [8, 1],
1429
- [11, 3],
1430
- [13, 4],
1431
- [14, 6],
1432
- [15, 8],
1433
- [16, 10],
1434
- [17, 14],
1435
- [18, 18]
1436
- ]
1437
- },
1438
- 'line-opacity': {
1439
- 'stops': [
1440
- [5, 0.5],
1441
- [7, 1]
1442
- ]
1443
- }
1444
- },
1445
- 'filter': ['all', ['==', 'class', 'trunk'], ['!=', 'ramp', 1], ['==', 'brunnel', 'tunnel']]
1446
- },
1447
- {
1448
- 'id': 'tunnel_mot_case',
1449
- 'type': 'line',
1450
- 'source': 'openmaptiles',
1451
- 'source-layer': 'transportation',
1452
- 'minzoom': 5,
1453
- 'maxzoom': 24,
1454
- 'layout': {
1455
- 'line-cap': 'butt',
1456
- 'line-join': 'round'
1457
- },
1458
- 'paint': {
1459
- 'line-color': dark ? 'rgb(0, 0, 0)' : 'rgb(163, 163, 152)',
1460
- 'line-width': {
1461
- 'stops': [
1462
- [6, 0.5],
1463
- [7, 0.8],
1464
- [8, 1],
1465
- [11, 3],
1466
- [12, 4],
1467
- [13, 5],
1468
- [14, 7],
1469
- [15, 9],
1470
- [16, 11],
1471
- [17, 13],
1472
- [18, 22]
1473
- ]
1474
- },
1475
- 'line-opacity': {
1476
- 'stops': [
1477
- [6, 0.5],
1478
- [7, 1]
1479
- ]
1480
- }
1481
- },
1482
- 'filter': ['all', ['==', 'class', 'motorway'], ['!=', 'ramp', 1], ['==', 'brunnel', 'tunnel']]
1483
- },
1484
- {
1485
- 'id': 'tunnel_path',
1486
- 'type': 'line',
1487
- 'source': 'openmaptiles',
1488
- 'source-layer': 'transportation',
1489
- 'minzoom': 15,
1490
- 'maxzoom': 24,
1491
- 'layout': {
1492
- 'line-cap': 'round',
1493
- 'line-join': 'round'
1494
- },
1495
- 'paint': {
1496
- 'line-color': dark ? 'rgb(80, 80, 80)' : 'rgb(210, 209, 209)',
1497
- 'line-width': {
1498
- 'stops': [
1499
- [15, 0.5],
1500
- [16, 1],
1501
- [18, 3]
1502
- ]
1503
- },
1504
- 'line-opacity': 1
1505
- },
1506
- 'filter': ['all', ['==', 'class', 'path'], ['==', 'brunnel', 'tunnel']]
1507
- },
1508
- {
1509
- 'id': 'tunnel_service_fill',
1510
- 'type': 'line',
1511
- 'source': 'openmaptiles',
1512
- 'source-layer': 'transportation',
1513
- 'minzoom': 15,
1514
- 'maxzoom': 24,
1515
- 'layout': {
1516
- 'line-cap': 'round',
1517
- 'line-join': 'round'
1518
- },
1519
- 'paint': {
1520
- 'line-color': dark ? 'rgb(0, 0, 0)' : 'rgb(163, 163, 152)',
1521
- 'line-width': {
1522
- 'stops': [
1523
- [15, 2],
1524
- [16, 2],
1525
- [17, 4],
1526
- [18, 6]
1527
- ]
1528
- },
1529
- 'line-opacity': 1
1530
- },
1531
- 'filter': ['all', ['==', 'class', 'service'], ['==', 'brunnel', 'tunnel']]
1532
- },
1533
- {
1534
- 'id': 'tunnel_minor_fill',
1535
- 'type': 'line',
1536
- 'source': 'openmaptiles',
1537
- 'source-layer': 'transportation',
1538
- 'minzoom': 15,
1539
- 'maxzoom': 24,
1540
- 'layout': {
1541
- 'line-cap': 'butt',
1542
- 'line-join': 'round'
1543
- },
1544
- 'paint': {
1545
- 'line-color': dark ? 'rgb(0, 0, 0)' : 'rgb(163, 163, 152)',
1546
- 'line-width': {
1547
- 'stops': [
1548
- [15, 3],
1549
- [16, 4],
1550
- [17, 8],
1551
- [18, 12]
1552
- ]
1553
- },
1554
- 'line-opacity': 1
1555
- },
1556
- 'filter': ['all', ['==', 'class', 'minor'], ['==', 'brunnel', 'tunnel']]
1557
- },
1558
- {
1559
- 'id': 'tunnel_sec_fill',
1560
- 'type': 'line',
1561
- 'source': 'openmaptiles',
1562
- 'source-layer': 'transportation',
1563
- 'minzoom': 13,
1564
- 'maxzoom': 24,
1565
- 'layout': {
1566
- 'line-cap': 'round',
1567
- 'line-join': 'round'
1568
- },
1569
- 'paint': {
1570
- 'line-color': dark ? 'rgb(0, 0, 0)' : 'rgb(163, 163, 152)',
1571
- 'line-width': {
1572
- 'stops': [
1573
- [11, 2],
1574
- [13, 2],
1575
- [14, 3],
1576
- [15, 4],
1577
- [16, 6],
1578
- [17, 10],
1579
- [18, 14]
1580
- ]
1581
- },
1582
- 'line-opacity': 1
1583
- },
1584
- 'filter': ['all', ['in', 'class', 'secondary', 'tertiary'], ['==', 'brunnel', 'tunnel']]
1585
- },
1586
- {
1587
- 'id': 'tunnel_pri_fill',
1588
- 'type': 'line',
1589
- 'source': 'openmaptiles',
1590
- 'source-layer': 'transportation',
1591
- 'minzoom': 11,
1592
- 'maxzoom': 24,
1593
- 'layout': {
1594
- 'line-cap': 'butt',
1595
- 'line-join': 'round'
1596
- },
1597
- 'paint': {
1598
- 'line-color': dark ? 'rgb(0, 0, 0)' : 'rgb(163, 163, 152)',
1599
- 'line-width': {
1600
- 'stops': [
1601
- [11, 1],
1602
- [13, 2],
1603
- [14, 4],
1604
- [15, 6],
1605
- [16, 8],
1606
- [17, 12],
1607
- [18, 16]
1608
- ]
1609
- },
1610
- 'line-opacity': 1
1611
- },
1612
- 'filter': ['all', ['==', 'class', 'primary'], ['!=', 'ramp', 1], ['==', 'brunnel', 'tunnel']]
1613
- },
1614
- {
1615
- 'id': 'tunnel_trunk_fill',
1616
- 'type': 'line',
1617
- 'source': 'openmaptiles',
1618
- 'source-layer': 'transportation',
1619
- 'minzoom': 11,
1620
- 'maxzoom': 24,
1621
- 'layout': {
1622
- 'line-cap': 'round',
1623
- 'line-join': 'round',
1624
- 'visibility': 'visible'
1625
- },
1626
- 'paint': {
1627
- 'line-color': dark ? 'rgb(0, 0, 0)' : 'rgb(163, 163, 152)',
1628
- 'line-width': {
1629
- 'stops': [
1630
- [11, 1],
1631
- [13, 2],
1632
- [14, 4],
1633
- [15, 6],
1634
- [16, 8],
1635
- [17, 12],
1636
- [18, 16]
1637
- ]
1638
- },
1639
- 'line-opacity': 1
1640
- },
1641
- 'filter': ['all', ['==', 'class', 'trunk'], ['!=', 'ramp', 1], ['==', 'brunnel', 'tunnel']]
1642
- },
1643
- {
1644
- 'id': 'tunnel_mot_fill',
1645
- 'type': 'line',
1646
- 'source': 'openmaptiles',
1647
- 'source-layer': 'transportation',
1648
- 'minzoom': 10,
1649
- 'maxzoom': 24,
1650
- 'layout': {
1651
- 'line-cap': 'butt',
1652
- 'line-join': 'round'
1653
- },
1654
- 'paint': {
1655
- 'line-color': dark ? 'rgb(0, 0, 0)' : 'rgb(163, 163, 152)',
1656
- 'line-width': {
1657
- 'stops': [
1658
- [10, 1],
1659
- [12, 2],
1660
- [13, 3],
1661
- [14, 5],
1662
- [15, 7],
1663
- [16, 9],
1664
- [17, 11],
1665
- [18, 20]
1666
- ]
1667
- },
1668
- 'line-opacity': 1
1669
- },
1670
- 'filter': ['all', ['==', 'class', 'motorway'], ['!=', 'ramp', 1], ['==', 'brunnel', 'tunnel']]
1671
- },
1672
- {
1673
- 'id': 'tunnel_rail',
1674
- 'type': 'line',
1675
- 'source': 'openmaptiles',
1676
- 'source-layer': 'transportation',
1677
- 'minzoom': 13,
1678
- 'layout': {
1679
- 'line-join': 'round',
1680
- 'visibility': 'visible'
1681
- },
1682
- 'paint': {
1683
- 'line-color': dark ? 'rgb(86, 86, 86)' : 'rgb(216, 215, 215)',
1684
- 'line-width': {
1685
- 'base': 1.3,
1686
- 'stops': [
1687
- [13, 0.5],
1688
- [14, 1],
1689
- [15, 1],
1690
- [16, 3],
1691
- [21, 7]
1692
- ]
1693
- },
1694
- 'line-opacity': 0.5
1695
- },
1696
- 'filter': ['all', ['==', 'class', 'rail'], ['==', 'brunnel', 'tunnel']]
1697
- },
1698
- {
1699
- 'id': 'tunnel_rail_dash',
1700
- 'type': 'line',
1701
- 'source': 'openmaptiles',
1702
- 'source-layer': 'transportation',
1703
- 'minzoom': 15,
1704
- 'layout': {
1705
- 'line-join': 'round',
1706
- 'visibility': 'visible'
1707
- },
1708
- 'paint': {
1709
- 'line-color': dark ? 'rgb(120, 120, 120)' : 'rgb(250, 249, 249)',
1710
- 'line-width': {
1711
- 'base': 1.3,
1712
- 'stops': [
1713
- [15, 0.5],
1714
- [16, 1],
1715
- [20, 5]
1716
- ]
1717
- },
1718
- 'line-opacity': 0.5
1719
- },
1720
- 'filter': ['all', ['==', 'class', 'rail'], ['==', 'brunnel', 'tunnel']]
1721
- },
1722
- {
1723
- 'id': 'road_area_pier',
1724
- 'type': 'fill',
1725
- 'source': 'openmaptiles',
1726
- 'source-layer': 'transportation',
1727
- 'layout': {
1728
- 'visibility': 'visible'
1729
- },
1730
- 'paint': {
1731
- 'fill-color': dark ? '#fbf8f3' : '#fbf8f3',
1732
- 'fill-antialias': true
1733
- },
1734
- 'metadata': {},
1735
- 'filter': ['all', ['==', '$type', 'Polygon'], ['==', 'class', 'pier']]
1736
- },
1737
- {
1738
- 'id': 'road_pier',
1739
- 'type': 'line',
1740
- 'source': 'openmaptiles',
1741
- 'source-layer': 'transportation',
1742
- 'layout': {
1743
- 'line-cap': 'round',
1744
- 'line-join': 'round'
1745
- },
1746
- 'paint': {
1747
- 'line-color': dark ? '#fbf8f3' : '#fbf8f3',
1748
- 'line-width': {
1749
- 'base': 1.2,
1750
- 'stops': [
1751
- [15, 1],
1752
- [17, 4]
1753
- ]
1754
- }
1755
- },
1756
- 'metadata': {},
1757
- 'filter': ['all', ['==', '$type', 'LineString'], ['in', 'class', 'pier']]
1758
- },
1759
- {
1760
- 'id': 'road_area_bridge',
1761
- 'type': 'fill',
1762
- 'source': 'openmaptiles',
1763
- 'source-layer': 'transportation',
1764
- 'layout': {
1765
- 'visibility': 'visible'
1766
- },
1767
- 'paint': {
1768
- 'fill-color': dark ? 'rgba(246, 241, 229, 0.6)' : 'rgba(246, 241, 229, 0.6)',
1769
- 'fill-antialias': true
1770
- },
1771
- 'metadata': {},
1772
- 'filter': ['all', ['==', '$type', 'Polygon'], ['==', 'brunnel', 'bridge']]
1773
- },
1774
- {
1775
- 'id': 'road_service_case',
1776
- 'type': 'line',
1777
- 'source': 'openmaptiles',
1778
- 'source-layer': 'transportation',
1779
- 'minzoom': 15,
1780
- 'maxzoom': 24,
1781
- 'layout': {
1782
- 'line-cap': 'round',
1783
- 'line-join': 'round'
1784
- },
1785
- 'paint': {
1786
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
1787
- 'line-width': {
1788
- 'stops': [
1789
- [15, 1],
1790
- [16, 3],
1791
- [17, 6],
1792
- [18, 8]
1793
- ]
1794
- },
1795
- 'line-opacity': 1
1796
- },
1797
- 'filter': ['all', ['==', 'class', 'service'], ['!has', 'brunnel']]
1798
- },
1799
- {
1800
- 'id': 'road_minor_case',
1801
- 'type': 'line',
1802
- 'source': 'openmaptiles',
1803
- 'source-layer': 'transportation',
1804
- 'minzoom': 13,
1805
- 'maxzoom': 24,
1806
- 'layout': {
1807
- 'line-cap': 'round',
1808
- 'line-join': 'round'
1809
- },
1810
- 'paint': {
1811
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
1812
- 'line-width': {
1813
- 'stops': [
1814
- [11, 0.5],
1815
- [12, 0.5],
1816
- [14, 2],
1817
- [15, 3],
1818
- [16, 4.3],
1819
- [17, 10],
1820
- [18, 14]
1821
- ]
1822
- },
1823
- 'line-opacity': 1
1824
- },
1825
- 'filter': ['all', ['==', 'class', 'minor'], ['!has', 'brunnel']]
1826
- },
1827
- {
1828
- 'id': 'road_pri_case_ramp',
1829
- 'type': 'line',
1830
- 'source': 'openmaptiles',
1831
- 'source-layer': 'transportation',
1832
- 'minzoom': 12,
1833
- 'maxzoom': 24,
1834
- 'layout': {
1835
- 'line-cap': 'round',
1836
- 'line-join': 'round'
1837
- },
1838
- 'paint': {
1839
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
1840
- 'line-width': {
1841
- 'stops': [
1842
- [12, 2],
1843
- [13, 3],
1844
- [14, 4],
1845
- [15, 5],
1846
- [16, 8],
1847
- [17, 10]
1848
- ]
1849
- },
1850
- 'line-opacity': {
1851
- 'stops': [
1852
- [5, 0.5],
1853
- [7, 1]
1854
- ]
1855
- }
1856
- },
1857
- 'filter': ['all', ['==', 'class', 'primary'], ['==', 'ramp', 1]]
1858
- },
1859
- {
1860
- 'id': 'road_trunk_case_ramp',
1861
- 'type': 'line',
1862
- 'source': 'openmaptiles',
1863
- 'source-layer': 'transportation',
1864
- 'minzoom': 12,
1865
- 'maxzoom': 24,
1866
- 'layout': {
1867
- 'line-cap': 'round',
1868
- 'line-join': 'round'
1869
- },
1870
- 'paint': {
1871
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
1872
- 'line-width': {
1873
- 'stops': [
1874
- [12, 2],
1875
- [13, 3],
1876
- [14, 4],
1877
- [15, 5],
1878
- [16, 8],
1879
- [17, 10]
1880
- ]
1881
- },
1882
- 'line-opacity': 1
1883
- },
1884
- 'filter': ['all', ['==', 'class', 'trunk'], ['==', 'ramp', 1]]
1885
- },
1886
- {
1887
- 'id': 'road_mot_case_ramp',
1888
- 'type': 'line',
1889
- 'source': 'openmaptiles',
1890
- 'source-layer': 'transportation',
1891
- 'minzoom': 12,
1892
- 'maxzoom': 24,
1893
- 'layout': {
1894
- 'line-cap': 'round',
1895
- 'line-join': 'round'
1896
- },
1897
- 'paint': {
1898
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
1899
- 'line-width': {
1900
- 'stops': [
1901
- [12, 2],
1902
- [13, 3],
1903
- [14, 4],
1904
- [15, 5],
1905
- [16, 8],
1906
- [17, 10]
1907
- ]
1908
- },
1909
- 'line-opacity': 1
1910
- },
1911
- 'filter': ['all', ['==', 'class', 'motorway'], ['==', 'ramp', 1]]
1912
- },
1913
- {
1914
- 'id': 'road_sec_case_noramp',
1915
- 'type': 'line',
1916
- 'source': 'openmaptiles',
1917
- 'source-layer': 'transportation',
1918
- 'minzoom': 11,
1919
- 'maxzoom': 24,
1920
- 'layout': {
1921
- 'line-cap': 'round',
1922
- 'line-join': 'round'
1923
- },
1924
- 'paint': {
1925
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
1926
- 'line-width': {
1927
- 'stops': [
1928
- [11, 0.5],
1929
- [12, 1.5],
1930
- [13, 3],
1931
- [14, 5],
1932
- [15, 6],
1933
- [16, 8],
1934
- [17, 12],
1935
- [18, 16]
1936
- ]
1937
- },
1938
- 'line-opacity': 1
1939
- },
1940
- 'filter': ['all', ['in', 'class', 'secondary', 'tertiary'], ['!has', 'brunnel']]
1941
- },
1942
- {
1943
- 'id': 'road_pri_case_noramp',
1944
- 'type': 'line',
1945
- 'source': 'openmaptiles',
1946
- 'source-layer': 'transportation',
1947
- 'minzoom': 7,
1948
- 'maxzoom': 24,
1949
- 'layout': {
1950
- 'line-cap': 'round',
1951
- 'line-join': 'round'
1952
- },
1953
- 'paint': {
1954
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
1955
- 'line-width': {
1956
- 'stops': [
1957
- [6, 0.5],
1958
- [7, 0.8],
1959
- [8, 1],
1960
- [11, 3],
1961
- [13, 4],
1962
- [14, 6],
1963
- [15, 8],
1964
- [16, 10],
1965
- [17, 14],
1966
- [18, 18]
1967
- ]
1968
- },
1969
- 'line-opacity': {
1970
- 'stops': [
1971
- [5, 0.5],
1972
- [7, 1]
1973
- ]
1974
- }
1975
- },
1976
- 'filter': ['all', ['==', 'class', 'primary'], ['!=', 'ramp', 1], ['!has', 'brunnel']]
1977
- },
1978
- {
1979
- 'id': 'road_trunk_case_noramp',
1980
- 'type': 'line',
1981
- 'source': 'openmaptiles',
1982
- 'source-layer': 'transportation',
1983
- 'minzoom': 5,
1984
- 'maxzoom': 24,
1985
- 'layout': {
1986
- 'line-cap': 'round',
1987
- 'line-join': 'round'
1988
- },
1989
- 'paint': {
1990
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
1991
- 'line-width': {
1992
- 'stops': [
1993
- [6, 0.5],
1994
- [7, 0.8],
1995
- [8, 1],
1996
- [11, 3],
1997
- [13, 4],
1998
- [14, 6],
1999
- [15, 8],
2000
- [16, 10],
2001
- [17, 14],
2002
- [18, 18]
2003
- ]
2004
- },
2005
- 'line-opacity': {
2006
- 'stops': [
2007
- [5, 0.5],
2008
- [7, 1]
2009
- ]
2010
- }
2011
- },
2012
- 'filter': ['all', ['==', 'class', 'trunk'], ['!=', 'ramp', 1], ['!has', 'brunnel']]
2013
- },
2014
- {
2015
- 'id': 'road_mot_case_noramp',
2016
- 'type': 'line',
2017
- 'source': 'openmaptiles',
2018
- 'source-layer': 'transportation',
2019
- 'minzoom': 5,
2020
- 'maxzoom': 24,
2021
- 'layout': {
2022
- 'line-cap': 'round',
2023
- 'line-join': 'round'
2024
- },
2025
- 'paint': {
2026
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2027
- 'line-width': {
2028
- 'stops': [
2029
- [6, 0.5],
2030
- [7, 0.7],
2031
- [8, 0.8],
2032
- [11, 3],
2033
- [12, 4],
2034
- [13, 5],
2035
- [14, 7],
2036
- [15, 9],
2037
- [16, 11],
2038
- [17, 13],
2039
- [18, 22]
2040
- ]
2041
- },
2042
- 'line-opacity': {
2043
- 'stops': [
2044
- [6, 0.5],
2045
- [7, 1]
2046
- ]
2047
- }
2048
- },
2049
- 'filter': ['all', ['==', 'class', 'motorway'], ['!=', 'ramp', 1], ['!has', 'brunnel']]
2050
- },
2051
- {
2052
- 'id': 'road_path',
2053
- 'type': 'line',
2054
- 'source': 'openmaptiles',
2055
- 'source-layer': 'transportation',
2056
- 'minzoom': 15,
2057
- 'maxzoom': 24,
2058
- 'layout': {
2059
- 'line-cap': 'round',
2060
- 'line-join': 'round'
2061
- },
2062
- 'paint': {
2063
- 'line-color': dark ? 'rgb(80, 80, 80)' : 'rgb(210, 209, 209)',
2064
- 'line-width': {
2065
- 'stops': [
2066
- [15, 0.5],
2067
- [16, 1],
2068
- [18, 3]
2069
- ]
2070
- },
2071
- 'line-opacity': 1
2072
- },
2073
- 'filter': ['all', ['in', 'class', 'path', 'track'], ['!has', 'brunnel']]
2074
- },
2075
- {
2076
- 'id': 'road_service_fill',
2077
- 'type': 'line',
2078
- 'source': 'openmaptiles',
2079
- 'source-layer': 'transportation',
2080
- 'minzoom': 15,
2081
- 'maxzoom': 24,
2082
- 'layout': {
2083
- 'line-cap': 'round',
2084
- 'line-join': 'round'
2085
- },
2086
- 'paint': {
2087
- 'line-color': dark ? 'rgba(0, 0, 40)' : 'rgb(217, 217, 211)',
2088
- 'line-width': {
2089
- 'stops': [
2090
- [15, 2],
2091
- [16, 2],
2092
- [17, 4],
2093
- [18, 6]
2094
- ]
2095
- },
2096
- 'line-opacity': 1
2097
- },
2098
- 'filter': ['all', ['==', 'class', 'service'], ['!has', 'brunnel']]
2099
- },
2100
- {
2101
- 'id': 'road_minor_fill',
2102
- 'type': 'line',
2103
- 'source': 'openmaptiles',
2104
- 'source-layer': 'transportation',
2105
- 'minzoom': 15,
2106
- 'maxzoom': 24,
2107
- 'layout': {
2108
- 'line-cap': 'round',
2109
- 'line-join': 'round'
2110
- },
2111
- 'paint': {
2112
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2113
- 'line-width': {
2114
- 'stops': [
2115
- [15, 3],
2116
- [16, 4],
2117
- [17, 8],
2118
- [18, 12]
2119
- ]
2120
- },
2121
- 'line-opacity': 1
2122
- },
2123
- 'filter': ['all', ['==', 'class', 'minor'], ['!has', 'brunnel']]
2124
- },
2125
- {
2126
- 'id': 'road_pri_fill_ramp',
2127
- 'type': 'line',
2128
- 'source': 'openmaptiles',
2129
- 'source-layer': 'transportation',
2130
- 'minzoom': 12,
2131
- 'maxzoom': 24,
2132
- 'layout': {
2133
- 'line-cap': 'round',
2134
- 'line-join': 'round'
2135
- },
2136
- 'paint': {
2137
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2138
- 'line-width': {
2139
- 'stops': [
2140
- [12, 1],
2141
- [13, 1.5],
2142
- [14, 2],
2143
- [15, 3],
2144
- [16, 6],
2145
- [17, 8]
2146
- ]
2147
- },
2148
- 'line-opacity': 1
2149
- },
2150
- 'filter': ['all', ['==', 'class', 'primary'], ['==', 'ramp', 1]]
2151
- },
2152
- {
2153
- 'id': 'road_trunk_fill_ramp',
2154
- 'type': 'line',
2155
- 'source': 'openmaptiles',
2156
- 'source-layer': 'transportation',
2157
- 'minzoom': 12,
2158
- 'maxzoom': 24,
2159
- 'layout': {
2160
- 'line-cap': 'square',
2161
- 'line-join': 'round'
2162
- },
2163
- 'paint': {
2164
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2165
- 'line-width': {
2166
- 'stops': [
2167
- [12, 1],
2168
- [13, 1.5],
2169
- [14, 2],
2170
- [15, 3],
2171
- [16, 6],
2172
- [17, 8]
2173
- ]
2174
- },
2175
- 'line-opacity': 1
2176
- },
2177
- 'filter': ['all', ['==', 'class', 'trunk'], ['==', 'ramp', 1]]
2178
- },
2179
- {
2180
- 'id': 'road_mot_fill_ramp',
2181
- 'type': 'line',
2182
- 'source': 'openmaptiles',
2183
- 'source-layer': 'transportation',
2184
- 'minzoom': 12,
2185
- 'maxzoom': 24,
2186
- 'layout': {
2187
- 'line-cap': 'round',
2188
- 'line-join': 'round'
2189
- },
2190
- 'paint': {
2191
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2192
- 'line-width': {
2193
- 'stops': [
2194
- [12, 1],
2195
- [13, 1.5],
2196
- [14, 2],
2197
- [15, 3],
2198
- [16, 6],
2199
- [17, 8]
2200
- ]
2201
- },
2202
- 'line-opacity': 1
2203
- },
2204
- 'filter': ['all', ['==', 'class', 'motorway'], ['==', 'ramp', 1]]
2205
- },
2206
- {
2207
- 'id': 'road_sec_fill_noramp',
2208
- 'type': 'line',
2209
- 'source': 'openmaptiles',
2210
- 'source-layer': 'transportation',
2211
- 'minzoom': 13,
2212
- 'maxzoom': 24,
2213
- 'layout': {
2214
- 'line-cap': 'round',
2215
- 'line-join': 'round'
2216
- },
2217
- 'paint': {
2218
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2219
- 'line-width': {
2220
- 'stops': [
2221
- [11, 2],
2222
- [13, 2],
2223
- [14, 3],
2224
- [15, 4],
2225
- [16, 6],
2226
- [17, 10],
2227
- [18, 14]
2228
- ]
2229
- },
2230
- 'line-opacity': 1
2231
- },
2232
- 'filter': ['all', ['in', 'class', 'secondary', 'tertiary'], ['!has', 'brunnel']]
2233
- },
2234
- {
2235
- 'id': 'road_pri_fill_noramp',
2236
- 'type': 'line',
2237
- 'source': 'openmaptiles',
2238
- 'source-layer': 'transportation',
2239
- 'minzoom': 10,
2240
- 'maxzoom': 24,
2241
- 'layout': {
2242
- 'line-cap': 'round',
2243
- 'line-join': 'round'
2244
- },
2245
- 'paint': {
2246
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2247
- 'line-width': {
2248
- 'stops': [
2249
- [10, 0.3],
2250
- [13, 2],
2251
- [14, 4],
2252
- [15, 6],
2253
- [16, 8],
2254
- [17, 12],
2255
- [18, 16]
2256
- ]
2257
- },
2258
- 'line-opacity': 1
2259
- },
2260
- 'filter': ['all', ['==', 'class', 'primary'], ['!=', 'ramp', 1], ['!has', 'brunnel']]
2261
- },
2262
- {
2263
- 'id': 'road_trunk_fill_noramp',
2264
- 'type': 'line',
2265
- 'source': 'openmaptiles',
2266
- 'source-layer': 'transportation',
2267
- 'minzoom': 10,
2268
- 'maxzoom': 24,
2269
- 'layout': {
2270
- 'line-cap': 'round',
2271
- 'line-join': 'round'
2272
- },
2273
- 'paint': {
2274
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2275
- 'line-width': {
2276
- 'stops': [
2277
- [11, 1],
2278
- [13, 2],
2279
- [14, 4],
2280
- [15, 6],
2281
- [16, 8],
2282
- [17, 12],
2283
- [18, 16]
2284
- ]
2285
- },
2286
- 'line-opacity': 1
2287
- },
2288
- 'filter': ['all', ['==', 'class', 'trunk'], ['!=', 'ramp', 1], ['!has', 'brunnel']]
2289
- },
2290
- {
2291
- 'id': 'road_mot_fill_noramp',
2292
- 'type': 'line',
2293
- 'source': 'openmaptiles',
2294
- 'source-layer': 'transportation',
2295
- 'minzoom': 10,
2296
- 'maxzoom': 24,
2297
- 'layout': {
2298
- 'line-cap': 'round',
2299
- 'line-join': 'round'
2300
- },
2301
- 'paint': {
2302
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2303
- 'line-width': {
2304
- 'stops': [
2305
- [10, 1],
2306
- [12, 2],
2307
- [13, 3],
2308
- [14, 5],
2309
- [15, 7],
2310
- [16, 9],
2311
- [17, 11],
2312
- [18, 20]
2313
- ]
2314
- },
2315
- 'line-opacity': 1
2316
- },
2317
- 'filter': ['all', ['==', 'class', 'motorway'], ['!=', 'ramp', 1], ['!has', 'brunnel']]
2318
- },
2319
- {
2320
- 'id': 'rail',
2321
- 'type': 'line',
2322
- 'source': 'openmaptiles',
2323
- 'source-layer': 'transportation',
2324
- 'minzoom': 13,
2325
- 'layout': {
2326
- 'line-join': 'round',
2327
- 'visibility': 'visible'
2328
- },
2329
- 'paint': {
2330
- 'line-color': dark ? 'rgb(153, 153, 169)' : 'rgb(153, 153, 169)',
2331
- 'line-width': {
2332
- 'base': 1.3,
2333
- 'stops': [
2334
- [13, 0.5],
2335
- [14, 1],
2336
- [15, 1],
2337
- [16, 3],
2338
- [21, 7]
2339
- ]
2340
- }
2341
- },
2342
- 'filter': ['all', ['==', 'class', 'rail'], ['!=', 'brunnel', 'tunnel']]
2343
- },
2344
- {
2345
- 'id': 'rail_dash',
2346
- 'type': 'line',
2347
- 'source': 'openmaptiles',
2348
- 'source-layer': 'transportation',
2349
- 'minzoom': 15,
2350
- 'layout': {
2351
- 'line-join': 'round',
2352
- 'visibility': 'visible'
2353
- },
2354
- 'paint': {
2355
- 'line-color': dark ? 'rgb(120, 120, 120)' : 'rgb(250, 249, 249)',
2356
- 'line-width': {
2357
- 'base': 1.3,
2358
- 'stops': [
2359
- [15, 0.5],
2360
- [16, 1],
2361
- [20, 5]
2362
- ]
2363
- }
2364
- },
2365
- 'filter': ['all', ['==', 'class', 'rail'], ['!=', 'brunnel', 'tunnel']]
2366
- },
2367
- {
2368
- 'id': 'bridge_service_case',
2369
- 'type': 'line',
2370
- 'source': 'openmaptiles',
2371
- 'source-layer': 'transportation',
2372
- 'minzoom': 15,
2373
- 'maxzoom': 24,
2374
- 'layout': {
2375
- 'line-cap': 'butt',
2376
- 'line-join': 'round'
2377
- },
2378
- 'paint': {
2379
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2380
- 'line-width': {
2381
- 'stops': [
2382
- [15, 1],
2383
- [16, 3],
2384
- [17, 6],
2385
- [18, 8]
2386
- ]
2387
- },
2388
- 'line-opacity': 1
2389
- },
2390
- 'filter': ['all', ['==', 'class', 'service'], ['==', 'brunnel', 'bridge']]
2391
- },
2392
- {
2393
- 'id': 'bridge_minor_case',
2394
- 'type': 'line',
2395
- 'source': 'openmaptiles',
2396
- 'source-layer': 'transportation',
2397
- 'minzoom': 13,
2398
- 'maxzoom': 24,
2399
- 'layout': {
2400
- 'line-cap': 'butt',
2401
- 'line-join': 'miter'
2402
- },
2403
- 'paint': {
2404
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2405
- 'line-width': {
2406
- 'stops': [
2407
- [11, 0.5],
2408
- [12, 0.5],
2409
- [14, 2],
2410
- [15, 3],
2411
- [16, 4.3],
2412
- [17, 10],
2413
- [18, 14]
2414
- ]
2415
- },
2416
- 'line-opacity': 1
2417
- },
2418
- 'filter': ['all', ['==', 'class', 'minor'], ['==', 'brunnel', 'bridge']]
2419
- },
2420
- {
2421
- 'id': 'bridge_sec_case',
2422
- 'type': 'line',
2423
- 'source': 'openmaptiles',
2424
- 'source-layer': 'transportation',
2425
- 'minzoom': 11,
2426
- 'maxzoom': 24,
2427
- 'layout': {
2428
- 'line-cap': 'butt',
2429
- 'line-join': 'miter'
2430
- },
2431
- 'paint': {
2432
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2433
- 'line-width': {
2434
- 'stops': [
2435
- [11, 0.5],
2436
- [12, 1.5],
2437
- [13, 3],
2438
- [14, 5],
2439
- [15, 6],
2440
- [16, 8],
2441
- [17, 12],
2442
- [18, 16]
2443
- ]
2444
- },
2445
- 'line-opacity': 1
2446
- },
2447
- 'filter': ['all', ['in', 'class', 'secondary', 'tertiary'], ['==', 'brunnel', 'bridge']]
2448
- },
2449
- {
2450
- 'id': 'bridge_pri_case',
2451
- 'type': 'line',
2452
- 'source': 'openmaptiles',
2453
- 'source-layer': 'transportation',
2454
- 'minzoom': 8,
2455
- 'maxzoom': 24,
2456
- 'layout': {
2457
- 'line-cap': 'butt',
2458
- 'line-join': 'round'
2459
- },
2460
- 'paint': {
2461
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2462
- 'line-width': {
2463
- 'stops': [
2464
- [6, 0.5],
2465
- [7, 0.8],
2466
- [8, 1],
2467
- [11, 3],
2468
- [13, 4],
2469
- [14, 6],
2470
- [15, 8],
2471
- [16, 10],
2472
- [17, 14],
2473
- [18, 18]
2474
- ]
2475
- },
2476
- 'line-opacity': {
2477
- 'stops': [
2478
- [5, 0.5],
2479
- [7, 1]
2480
- ]
2481
- }
2482
- },
2483
- 'filter': ['all', ['==', 'class', 'primary'], ['!=', 'ramp', 1], ['==', 'brunnel', 'bridge']]
2484
- },
2485
- {
2486
- 'id': 'bridge_trunk_case',
2487
- 'type': 'line',
2488
- 'source': 'openmaptiles',
2489
- 'source-layer': 'transportation',
2490
- 'minzoom': 5,
2491
- 'maxzoom': 24,
2492
- 'layout': {
2493
- 'line-cap': 'butt',
2494
- 'line-join': 'round',
2495
- 'visibility': 'visible'
2496
- },
2497
- 'paint': {
2498
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2499
- 'line-width': {
2500
- 'stops': [
2501
- [6, 0.5],
2502
- [7, 0.8],
2503
- [8, 1],
2504
- [11, 3],
2505
- [13, 4],
2506
- [14, 6],
2507
- [15, 8],
2508
- [16, 10],
2509
- [17, 14],
2510
- [18, 18]
2511
- ]
2512
- },
2513
- 'line-opacity': {
2514
- 'stops': [
2515
- [5, 0.5],
2516
- [7, 1]
2517
- ]
2518
- }
2519
- },
2520
- 'filter': ['all', ['==', 'class', 'trunk'], ['!=', 'ramp', 1], ['==', 'brunnel', 'bridge']]
2521
- },
2522
- {
2523
- 'id': 'bridge_mot_case',
2524
- 'type': 'line',
2525
- 'source': 'openmaptiles',
2526
- 'source-layer': 'transportation',
2527
- 'minzoom': 5,
2528
- 'maxzoom': 24,
2529
- 'layout': {
2530
- 'line-cap': 'butt',
2531
- 'line-join': 'round'
2532
- },
2533
- 'paint': {
2534
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2535
- 'line-width': {
2536
- 'stops': [
2537
- [6, 0.5],
2538
- [7, 0.8],
2539
- [8, 1],
2540
- [11, 3],
2541
- [12, 4],
2542
- [13, 5],
2543
- [14, 7],
2544
- [15, 9],
2545
- [16, 11],
2546
- [17, 13],
2547
- [18, 22]
2548
- ]
2549
- },
2550
- 'line-opacity': {
2551
- 'stops': [
2552
- [6, 0.5],
2553
- [7, 1]
2554
- ]
2555
- }
2556
- },
2557
- 'filter': ['all', ['==', 'class', 'motorway'], ['!=', 'ramp', 1], ['==', 'brunnel', 'bridge']]
2558
- },
2559
- {
2560
- 'id': 'bridge_path',
2561
- 'type': 'line',
2562
- 'source': 'openmaptiles',
2563
- 'source-layer': 'transportation',
2564
- 'minzoom': 15,
2565
- 'maxzoom': 24,
2566
- 'layout': {
2567
- 'line-cap': 'round',
2568
- 'line-join': 'round'
2569
- },
2570
- 'paint': {
2571
- 'line-color': dark ? 'rgb(80, 80, 80)' : 'rgb(210, 209, 209)',
2572
- 'line-width': {
2573
- 'stops': [
2574
- [15, 0.5],
2575
- [16, 1],
2576
- [18, 3]
2577
- ]
2578
- },
2579
- 'line-opacity': 1
2580
- },
2581
- 'filter': ['all', ['==', 'class', 'path'], ['==', 'brunnel', 'bridge']]
2582
- },
2583
- {
2584
- 'id': 'bridge_service_fill',
2585
- 'type': 'line',
2586
- 'source': 'openmaptiles',
2587
- 'source-layer': 'transportation',
2588
- 'minzoom': 15,
2589
- 'maxzoom': 24,
2590
- 'layout': {
2591
- 'line-cap': 'round',
2592
- 'line-join': 'round'
2593
- },
2594
- 'paint': {
2595
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2596
- 'line-width': {
2597
- 'stops': [
2598
- [15, 2],
2599
- [16, 2],
2600
- [17, 4],
2601
- [18, 6]
2602
- ]
2603
- },
2604
- 'line-opacity': 1
2605
- },
2606
- 'filter': ['all', ['==', 'class', 'service'], ['==', 'brunnel', 'bridge']]
2607
- },
2608
- {
2609
- 'id': 'bridge_minor_fill',
2610
- 'type': 'line',
2611
- 'source': 'openmaptiles',
2612
- 'source-layer': 'transportation',
2613
- 'minzoom': 15,
2614
- 'maxzoom': 24,
2615
- 'layout': {
2616
- 'line-cap': 'butt',
2617
- 'line-join': 'round'
2618
- },
2619
- 'paint': {
2620
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2621
- 'line-width': {
2622
- 'stops': [
2623
- [15, 3],
2624
- [16, 4],
2625
- [17, 8],
2626
- [18, 12]
2627
- ]
2628
- },
2629
- 'line-opacity': 1
2630
- },
2631
- 'filter': ['all', ['==', 'class', 'minor'], ['==', 'brunnel', 'bridge']]
2632
- },
2633
- {
2634
- 'id': 'bridge_sec_fill',
2635
- 'type': 'line',
2636
- 'source': 'openmaptiles',
2637
- 'source-layer': 'transportation',
2638
- 'minzoom': 13,
2639
- 'maxzoom': 24,
2640
- 'layout': {
2641
- 'line-cap': 'round',
2642
- 'line-join': 'round'
2643
- },
2644
- 'paint': {
2645
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2646
- 'line-width': {
2647
- 'stops': [
2648
- [11, 2],
2649
- [13, 2],
2650
- [14, 3],
2651
- [15, 4],
2652
- [16, 6],
2653
- [17, 10],
2654
- [18, 14]
2655
- ]
2656
- },
2657
- 'line-opacity': 1
2658
- },
2659
- 'filter': ['all', ['in', 'class', 'secondary', 'tertiary'], ['==', 'brunnel', 'bridge']]
2660
- },
2661
- {
2662
- 'id': 'bridge_pri_fill',
2663
- 'type': 'line',
2664
- 'source': 'openmaptiles',
2665
- 'source-layer': 'transportation',
2666
- 'minzoom': 11,
2667
- 'maxzoom': 24,
2668
- 'layout': {
2669
- 'line-cap': 'butt',
2670
- 'line-join': 'round'
2671
- },
2672
- 'paint': {
2673
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2674
- 'line-width': {
2675
- 'stops': [
2676
- [11, 1],
2677
- [13, 2],
2678
- [14, 4],
2679
- [15, 6],
2680
- [16, 8],
2681
- [17, 12],
2682
- [18, 16]
2683
- ]
2684
- },
2685
- 'line-opacity': 1
2686
- },
2687
- 'filter': ['all', ['==', 'class', 'primary'], ['!=', 'ramp', 1], ['==', 'brunnel', 'bridge']]
2688
- },
2689
- {
2690
- 'id': 'bridge_trunk_fill',
2691
- 'type': 'line',
2692
- 'source': 'openmaptiles',
2693
- 'source-layer': 'transportation',
2694
- 'minzoom': 11,
2695
- 'maxzoom': 24,
2696
- 'layout': {
2697
- 'line-cap': 'butt',
2698
- 'line-join': 'round',
2699
- 'visibility': 'visible'
2700
- },
2701
- 'paint': {
2702
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2703
- 'line-width': {
2704
- 'stops': [
2705
- [11, 1],
2706
- [13, 2],
2707
- [14, 4],
2708
- [15, 6],
2709
- [16, 8],
2710
- [17, 12],
2711
- [18, 16]
2712
- ]
2713
- },
2714
- 'line-opacity': 1
2715
- },
2716
- 'filter': ['all', ['==', 'class', 'trunk'], ['!=', 'ramp', 1], ['==', 'brunnel', 'bridge']]
2717
- },
2718
- {
2719
- 'id': 'bridge_mot_fill',
2720
- 'type': 'line',
2721
- 'source': 'openmaptiles',
2722
- 'source-layer': 'transportation',
2723
- 'minzoom': 10,
2724
- 'maxzoom': 24,
2725
- 'layout': {
2726
- 'line-cap': 'butt',
2727
- 'line-join': 'round'
2728
- },
2729
- 'paint': {
2730
- 'line-color': dark ? 'rgb(0, 0, 40)' : 'rgb(217, 217, 211)',
2731
- 'line-width': {
2732
- 'stops': [
2733
- [10, 1],
2734
- [12, 2],
2735
- [13, 3],
2736
- [14, 5],
2737
- [15, 7],
2738
- [16, 9],
2739
- [17, 11],
2740
- [18, 20]
2741
- ]
2742
- },
2743
- 'line-opacity': 1
2744
- },
2745
- 'filter': ['all', ['==', 'class', 'motorway'], ['!=', 'ramp', 1], ['==', 'brunnel', 'bridge']]
2746
- },
2747
- {
2748
- 'id': 'building',
2749
- 'type': 'fill',
2750
- 'source': 'openmaptiles',
2751
- 'source-layer': 'building',
2752
- 'layout': {
2753
- 'visibility': 'visible'
2754
- },
2755
- 'paint': {
2756
- 'fill-color': {
2757
- 'stops': [
2758
- [15, dark ? 'rgba(7, 72, 89, 1)' : 'rgba(255, 255, 255, 1)'],
2759
- [16, dark ? 'rgba(7, 72, 89, 1)' : 'rgba(152, 145, 123, 0.18)']
2760
- ]
2761
- },
2762
- 'fill-antialias': true
2763
- }
2764
- },
2765
- {
2766
- 'id': 'building-top',
2767
- 'type': 'fill',
2768
- 'source': 'openmaptiles',
2769
- 'source-layer': 'building',
2770
- 'layout': {
2771
- 'visibility': 'visible'
2772
- },
2773
- 'paint': {
2774
- 'fill-color': dark ? 'rgba(7, 72, 89, 1)' : 'rgba(164, 146, 127, 1)',
2775
- 'fill-opacity': {
2776
- 'base': 1,
2777
- 'stops': [
2778
- [13, 0],
2779
- [16, 1]
2780
- ]
2781
- },
2782
- 'fill-translate': {
2783
- 'base': 1,
2784
- 'stops': [
2785
- [14, [0, 0]],
2786
- [16, [-2, -2]]
2787
- ]
2788
- },
2789
- 'fill-outline-color': 'rgba(255, 255, 255, 1)'
2790
- }
2791
- },
2792
- {
2793
- 'id': 'boundary_country_outline',
2794
- 'type': 'line',
2795
- 'source': 'openmaptiles',
2796
- 'source-layer': 'boundary',
2797
- 'minzoom': 6,
2798
- 'maxzoom': 24,
2799
- 'layout': {
2800
- 'line-cap': 'round',
2801
- 'line-join': 'round',
2802
- 'visibility': 'visible'
2803
- },
2804
- 'paint': {
2805
- 'line-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgba(255, 255, 255, 0.7)',
2806
- 'line-width': 4,
2807
- 'line-offset': 0,
2808
- 'line-opacity': 0.5
2809
- },
2810
- 'filter': ['all', ['==', 'admin_level', 2], ['==', 'maritime', 0], ['==', 'disputed', 0]]
2811
- },
2812
- {
2813
- 'id': 'boundary_country_inner_z0-4',
2814
- 'type': 'line',
2815
- 'source': 'openmaptiles',
2816
- 'source-layer': 'boundary',
2817
- 'minzoom': 0,
2818
- 'maxzoom': 5,
2819
- 'layout': {
2820
- 'line-cap': 'round',
2821
- 'line-join': 'round',
2822
- 'visibility': 'visible'
2823
- },
2824
- 'paint': {
2825
- 'line-color': {
2826
- 'stops': [
2827
- [4, dark ? 'rgba(68, 73, 76, 0.8)' : 'rgba(151, 151, 151, 0.3)'],
2828
- [5, dark ? 'rgba(163, 168, 173, 0.6)' : 'rgba(151, 151, 151, 0.51)'],
2829
- [6, dark ? 'rgba(163, 168, 173, 0.6)' : 'rgba(151, 151, 151, 0.5)']
2830
- ]
2831
- },
2832
- 'line-width': {
2833
- 'stops': [
2834
- [3, 1],
2835
- [6, 1.5]
2836
- ]
2837
- },
2838
- 'line-offset': 0,
2839
- 'line-opacity': 1
2840
- },
2841
- 'filter': [
2842
- 'all',
2843
- ['==', 'admin_level', 2],
2844
- ['==', 'maritime', 0],
2845
- ['!has', 'claimed_by'],
2846
- ['==', 'disputed', 0]
2847
- ]
2848
- },
2849
- {
2850
- 'id': 'boundary_country_inner_z5-',
2851
- 'type': 'line',
2852
- 'source': 'openmaptiles',
2853
- 'source-layer': 'boundary',
2854
- 'minzoom': 5,
2855
- 'layout': {
2856
- 'line-cap': 'round',
2857
- 'line-join': 'round',
2858
- 'visibility': 'visible'
2859
- },
2860
- 'paint': {
2861
- 'line-color': {
2862
- 'stops': [
2863
- [4, dark ? 'rgba(101, 106, 110, 0.72)' : 'rgba(127, 127, 127, 0.5)'],
2864
- [5, dark ? 'rgba(131, 136, 142, 0.6)' : 'rgba(127, 127, 127, 0.5)'],
2865
- [6, dark ? 'rgba(163, 168, 174, 0.8)' : 'rgba(127, 127, 127, 0.71)']
2866
- ]
2867
- },
2868
- 'line-width': {
2869
- 'stops': [
2870
- [3, 1],
2871
- [6, 1.5]
2872
- ]
2873
- },
2874
- 'line-offset': 0,
2875
- 'line-opacity': 1
2876
- },
2877
- 'filter': ['all', ['==', 'admin_level', 2], ['==', 'maritime', 0], ['==', 'disputed', 0]]
2878
- },
2879
- {
2880
- 'id': 'boundary_2_disputed',
2881
- 'type': 'line',
2882
- 'source': 'openmaptiles',
2883
- 'source-layer': 'boundary',
2884
- 'minzoom': 0.0,
2885
- 'layout': {
2886
- 'line-cap': 'round',
2887
- 'line-join': 'round',
2888
- 'visibility': 'visible'
2889
- },
2890
- 'paint': {
2891
- 'line-color': {
2892
- 'stops': [
2893
- [4, dark ? 'rgba(101, 106, 110, 0.72)' : 'rgba(127, 127, 127, 0.5)'],
2894
- [5, dark ? 'rgba(131, 136, 142, 0.6)' : 'rgba(127, 127, 127, 0.5)'],
2895
- [6, dark ? 'rgba(163, 168, 174, 0.8)' : 'rgba(127, 127, 127, 0.71)']
2896
- ]
2897
- },
2898
- 'line-width': {
2899
- 'base': 1,
2900
- 'stops': [
2901
- [3, 0.3],
2902
- [5, 1.2],
2903
- [12, 2]
2904
- ]
2905
- },
2906
- 'line-opacity': 1,
2907
- 'line-dasharray': [4, 3]
2908
- },
2909
- 'metadata': {},
2910
- 'filter': ['all', ['==', 'admin_level', 2], ['==', 'disputed', 1], ['==', 'maritime', 0]]
2911
- },
2912
- {
2913
- 'id': 'watername_ocean',
2914
- 'type': 'symbol',
2915
- 'source': 'openmaptiles',
2916
- 'source-layer': 'water_name',
2917
- 'minzoom': 0,
2918
- 'maxzoom': 5,
2919
- 'layout': {
2920
- 'text-font': italicFonts,
2921
- 'text-size': {
2922
- 'stops': [
2923
- [0, 13],
2924
- [2, 14],
2925
- [4, 18]
2926
- ]
2927
- },
2928
- 'text-field': '{name}',
2929
- 'text-padding': 2,
2930
- 'text-max-width': 6,
2931
- 'symbol-placement': 'point',
2932
- 'text-line-height': 1.2,
2933
- 'text-allow-overlap': false,
2934
- 'text-letter-spacing': 0.1,
2935
- 'text-pitch-alignment': 'auto',
2936
- 'text-ignore-placement': false,
2937
- 'text-rotation-alignment': 'auto'
2938
- },
2939
- 'paint': {
2940
- 'text-color': dark ? 'rgba(179, 179, 190, 1)' : 'rgba(98, 143, 211, 1)',
2941
- 'text-halo-blur': 0,
2942
- 'text-halo-color': dark ? 'rgb(10, 21, 40)' : 'rgba(255, 255, 255, 0.47)',
2943
- 'text-halo-width': 1
2944
- },
2945
- 'filter': ['all', ['has', 'name'], ['==', '$type', 'Point'], ['==', 'class', 'ocean']]
2946
- },
2947
- {
2948
- 'id': 'watername_sea',
2949
- 'type': 'symbol',
2950
- 'source': 'openmaptiles',
2951
- 'source-layer': 'water_name',
2952
- 'minzoom': 5,
2953
- 'layout': {
2954
- 'text-font': italicFonts,
2955
- 'text-size': 12,
2956
- 'text-field': '{name}',
2957
- 'text-padding': 2,
2958
- 'text-max-width': 6,
2959
- 'symbol-placement': 'point',
2960
- 'text-line-height': 1.2,
2961
- 'text-allow-overlap': false,
2962
- 'text-letter-spacing': 0.1,
2963
- 'text-pitch-alignment': 'auto',
2964
- 'text-ignore-placement': false,
2965
- 'text-rotation-alignment': 'auto'
2966
- },
2967
- 'paint': {
2968
- 'text-color': dark ? 'rgba(179, 179, 190, 1)' : 'rgba(96, 131, 180, 1)',
2969
- 'text-halo-blur': 0,
2970
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgba(255, 255, 255, 1)',
2971
- 'text-halo-width': 1
2972
- },
2973
- 'filter': ['all', ['has', 'name'], ['==', '$type', 'Point'], ['==', 'class', 'sea']]
2974
- },
2975
- {
2976
- 'id': 'watername_lake',
2977
- 'type': 'symbol',
2978
- 'source': 'openmaptiles',
2979
- 'source-layer': 'water_name',
2980
- 'minzoom': 4,
2981
- 'layout': {
2982
- 'text-font': italicFonts,
2983
- 'text-size': {
2984
- 'stops': [
2985
- [13, 9],
2986
- [14, 10],
2987
- [15, 11],
2988
- [16, 12],
2989
- [17, 13]
2990
- ]
2991
- },
2992
- 'text-field': {
2993
- 'stops': [
2994
- [8, '{name_en}'],
2995
- [13, '{name}']
2996
- ]
2997
- },
2998
- 'text-padding': 2,
2999
- 'symbol-placement': 'point',
3000
- 'text-line-height': 1.2,
3001
- 'text-allow-overlap': false,
3002
- 'text-pitch-alignment': 'auto',
3003
- 'text-ignore-placement': false,
3004
- 'text-rotation-alignment': 'auto'
3005
- },
3006
- 'paint': {
3007
- 'text-color': dark ? 'rgba(210, 226, 247, 1)' : 'rgb(45, 113, 218)',
3008
- 'text-halo-blur': 1,
3009
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgb(240, 245, 252)',
3010
- 'text-halo-width': 1
3011
- },
3012
- 'filter': ['all', ['has', 'name'], ['==', '$type', 'Point'], ['==', 'class', 'lake']]
3013
- },
3014
- {
3015
- 'id': 'watername_lake_line',
3016
- 'type': 'symbol',
3017
- 'source': 'openmaptiles',
3018
- 'source-layer': 'water_name',
3019
- 'layout': {
3020
- 'text-font': italicFonts,
3021
- 'text-size': {
3022
- 'stops': [
3023
- [13, 9],
3024
- [14, 10],
3025
- [15, 11],
3026
- [16, 12],
3027
- [17, 13]
3028
- ]
3029
- },
3030
- 'text-field': {
3031
- 'stops': [
3032
- [8, '{name_en}'],
3033
- [13, '{name}']
3034
- ]
3035
- },
3036
- 'symbol-spacing': 350,
3037
- 'symbol-placement': 'line',
3038
- 'text-line-height': 1.2,
3039
- 'text-pitch-alignment': 'auto',
3040
- 'text-rotation-alignment': 'auto'
3041
- },
3042
- 'paint': {
3043
- 'text-color': dark ? 'rgba(129, 173, 235, 1)' : 'rgb(45, 113, 218)',
3044
- 'text-halo-blur': 1,
3045
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgb(240, 245, 252)',
3046
- 'text-halo-width': 1
3047
- },
3048
- 'filter': ['all', ['has', 'name'], ['==', '$type', 'LineString']]
3049
- },
3050
- {
3051
- 'id': 'park-label',
3052
- 'type': 'symbol',
3053
- 'source': 'openmaptiles',
3054
- 'source-layer': 'park',
3055
- 'minzoom': 0,
3056
- 'layout': {
3057
- 'text-font': regularFonts,
3058
- 'text-size': {
3059
- 'base': 1.2,
3060
- 'stops': [
3061
- [12, 10],
3062
- [15, 14]
3063
- ]
3064
- },
3065
- 'text-field': '{name:latin}\n{name:nonlatin}',
3066
- 'visibility': 'visible',
3067
- 'text-max-width': 9,
3068
- 'text-transform': 'none',
3069
- 'text-allow-overlap': false,
3070
- 'text-letter-spacing': 0.1,
3071
- 'text-ignore-placement': false
3072
- },
3073
- 'paint': {
3074
- 'text-color': dark ? 'rgba(40, 191, 102, 1)' : 'rgba(29, 176, 51, 1)',
3075
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 0.8)' : 'rgba(255,255,255,0.8)',
3076
- 'text-halo-width': 1.2
3077
- },
3078
- 'metadata': {
3079
- 'mapbox:group': '1444849242106.713'
3080
- },
3081
- 'filter': ['all', ['==', 'rank', 1], ['==', '$type', 'Point']]
3082
- },
3083
- {
3084
- 'id': 'place_hamlet',
3085
- 'type': 'symbol',
3086
- 'source': 'openmaptiles',
3087
- 'source-layer': 'place',
3088
- 'minzoom': 12,
3089
- 'maxzoom': 16,
3090
- 'layout': {
3091
- 'icon-size': 1,
3092
- 'text-font': regularFonts,
3093
- 'text-size': {
3094
- 'stops': [
3095
- [13, 8],
3096
- [14, 10],
3097
- [16, 11]
3098
- ]
3099
- },
3100
- 'icon-image': '',
3101
- 'text-field': {
3102
- 'stops': [
3103
- [8, '{name_en}'],
3104
- [14, '{name}']
3105
- ]
3106
- },
3107
- 'icon-offset': [16, 0],
3108
- 'text-anchor': 'center',
3109
- 'text-offset': [0.2, 0.2],
3110
- 'text-max-width': 10,
3111
- 'text-transform': {
3112
- 'stops': [
3113
- [12, 'none'],
3114
- [14, 'uppercase']
3115
- ]
3116
- },
3117
- 'text-keep-upright': true
3118
- },
3119
- 'paint': {
3120
- 'icon-color': dark ? 'rgb(30, 40, 46)' : 'rgb(57, 74, 86)',
3121
- 'text-color': dark ? 'rgba(211, 211, 211, 1)' : 'rgb(57, 74, 86)',
3122
- 'text-halo-color': dark ? 'rgba(32, 32, 32, 1)' : 'rgb(219, 225, 230)',
3123
- 'text-halo-width': 1,
3124
- 'icon-translate-anchor': 'map'
3125
- },
3126
- 'filter': ['any', ['==', 'class', 'neighbourhood'], ['==', 'class', 'hamlet']]
3127
- },
3128
- {
3129
- 'id': 'place_suburbs',
3130
- 'type': 'symbol',
3131
- 'source': 'openmaptiles',
3132
- 'source-layer': 'place',
3133
- 'minzoom': 12,
3134
- 'maxzoom': 16,
3135
- 'layout': {
3136
- 'icon-size': 1,
3137
- 'text-font': regularFonts,
3138
- 'text-size': {
3139
- 'stops': [
3140
- [12, 9],
3141
- [13, 10],
3142
- [14, 11],
3143
- [15, 12],
3144
- [16, 13]
3145
- ]
3146
- },
3147
- 'icon-image': '',
3148
- 'text-field': {
3149
- 'stops': [
3150
- [8, '{name_en}'],
3151
- [13, '{name}']
3152
- ]
3153
- },
3154
- 'icon-offset': [16, 0],
3155
- 'text-anchor': 'center',
3156
- 'text-offset': [0.2, 0.2],
3157
- 'text-max-width': 10,
3158
- 'text-transform': {
3159
- 'stops': [
3160
- [8, 'none'],
3161
- [12, 'uppercase']
3162
- ]
3163
- },
3164
- 'text-keep-upright': true
3165
- },
3166
- 'paint': {
3167
- 'icon-color': dark ? 'rgb(30, 40, 46)' : 'rgb(57, 74, 86)',
3168
- 'text-color': dark ? 'rgba(218, 218, 218, 1)' : 'rgb(57, 74, 86)',
3169
- 'text-halo-color': dark ? 'rgba(53, 53, 53, 1)' : 'rgba(255, 255, 255, 1)',
3170
- 'text-halo-width': 1,
3171
- 'icon-translate-anchor': 'map'
3172
- },
3173
- 'filter': ['all', ['==', 'class', 'suburb']]
3174
- },
3175
- {
3176
- 'id': 'place_villages',
3177
- 'type': 'symbol',
3178
- 'source': 'openmaptiles',
3179
- 'source-layer': 'place',
3180
- 'minzoom': 10,
3181
- 'maxzoom': 16,
3182
- 'layout': {
3183
- 'icon-size': 1,
3184
- 'text-font': boldFonts,
3185
- 'text-size': {
3186
- 'stops': [
3187
- [10, 9],
3188
- [12, 10],
3189
- [13, 11],
3190
- [14, 12],
3191
- [16, 13]
3192
- ]
3193
- },
3194
- 'icon-image': '',
3195
- 'text-field': {
3196
- 'stops': [
3197
- [8, '{name_en}'],
3198
- [13, '{name}']
3199
- ]
3200
- },
3201
- 'icon-offset': [16, 0],
3202
- 'text-anchor': 'center',
3203
- 'text-offset': [0.2, 0.2],
3204
- 'text-max-width': 10,
3205
- 'text-transform': 'none',
3206
- 'text-keep-upright': true
3207
- },
3208
- 'paint': {
3209
- 'icon-color': dark ? 'rgb(30, 40, 46)' : 'rgb(57, 74, 86)',
3210
- 'text-color': dark ? 'rgba(166, 166, 166, 1)' : 'rgb(57, 74, 86)',
3211
- 'text-halo-color': dark ? 'rgba(7, 7, 7, 1)' : 'rgba(255, 255, 255, 1)',
3212
- 'text-halo-width': 1,
3213
- 'icon-translate-anchor': 'map'
3214
- },
3215
- 'filter': ['all', ['==', 'class', 'village']]
3216
- },
3217
- {
3218
- 'id': 'place_town',
3219
- 'type': 'symbol',
3220
- 'source': 'openmaptiles',
3221
- 'source-layer': 'place',
3222
- 'minzoom': 8,
3223
- 'maxzoom': 14,
3224
- 'layout': {
3225
- 'icon-size': 1,
3226
- 'text-font': boldFonts,
3227
- 'text-size': {
3228
- 'stops': [
3229
- [8, 10],
3230
- [9, 10],
3231
- [10, 11],
3232
- [13, 14],
3233
- [14, 15]
3234
- ]
3235
- },
3236
- 'icon-image': '',
3237
- 'text-field': {
3238
- 'stops': [
3239
- [8, '{name_en}'],
3240
- [13, '{name}']
3241
- ]
3242
- },
3243
- 'icon-offset': [16, 0],
3244
- 'text-anchor': 'center',
3245
- 'text-offset': [0.2, 0.2],
3246
- 'text-max-width': 10,
3247
- 'text-transform': 'none',
3248
- 'text-keep-upright': true
3249
- },
3250
- 'paint': {
3251
- 'icon-color': dark ? 'rgba(191, 191, 191, 1)' : 'rgb(57, 74, 86)',
3252
- 'text-color': dark ? 'rgba(195, 195, 195, 1)' : 'rgb(57, 74, 86)',
3253
- 'text-halo-color': dark ? 'rgba(53, 53, 53, 1)' : 'rgba(255, 255, 255, 1)',
3254
- 'text-halo-width': 1,
3255
- 'icon-translate-anchor': 'map'
3256
- },
3257
- 'filter': ['all', ['==', 'class', 'town']]
3258
- },
3259
- {
3260
- 'id': 'place_country_2',
3261
- 'type': 'symbol',
3262
- 'source': 'openmaptiles',
3263
- 'source-layer': 'place',
3264
- 'minzoom': 3,
3265
- 'maxzoom': 10,
3266
- 'layout': {
3267
- 'text-font': boldFonts,
3268
- 'text-size': {
3269
- 'stops': [
3270
- [3, 10],
3271
- [5, 11],
3272
- [6, 12],
3273
- [7, 13],
3274
- [8, 14]
3275
- ]
3276
- },
3277
- 'text-field': '{name_en}',
3278
- 'text-transform': 'sentencecase'
3279
- },
3280
- 'paint': {
3281
- 'text-color': {
3282
- 'stops': [
3283
- [3, dark ? 'rgba(179, 179, 190, 1)' : 'rgb(101, 106, 110)'],
3284
- [5, dark ? 'rgba(179, 179, 190, 1)' : 'rgb(127, 129, 131)'],
3285
- [6, dark ? 'rgba(179, 179, 190, 1)' : 'rgba(131, 131, 131, 1)']
3286
- ]
3287
- },
3288
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgba(255, 255, 255, 1)',
3289
- 'text-halo-width': 1
3290
- },
3291
- 'filter': ['all', ['==', 'class', 'country'], ['>=', 'rank', 3], ['has', 'iso_a2']]
3292
- },
3293
- {
3294
- 'id': 'place_country_1',
3295
- 'type': 'symbol',
3296
- 'source': 'openmaptiles',
3297
- 'source-layer': 'place',
3298
- 'minzoom': 2,
3299
- 'maxzoom': 7,
3300
- 'layout': {
3301
- 'text-font': boldFonts,
3302
- 'text-size': {
3303
- 'stops': [
3304
- [3, 11],
3305
- [4, 12],
3306
- [5, 13],
3307
- [6, 14]
3308
- ]
3309
- },
3310
- 'text-field': '{name_en}',
3311
- 'text-max-width': {
3312
- 'stops': [
3313
- [2, 6],
3314
- [3, 6],
3315
- [4, 9],
3316
- [5, 12]
3317
- ]
3318
- },
3319
- 'text-transform': 'sentencecase'
3320
- },
3321
- 'paint': {
3322
- 'text-color': {
3323
- 'stops': [
3324
- [3, dark ? 'rgba(179, 179, 190, 1)' : 'rgba(114, 114, 114, 1)'],
3325
- [5, dark ? 'rgba(179, 179, 190, 1)' : 'rgba(116, 116, 116, 1)'],
3326
- [6, dark ? 'rgba(179, 179, 190, 1)' : 'rgba(116, 116, 116, 1)']
3327
- ]
3328
- },
3329
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgba(255, 255, 255, 1)',
3330
- 'text-halo-width': 1
3331
- },
3332
- 'filter': ['all', ['==', 'class', 'country'], ['<=', 'rank', 2]]
3333
- },
3334
- {
3335
- 'id': 'place_state',
3336
- 'type': 'symbol',
3337
- 'source': 'openmaptiles',
3338
- 'source-layer': 'place',
3339
- 'minzoom': 5,
3340
- 'maxzoom': 10,
3341
- 'layout': {
3342
- 'text-font': boldFonts,
3343
- 'text-size': {
3344
- 'stops': [
3345
- [5, 12],
3346
- [7, 14]
3347
- ]
3348
- },
3349
- 'text-field': '{name_en}',
3350
- 'text-max-width': 9,
3351
- 'text-transform': 'sentencecase'
3352
- },
3353
- 'paint': {
3354
- 'text-color': dark ? 'rgba(179, 179, 190, 1)' : 'rgb(116, 119, 122)',
3355
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgb(216, 238, 215)',
3356
- 'text-halo-width': 1
3357
- },
3358
- 'filter': ['all', ['==', 'class', 'state'], ['<=', 'rank', 4]]
3359
- },
3360
- {
3361
- 'id': 'place_continent',
3362
- 'type': 'symbol',
3363
- 'source': 'openmaptiles',
3364
- 'source-layer': 'place',
3365
- 'minzoom': 0,
3366
- 'maxzoom': 2,
3367
- 'layout': {
3368
- 'text-font': boldFonts,
3369
- 'text-size': 14,
3370
- 'text-field': '{name_en}',
3371
- 'text-justify': 'center',
3372
- 'text-max-width': 9,
3373
- 'text-transform': 'uppercase',
3374
- 'text-keep-upright': false,
3375
- 'text-letter-spacing': 0.1
3376
- },
3377
- 'paint': {
3378
- 'text-color': dark ? 'rgba(209, 209, 209, 1)' : 'rgb(57, 74, 86)',
3379
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgba(255, 255, 255, 1)',
3380
- 'text-halo-width': 1
3381
- },
3382
- 'filter': ['all', ['==', 'class', 'continent']]
3383
- },
3384
- {
3385
- 'id': 'place_city_r6',
3386
- 'type': 'symbol',
3387
- 'source': 'openmaptiles',
3388
- 'source-layer': 'place',
3389
- 'minzoom': 8,
3390
- 'maxzoom': 15,
3391
- 'layout': {
3392
- 'icon-size': 1,
3393
- 'text-font': boldFonts,
3394
- 'text-size': {
3395
- 'stops': [
3396
- [8, 12],
3397
- [9, 13],
3398
- [10, 14],
3399
- [13, 17],
3400
- [14, 20]
3401
- ]
3402
- },
3403
- 'icon-image': '',
3404
- 'text-field': {
3405
- 'stops': [
3406
- [8, '{name_en}'],
3407
- [13, '{name}']
3408
- ]
3409
- },
3410
- 'icon-offset': [16, 0],
3411
- 'text-anchor': 'center',
3412
- 'text-offset': [0.2, 0.2],
3413
- 'text-max-width': 10,
3414
- 'text-transform': 'uppercase',
3415
- 'text-keep-upright': true
3416
- },
3417
- 'paint': {
3418
- 'icon-color': dark ? 'rgb(30, 40, 46)' : 'rgb(57, 74, 86)',
3419
- 'text-color': dark ? 'rgba(217, 217, 217, 1)' : 'rgb(57, 74, 86)',
3420
- 'text-halo-color': dark ? 'rgba(36, 36, 36, 1)' : 'rgba(255, 255, 255, 1)',
3421
- 'text-halo-width': 1,
3422
- 'icon-translate-anchor': 'map'
3423
- },
3424
- 'filter': ['all', ['==', 'class', 'city'], ['>=', 'rank', 6]]
3425
- },
3426
- {
3427
- 'id': 'place_city_r5',
3428
- 'type': 'symbol',
3429
- 'source': 'openmaptiles',
3430
- 'source-layer': 'place',
3431
- 'minzoom': 8,
3432
- 'maxzoom': 15,
3433
- 'layout': {
3434
- 'icon-size': 1,
3435
- 'text-font': boldFonts,
3436
- 'text-size': {
3437
- 'stops': [
3438
- [8, 14],
3439
- [10, 16],
3440
- [13, 19],
3441
- [14, 22]
3442
- ]
3443
- },
3444
- 'icon-image': '',
3445
- 'text-field': {
3446
- 'stops': [
3447
- [8, '{name_en}'],
3448
- [13, '{name}']
3449
- ]
3450
- },
3451
- 'icon-offset': [16, 0],
3452
- 'text-anchor': 'center',
3453
- 'text-offset': [0.2, 0.2],
3454
- 'text-max-width': 10,
3455
- 'text-transform': 'uppercase',
3456
- 'text-keep-upright': true
3457
- },
3458
- 'paint': {
3459
- 'icon-color': dark ? 'rgb(30, 40, 46)' : 'rgb(57, 74, 86)',
3460
- 'text-color': dark ? 'rgba(209, 209, 209, 1)' : 'rgb(57, 74, 86)',
3461
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgba(255, 255, 255, 1)',
3462
- 'text-halo-width': 1,
3463
- 'icon-translate-anchor': 'map'
3464
- },
3465
- 'filter': ['all', ['==', 'class', 'city'], ['>=', 'rank', 0], ['<=', 'rank', 5]]
3466
- },
3467
- {
3468
- 'id': 'place_city_dot_r7',
3469
- 'type': 'symbol',
3470
- 'source': 'openmaptiles',
3471
- 'source-layer': 'place',
3472
- 'minzoom': 6,
3473
- 'maxzoom': 7,
3474
- 'layout': {
3475
- 'icon-size': 0.4,
3476
- 'text-font': boldFonts,
3477
- 'text-size': 12,
3478
- 'icon-image': 'circle-11',
3479
- 'text-field': '{name_en}',
3480
- 'icon-offset': [16, 5],
3481
- 'text-anchor': 'right',
3482
- 'text-offset': [0.2, 0.2],
3483
- 'text-max-width': 8,
3484
- 'text-keep-upright': true
3485
- },
3486
- 'paint': {
3487
- 'icon-color': dark ? 'rgb(30, 40, 46)' : 'rgb(57, 74, 86)',
3488
- 'text-color': dark ? 'rgba(193, 193, 193, 1)' : 'rgb(57, 74, 86)',
3489
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgba(255, 255, 255, 1)',
3490
- 'text-halo-width': 1,
3491
- 'icon-translate-anchor': 'map'
3492
- },
3493
- 'filter': ['all', ['==', 'class', 'city'], ['<=', 'rank', 7]]
3494
- },
3495
- {
3496
- 'id': 'place_city_dot_r4',
3497
- 'type': 'symbol',
3498
- 'source': 'openmaptiles',
3499
- 'source-layer': 'place',
3500
- 'minzoom': 5,
3501
- 'maxzoom': 7,
3502
- 'layout': {
3503
- 'icon-size': 0.4,
3504
- 'text-font': boldFonts,
3505
- 'text-size': 12,
3506
- 'icon-image': 'circle-11',
3507
- 'text-field': '{name_en}',
3508
- 'icon-offset': [16, 5],
3509
- 'text-anchor': 'right',
3510
- 'text-offset': [0.2, 0.2],
3511
- 'text-max-width': 8,
3512
- 'text-keep-upright': true
3513
- },
3514
- 'paint': {
3515
- 'icon-color': dark ? 'rgb(30, 40, 46)' : 'rgb(57, 74, 86)',
3516
- 'text-color': dark ? 'rgba(196, 200, 204, 1)' : 'rgb(57, 74, 86)',
3517
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgba(255, 255, 255, 1)',
3518
- 'text-halo-width': 1,
3519
- 'icon-translate-anchor': 'map'
3520
- },
3521
- 'filter': ['all', ['==', 'class', 'city'], ['<=', 'rank', 4]]
3522
- },
3523
- {
3524
- 'id': 'place_city_dot_r2',
3525
- 'type': 'symbol',
3526
- 'source': 'openmaptiles',
3527
- 'source-layer': 'place',
3528
- 'minzoom': 4,
3529
- 'maxzoom': 7,
3530
- 'layout': {
3531
- 'icon-size': 0.4,
3532
- 'text-font': boldFonts,
3533
- 'text-size': 12,
3534
- 'icon-image': 'circle-11',
3535
- 'text-field': '{name_en}',
3536
- 'icon-offset': [16, 5],
3537
- 'text-anchor': 'right',
3538
- 'text-offset': [0.2, 0.2],
3539
- 'text-max-width': 8,
3540
- 'text-keep-upright': true
3541
- },
3542
- 'paint': {
3543
- 'icon-color': dark ? 'rgb(30, 40, 46)' : 'rgb(57, 74, 86)',
3544
- 'text-color': dark ? 'rgba(196, 200, 204, 1)' : 'rgb(57, 74, 86)',
3545
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgba(255, 255, 255, 1)',
3546
- 'text-halo-width': 1,
3547
- 'icon-translate-anchor': 'map'
3548
- },
3549
- 'filter': ['all', ['==', 'class', 'city'], ['<=', 'rank', 2]]
3550
- },
3551
- {
3552
- 'id': 'place_city_dot_z7',
3553
- 'type': 'symbol',
3554
- 'source': 'openmaptiles',
3555
- 'source-layer': 'place',
3556
- 'minzoom': 7,
3557
- 'maxzoom': 8,
3558
- 'layout': {
3559
- 'icon-size': 0.4,
3560
- 'text-font': boldFonts,
3561
- 'text-size': 12,
3562
- 'icon-image': 'circle-11',
3563
- 'text-field': '{name_en}',
3564
- 'icon-offset': [16, 5],
3565
- 'text-anchor': 'right',
3566
- 'text-offset': [0.2, 0.2],
3567
- 'text-max-width': 8,
3568
- 'text-keep-upright': true
3569
- },
3570
- 'paint': {
3571
- 'icon-color': dark ? 'rgb(30, 40, 46)' : 'rgb(57, 74, 86)',
3572
- 'text-color': dark ? 'rgba(209, 209, 209, 1)' : 'rgb(57, 74, 86)',
3573
- 'text-halo-color': dark ? 'rgba(34, 34, 34, 1)' : 'rgba(255, 255, 255, 1)',
3574
- 'text-halo-width': 1,
3575
- 'icon-translate-anchor': 'map'
3576
- },
3577
- 'filter': ['all', ['!has', 'capital'], ['!in', 'class', 'country', 'state']]
3578
- },
3579
- {
3580
- 'id': 'place_capital_dot_z7',
3581
- 'type': 'symbol',
3582
- 'source': 'openmaptiles',
3583
- 'source-layer': 'place',
3584
- 'minzoom': 7,
3585
- 'maxzoom': 8,
3586
- 'layout': {
3587
- 'icon-size': 0.4,
3588
- 'text-font': boldFonts,
3589
- 'text-size': 12,
3590
- 'icon-image': 'circle-11',
3591
- 'text-field': '{name_en}',
3592
- 'icon-offset': [16, 5],
3593
- 'text-anchor': 'right',
3594
- 'text-offset': [0.2, 0.2],
3595
- 'text-max-width': 8,
3596
- 'text-transform': 'uppercase',
3597
- 'text-keep-upright': true
3598
- },
3599
- 'paint': {
3600
- 'icon-color': dark ? 'rgb(30, 40, 46)' : 'rgb(57, 74, 86)',
3601
- 'text-color': dark ? 'rgba(201, 201, 201, 1)' : 'rgb(57, 74, 86)',
3602
- 'text-halo-color': dark ? 'rgba(30, 30, 30, 1)' : 'rgba(255, 255, 255, 1)',
3603
- 'text-halo-width': 1,
3604
- 'icon-translate-anchor': 'map'
3605
- },
3606
- 'filter': ['all', ['>', 'capital', 0]]
3607
- },
3608
- {
3609
- 'id': 'poi_stadium',
3610
- 'type': 'symbol',
3611
- 'source': 'openmaptiles',
3612
- 'source-layer': 'poi',
3613
- 'minzoom': 15,
3614
- 'layout': {
3615
- 'text-font': boldFonts,
3616
- 'text-size': {
3617
- 'stops': [
3618
- [15, 8],
3619
- [17, 9],
3620
- [18, 10]
3621
- ]
3622
- },
3623
- 'text-field': '{name}',
3624
- 'text-transform': 'uppercase'
3625
- },
3626
- 'paint': {
3627
- 'text-color': dark ? 'rgb(48, 48, 48)' : 'rgb(82, 82, 82)',
3628
- 'text-halo-color': dark ? 'rgba(201, 201, 201, 0.15)' : 'rgba(234, 234, 234, 0.15)',
3629
- 'text-halo-width': 1
3630
- },
3631
- 'filter': ['all', ['in', 'class', 'stadium', 'cemetery', 'attraction'], ['<=', 'rank', 3]]
3632
- },
3633
- {
3634
- 'id': 'poi_park',
3635
- 'type': 'symbol',
3636
- 'source': 'openmaptiles',
3637
- 'source-layer': 'poi',
3638
- 'minzoom': 15,
3639
- 'layout': {
3640
- 'text-font': boldFonts,
3641
- 'text-size': {
3642
- 'stops': [
3643
- [15, 8],
3644
- [17, 9],
3645
- [18, 10]
3646
- ]
3647
- },
3648
- 'text-field': '{name}',
3649
- 'text-transform': 'uppercase'
3650
- },
3651
- 'paint': {
3652
- 'text-color': dark ? 'rgba(193, 242, 214, 1)' : 'rgb(82, 82, 82)',
3653
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 0.5)' : 'rgba(234, 234, 234, 0.15)',
3654
- 'text-halo-width': 1
3655
- },
3656
- 'filter': ['all', ['==', 'class', 'park']]
3657
- },
3658
- {
3659
- 'id': 'roadname_minor',
3660
- 'type': 'symbol',
3661
- 'source': 'openmaptiles',
3662
- 'source-layer': 'transportation_name',
3663
- 'minzoom': 16,
3664
- 'layout': {
3665
- 'text-font': regularFonts,
3666
- 'text-size': 9,
3667
- 'text-field': '{name}',
3668
- 'text-justify': 'center',
3669
- 'symbol-spacing': 200,
3670
- 'symbol-placement': 'line',
3671
- 'symbol-avoid-edges': false,
3672
- 'text-pitch-alignment': 'auto',
3673
- 'text-rotation-alignment': 'auto'
3674
- },
3675
- 'paint': {
3676
- 'text-color': dark ? 'rgba(255, 255, 255, 1)' : 'rgba(73, 73, 53, 1)',
3677
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgba(255, 255, 255, 1)',
3678
- 'text-halo-width': 1
3679
- },
3680
- 'filter': ['all', ['in', 'class', 'minor', 'service']]
3681
- },
3682
- {
3683
- 'id': 'roadname_sec',
3684
- 'type': 'symbol',
3685
- 'source': 'openmaptiles',
3686
- 'source-layer': 'transportation_name',
3687
- 'minzoom': 15,
3688
- 'layout': {
3689
- 'text-font': regularFonts,
3690
- 'text-size': {
3691
- 'stops': [
3692
- [15, 9],
3693
- [16, 11],
3694
- [18, 12]
3695
- ]
3696
- },
3697
- 'text-field': '{name}',
3698
- 'text-justify': 'center',
3699
- 'symbol-spacing': 200,
3700
- 'symbol-placement': 'line',
3701
- 'symbol-avoid-edges': false,
3702
- 'text-pitch-alignment': 'auto',
3703
- 'text-rotation-alignment': 'auto'
3704
- },
3705
- 'paint': {
3706
- 'text-color': dark ? 'rgba(255, 255, 255, 1)' : 'rgba(90, 92, 71, 1)',
3707
- 'text-halo-color': dark ? 'rgba(0, 0, 0, 1)' : 'rgba(255, 255, 255, 1)',
3708
- 'text-halo-width': 1
3709
- },
3710
- 'filter': ['all', ['in', 'class', 'secondary', 'tertiary']]
3711
- },
3712
- {
3713
- 'id': 'roadname_pri',
3714
- 'type': 'symbol',
3715
- 'source': 'openmaptiles',
3716
- 'source-layer': 'transportation_name',
3717
- 'minzoom': 14,
3718
- 'layout': {
3719
- 'text-font': regularFonts,
3720
- 'text-size': {
3721
- 'stops': [
3722
- [14, 10],
3723
- [15, 10],
3724
- [16, 11],
3725
- [18, 12]
3726
- ]
3727
- },
3728
- 'text-field': '{name}',
3729
- 'text-justify': 'center',
3730
- 'symbol-spacing': {
3731
- 'stops': [
3732
- [6, 200],
3733
- [16, 250]
3734
- ]
3735
- },
3736
- 'symbol-placement': 'line',
3737
- 'symbol-avoid-edges': false,
3738
- 'text-letter-spacing': {
3739
- 'stops': [
3740
- [14, 0],
3741
- [16, 0.2]
3742
- ]
3743
- },
3744
- 'text-pitch-alignment': 'auto',
3745
- 'text-rotation-alignment': 'auto'
3746
- },
3747
- 'paint': {
3748
- 'text-color': dark ? 'rgb(255, 255, 255)' : 'rgb(0, 0, 0)',
3749
- 'text-halo-color': dark ? 'rgb(0, 0, 0)' : 'rgb(255, 255, 255)',
3750
- 'text-halo-width': 1
3751
- },
3752
- 'filter': ['all', ['in', 'class', 'primary']]
3753
- },
3754
- {
3755
- 'id': 'roadname_major',
3756
- 'type': 'symbol',
3757
- 'source': 'openmaptiles',
3758
- 'source-layer': 'transportation_name',
3759
- 'minzoom': 13,
3760
- 'layout': {
3761
- 'text-font': regularFonts,
3762
- 'text-size': {
3763
- 'stops': [
3764
- [14, 10],
3765
- [15, 10],
3766
- [16, 11],
3767
- [18, 12]
3768
- ]
3769
- },
3770
- 'text-field': '{name}',
3771
- 'text-justify': 'center',
3772
- 'symbol-spacing': {
3773
- 'stops': [
3774
- [6, 200],
3775
- [16, 250]
3776
- ]
3777
- },
3778
- 'symbol-placement': 'line',
3779
- 'symbol-avoid-edges': false,
3780
- 'text-letter-spacing': {
3781
- 'stops': [
3782
- [13, 0],
3783
- [16, 0.2]
3784
- ]
3785
- },
3786
- 'text-pitch-alignment': 'auto',
3787
- 'text-rotation-alignment': 'auto'
3788
- },
3789
- 'paint': {
3790
- 'text-color': dark ? 'rgb(255, 255, 255)' : 'rgb(0, 0, 0)',
3791
- 'text-halo-color': dark ? 'rgb(0, 0, 0)' : 'rgb(255, 255, 255)',
3792
- 'text-halo-width': 1
3793
- },
3794
- 'filter': ['all', ['in', 'class', 'trunk', 'motorway']]
3795
- },
3796
- {
3797
- 'id': 'housenumber',
3798
- 'type': 'symbol',
3799
- 'source': 'openmaptiles',
3800
- 'source-layer': 'housenumber',
3801
- 'minzoom': 17,
3802
- 'maxzoom': 24,
3803
- 'layout': {
3804
- 'text-font': regularFonts,
3805
- 'text-size': {
3806
- 'stops': [
3807
- [17, 9],
3808
- [18, 11]
3809
- ]
3810
- },
3811
- 'text-field': '{housenumber}'
3812
- },
3813
- 'paint': {
3814
- 'text-color': dark ? 'rgb(69, 158, 124)' : 'rgba(255, 255, 255, 1)',
3815
- 'text-halo-color': dark ? 'rgba(201, 201, 201, 0.15)' : 'rgba(0, 0, 0, 0.15)',
3816
- 'text-halo-width': 0.75
3817
- }
3818
- }
3819
- ],
3820
- 'metadata': {
3821
- 'maptiler:copyright': 'This style was generated on MapTiler Cloud. Usage outside of MapTiler Cloud or MapTiler Server requires valid MapTiler Data package: https://www.maptiler.com/data/ -- please contact us.'
3822
- },
3823
- 'glyphs': `https://api.maptiler.com/fonts/{fontstack}/{range}.pbf?key=${key}`,
3824
- 'sprite': 'https://api.maptiler.com/maps/17edd8b7-a153-4528-b076-32743671d394/sprite',
3825
- 'bearing': 0,
3826
- 'pitch': 0,
3827
- 'center': [8.611423932402658, 46.76324669153797],
3828
- 'zoom': 6.680213932099212
3829
- });
3830
-
3831
929
  /**
3832
930
  * Copyright (c) Siemens 2016 - 2026
3833
931
  * SPDX-License-Identifier: MIT
@@ -3836,33 +934,39 @@ class SiMapComponent {
3836
934
  /**
3837
935
  * Points to be rendered on the map as features.
3838
936
  */
3839
- points = model(...(ngDevMode ? [undefined, { debugName: "points" }] : []));
937
+ points = model(/* @ts-ignore */
938
+ ...(ngDevMode ? [undefined, { debugName: "points" }] : /* istanbul ignore next */ []));
3840
939
  /**
3841
940
  * Payload of a geo-JSON object.
3842
941
  */
3843
- geoJson = input(...(ngDevMode ? [undefined, { debugName: "geoJson" }] : []));
942
+ geoJson = input(/* @ts-ignore */
943
+ ...(ngDevMode ? [undefined, { debugName: "geoJson" }] : /* istanbul ignore next */ []));
3844
944
  /**
3845
945
  * Callback function to add custom styling to the drawn geo-JSON features.
3846
946
  */
3847
- styleFunction = input(...(ngDevMode ? [undefined, { debugName: "styleFunction" }] : []));
947
+ styleFunction = input(/* @ts-ignore */
948
+ ...(ngDevMode ? [undefined, { debugName: "styleFunction" }] : /* istanbul ignore next */ []));
3848
949
  /**
3849
950
  * Projection format used to render the geo-JSON payload.
3850
951
  *
3851
952
  * @defaultValue 'EPSG:3857'
3852
953
  */
3853
- geoJsonProjection = input('EPSG:3857', ...(ngDevMode ? [{ debugName: "geoJsonProjection" }] : []));
954
+ geoJsonProjection = input('EPSG:3857', /* @ts-ignore */
955
+ ...(ngDevMode ? [{ debugName: "geoJsonProjection" }] : /* istanbul ignore next */ []));
3854
956
  /**
3855
957
  * Enable or disable animation of markers.
3856
958
  *
3857
959
  * @defaultValue false
3858
960
  */
3859
- markerAnimation = input(false, ...(ngDevMode ? [{ debugName: "markerAnimation" }] : []));
961
+ markerAnimation = input(false, /* @ts-ignore */
962
+ ...(ngDevMode ? [{ debugName: "markerAnimation" }] : /* istanbul ignore next */ []));
3860
963
  /**
3861
964
  * Enable or disable clustering of points on the map.
3862
965
  *
3863
966
  * @defaultValue false
3864
967
  */
3865
- cluster = input(false, ...(ngDevMode ? [{ debugName: "cluster" }] : []));
968
+ cluster = input(false, /* @ts-ignore */
969
+ ...(ngDevMode ? [{ debugName: "cluster" }] : /* istanbul ignore next */ []));
3866
970
  /**
3867
971
  * Defines which colors should be used when points are grouped. Grouping means
3868
972
  * that points are painted with their group color and they are displayed as
@@ -3870,154 +974,166 @@ class SiMapComponent {
3870
974
  *
3871
975
  * @defaultValue 'status'
3872
976
  */
3873
- groupColors = input('status', ...(ngDevMode ? [{ debugName: "groupColors" }] : []));
977
+ groupColors = input('status', /* @ts-ignore */
978
+ ...(ngDevMode ? [{ debugName: "groupColors" }] : /* istanbul ignore next */ []));
3874
979
  /**
3875
980
  * - **overlay**: Layer for popup element, an element to be displayed over the
3876
981
  * map and attached to a single map location.
3877
982
  * - **controls**: List of controls to activate for map, additional controls
3878
983
  * like full screen, etc. can be added here.
3879
984
  */
3880
- nativeProperties = input(...(ngDevMode ? [undefined, { debugName: "nativeProperties" }] : []));
985
+ nativeProperties = input(/* @ts-ignore */
986
+ ...(ngDevMode ? [undefined, { debugName: "nativeProperties" }] : /* istanbul ignore next */ []));
3881
987
  /**
3882
988
  * Type of background map, for example `'https://api.maptiler.com/maps/voyager/style.json?key=xxx'`
3883
989
  * (Token key is required). The styleJson defines the tiler source and the
3884
990
  * used styles for different layers, should only be used if the siemens
3885
991
  * default styles by using `maptilerKey` isn't good enough.
3886
992
  */
3887
- styleJson = input(...(ngDevMode ? [undefined, { debugName: "styleJson" }] : []));
993
+ styleJson = input(/* @ts-ignore */
994
+ ...(ngDevMode ? [undefined, { debugName: "styleJson" }] : /* istanbul ignore next */ []));
3888
995
  /**
3889
996
  * Option to switch on/off the display of tooltip while hovering over single
3890
997
  * point.
3891
998
  *
3892
999
  * @defaultValue false
3893
1000
  */
3894
- displayTooltipOnHover = input(false, ...(ngDevMode ? [{ debugName: "displayTooltipOnHover" }] : []));
1001
+ displayTooltipOnHover = input(false, /* @ts-ignore */
1002
+ ...(ngDevMode ? [{ debugName: "displayTooltipOnHover" }] : /* istanbul ignore next */ []));
3895
1003
  /**
3896
1004
  * Option to switch on/off the display of popover when clicked.
3897
1005
  * Default set to true (on).
3898
1006
  *
3899
1007
  * @defaultValue true
3900
1008
  */
3901
- displayPopoverOnClick = input(true, ...(ngDevMode ? [{ debugName: "displayPopoverOnClick" }] : []));
1009
+ displayPopoverOnClick = input(true, /* @ts-ignore */
1010
+ ...(ngDevMode ? [{ debugName: "displayPopoverOnClick" }] : /* istanbul ignore next */ []));
3902
1011
  /**
3903
1012
  * Option to switch on/off popover when hovered.
3904
1013
  * Default is set to false (off)
3905
1014
  *
3906
1015
  * @defaultValue false
3907
1016
  */
3908
- displayPopoverOnHover = input(false, ...(ngDevMode ? [{ debugName: "displayPopoverOnHover" }] : []));
1017
+ displayPopoverOnHover = input(false, /* @ts-ignore */
1018
+ ...(ngDevMode ? [{ debugName: "displayPopoverOnHover" }] : /* istanbul ignore next */ []));
3909
1019
  /**
3910
1020
  * Provide your key for MapTiler, this will use the default siemens element
3911
1021
  * styles which can be used in both light and dark mode. Shouldn't be used
3912
1022
  * together with styleJson.
3913
1023
  */
3914
- maptilerKey = input(...(ngDevMode ? [undefined, { debugName: "maptilerKey" }] : []));
1024
+ maptilerKey = input(/* @ts-ignore */
1025
+ ...(ngDevMode ? [undefined, { debugName: "maptilerKey" }] : /* istanbul ignore next */ []));
3915
1026
  /**
3916
1027
  * Option to switch on/off the display of tooltip while hovering over cluster.
3917
1028
  *
3918
1029
  * @defaultValue false
3919
1030
  */
3920
- displayTooltipOnClusterHover = input(false, ...(ngDevMode ? [{ debugName: "displayTooltipOnClusterHover" }] : []));
1031
+ displayTooltipOnClusterHover = input(false, /* @ts-ignore */
1032
+ ...(ngDevMode ? [{ debugName: "displayTooltipOnClusterHover" }] : /* istanbul ignore next */ []));
3921
1033
  /**
3922
1034
  * Defines range in which points are clustered. In pixels.
3923
1035
  *
3924
1036
  * @defaultValue DEFAULT_CLUSTER_DISTANCE
3925
1037
  */
3926
- clusterDistance = input(DEFAULT_CLUSTER_DISTANCE, ...(ngDevMode ? [{ debugName: "clusterDistance" }] : []));
1038
+ clusterDistance = input(DEFAULT_CLUSTER_DISTANCE, /* @ts-ignore */
1039
+ ...(ngDevMode ? [{ debugName: "clusterDistance" }] : /* istanbul ignore next */ []));
3927
1040
  /**
3928
1041
  * Zoom level when calling the `select()` method on the component.
3929
1042
  * Defaults to 10.
3930
1043
  *
3931
1044
  * @defaultValue DEFAULT_FEATURE_SELECT_ZOOM
3932
1045
  */
3933
- featureSelectZoom = input(DEFAULT_FEATURE_SELECT_ZOOM, ...(ngDevMode ? [{ debugName: "featureSelectZoom" }] : []));
1046
+ featureSelectZoom = input(DEFAULT_FEATURE_SELECT_ZOOM, /* @ts-ignore */
1047
+ ...(ngDevMode ? [{ debugName: "featureSelectZoom" }] : /* istanbul ignore next */ []));
3934
1048
  /**
3935
1049
  * Max zoom level which is used when clicking on feature on the map.
3936
1050
  * Defaults to 15.
3937
1051
  *
3938
1052
  * @defaultValue DEFAULT_FEATURE_CLICK_ZOOM
3939
1053
  */
3940
- featureClickZoom = input(DEFAULT_FEATURE_CLICK_ZOOM, ...(ngDevMode ? [{ debugName: "featureClickZoom" }] : []));
1054
+ featureClickZoom = input(DEFAULT_FEATURE_CLICK_ZOOM, /* @ts-ignore */
1055
+ ...(ngDevMode ? [{ debugName: "featureClickZoom" }] : /* istanbul ignore next */ []));
3941
1056
  /**
3942
1057
  * Max zoom level for clicking on a cluster on the map. Defaults to 15.
3943
1058
  *
3944
1059
  * @defaultValue DEFAULT_CLUSTER_CLICK_ZOOM
3945
1060
  */
3946
- clusterClickZoom = input(DEFAULT_CLUSTER_CLICK_ZOOM, ...(ngDevMode ? [{ debugName: "clusterClickZoom" }] : []));
1061
+ clusterClickZoom = input(DEFAULT_CLUSTER_CLICK_ZOOM, /* @ts-ignore */
1062
+ ...(ngDevMode ? [{ debugName: "clusterClickZoom" }] : /* istanbul ignore next */ []));
3947
1063
  /**
3948
1064
  * Max zoom level on load or when clicking the reset button. Defaults to 5.
3949
1065
  *
3950
1066
  * @defaultValue DEFAULT_GLOBAL_ZOOM
3951
1067
  */
3952
- globalZoom = input(DEFAULT_GLOBAL_ZOOM, ...(ngDevMode ? [{ debugName: "globalZoom" }] : []));
1068
+ globalZoom = input(DEFAULT_GLOBAL_ZOOM, /* @ts-ignore */
1069
+ ...(ngDevMode ? [{ debugName: "globalZoom" }] : /* istanbul ignore next */ []));
3953
1070
  /**
3954
1071
  * When enabled, features will be automatically zoom to on click.
3955
1072
  *
3956
1073
  * @defaultValue false
3957
1074
  */
3958
- autoZoomFeatureClick = input(false, ...(ngDevMode ? [{ debugName: "autoZoomFeatureClick" }] : []));
1075
+ autoZoomFeatureClick = input(false, /* @ts-ignore */
1076
+ ...(ngDevMode ? [{ debugName: "autoZoomFeatureClick" }] : /* istanbul ignore next */ []));
3959
1077
  /**
3960
1078
  * When disabled, clusters will no longer automatically be zoomed to on click.
3961
1079
  *
3962
1080
  * @defaultValue true
3963
1081
  */
3964
- autoZoomClusterClick = input(true, ...(ngDevMode ? [{ debugName: "autoZoomClusterClick" }] : []));
1082
+ autoZoomClusterClick = input(true, /* @ts-ignore */
1083
+ ...(ngDevMode ? [{ debugName: "autoZoomClusterClick" }] : /* istanbul ignore next */ []));
3965
1084
  /**
3966
1085
  * Custom popover component
3967
1086
  */
3968
- popoverComponent = input(...(ngDevMode ? [undefined, { debugName: "popoverComponent" }] : []));
1087
+ popoverComponent = input(/* @ts-ignore */
1088
+ ...(ngDevMode ? [undefined, { debugName: "popoverComponent" }] : /* istanbul ignore next */ []));
3969
1089
  /**
3970
1090
  * Custom popover component for clustering
3971
1091
  */
3972
- clusterPopoverComponent = input(...(ngDevMode ? [undefined, { debugName: "clusterPopoverComponent" }] : []));
1092
+ clusterPopoverComponent = input(/* @ts-ignore */
1093
+ ...(ngDevMode ? [undefined, { debugName: "clusterPopoverComponent" }] : /* istanbul ignore next */ []));
3973
1094
  /**
3974
1095
  * Custom popover component
3975
1096
  */
3976
- popoverComponentProps = input(...(ngDevMode ? [undefined, { debugName: "popoverComponentProps" }] : []));
1097
+ popoverComponentProps = input(/* @ts-ignore */
1098
+ ...(ngDevMode ? [undefined, { debugName: "popoverComponentProps" }] : /* istanbul ignore next */ []));
3977
1099
  /**
3978
1100
  * Close the popover on click
3979
1101
  *
3980
1102
  * @defaultValue true
3981
1103
  */
3982
- popoverCloseOnClick = input(true, ...(ngDevMode ? [{ debugName: "popoverCloseOnClick" }] : []));
1104
+ popoverCloseOnClick = input(true, /* @ts-ignore */
1105
+ ...(ngDevMode ? [{ debugName: "popoverCloseOnClick" }] : /* istanbul ignore next */ []));
3983
1106
  /**
3984
1107
  * Padding (in pixels) applied to the map view when zooming to a cluster, preventing points from being clipped at the edges.
3985
1108
  * Specified as [top, right, bottom, left].
3986
1109
  *
3987
1110
  * @defaultValue [20, 20, 20, 20]
3988
1111
  */
3989
- fitClusterPadding = input([20, 20, 20, 20], ...(ngDevMode ? [{ debugName: "fitClusterPadding" }] : []));
1112
+ fitClusterPadding = input([20, 20, 20, 20], /* @ts-ignore */
1113
+ ...(ngDevMode ? [{ debugName: "fitClusterPadding" }] : /* istanbul ignore next */ []));
3990
1114
  /**
3991
1115
  * For Point geometry, padding (in pixels) to be cleared to fit the point inside the view after a click on it.
3992
1116
  * Values in the array are: [top, right, bottom, left].
3993
1117
  *
3994
1118
  * @defaultValue [20, 20, 20, 20]
3995
1119
  */
3996
- fitPointPadding = input([20, 20, 20, 20], ...(ngDevMode ? [{ debugName: "fitPointPadding" }] : []));
1120
+ fitPointPadding = input([20, 20, 20, 20], /* @ts-ignore */
1121
+ ...(ngDevMode ? [{ debugName: "fitPointPadding" }] : /* istanbul ignore next */ []));
3997
1122
  /**
3998
1123
  * For GeoJson, padding (in pixels) to be cleared to fit the GeoJson inside the view after a click on it.
3999
1124
  * Values in the array are: [top, right, bottom, left].
4000
1125
  *
4001
1126
  * @defaultValue [20, 20, 20, 20]
4002
1127
  */
4003
- fitGeoJsonPadding = input([20, 20, 20, 20], ...(ngDevMode ? [{ debugName: "fitGeoJsonPadding" }] : []));
4004
- /**
4005
- * Cutoff text for tooltips, when cluster combines more than 4 features
4006
- *
4007
- * @deprecated Use `SiMapTooltipComponent` instead to set the `moreText` input e.g. `<si-map ...><si-map-tooltip [moreText]="'KEY_MORE'" /></si-map>`.
4008
- *
4009
- * @defaultValue
4010
- * ```
4011
- * t(() => $localize`:@@SI_MAPS.TOOLTIP_MORE_TEXT:and {{length}} more...`)
4012
- * ```
4013
- */
4014
- moreText = input(t(() => $localize `:@@SI_MAPS.TOOLTIP_MORE_TEXT:and {{length}} more...`), ...(ngDevMode ? [{ debugName: "moreText" }] : []));
1128
+ fitGeoJsonPadding = input([20, 20, 20, 20], /* @ts-ignore */
1129
+ ...(ngDevMode ? [{ debugName: "fitGeoJsonPadding" }] : /* istanbul ignore next */ []));
4015
1130
  /**
4016
1131
  * Show multiple worlds, including points that cross the 180th meridian.
4017
1132
  *
4018
1133
  * @defaultValue true
4019
1134
  */
4020
- multiWorld = input(true, ...(ngDevMode ? [{ debugName: "multiWorld" }] : []));
1135
+ multiWorld = input(true, /* @ts-ignore */
1136
+ ...(ngDevMode ? [{ debugName: "multiWorld" }] : /* istanbul ignore next */ []));
4021
1137
  /**
4022
1138
  * Show the label permanently next to the point.
4023
1139
  * Normally the label is shown on hover or click.
@@ -4025,7 +1141,8 @@ class SiMapComponent {
4025
1141
  *
4026
1142
  * @defaultValue false
4027
1143
  */
4028
- alwaysShowLabels = input(false, ...(ngDevMode ? [{ debugName: "alwaysShowLabels" }] : []));
1144
+ alwaysShowLabels = input(false, /* @ts-ignore */
1145
+ ...(ngDevMode ? [{ debugName: "alwaysShowLabels" }] : /* istanbul ignore next */ []));
4029
1146
  /**
4030
1147
  * Maximum number of characters per line for always displayed labels of a point.
4031
1148
  * If the label exceeds this limit, it will be wrapped or trimmed.
@@ -4035,7 +1152,8 @@ class SiMapComponent {
4035
1152
  *
4036
1153
  * @defaultValue 20
4037
1154
  */
4038
- maxLabelLineLength = input(20, ...(ngDevMode ? [{ debugName: "maxLabelLineLength" }] : []));
1155
+ maxLabelLineLength = input(20, /* @ts-ignore */
1156
+ ...(ngDevMode ? [{ debugName: "maxLabelLineLength" }] : /* istanbul ignore next */ []));
4039
1157
  /**
4040
1158
  * Maximum number of lines for always displayed labels of a point.
4041
1159
  * If the label exceeds this limit, it will be trimmed.
@@ -4044,7 +1162,8 @@ class SiMapComponent {
4044
1162
  *
4045
1163
  * @defaultValue 3
4046
1164
  */
4047
- maxLabelLines = input(3, ...(ngDevMode ? [{ debugName: "maxLabelLines" }] : []));
1165
+ maxLabelLines = input(3, /* @ts-ignore */
1166
+ ...(ngDevMode ? [{ debugName: "maxLabelLines" }] : /* istanbul ignore next */ []));
4048
1167
  /**
4049
1168
  * Emitted when points on the map are selected or de-selected
4050
1169
  */
@@ -4053,14 +1172,17 @@ class SiMapComponent {
4053
1172
  * Emitted when the points are available as features. So consumers can call methods like `zoomToPoints()` on the actual point list.
4054
1173
  */
4055
1174
  pointsRefreshed = output();
4056
- popover = viewChild.required(SiMapPopoverComponent);
4057
- popoverElement = viewChild.required('popover', {
4058
- read: ElementRef
4059
- });
4060
- defaultTooltip = viewChild(SiMapTooltipComponent, ...(ngDevMode ? [{ debugName: "defaultTooltip" }] : []));
4061
- projectedTooltip = contentChild(SiMapTooltipComponent, ...(ngDevMode ? [{ debugName: "projectedTooltip" }] : []));
4062
- tooltip = computed(() => this.projectedTooltip() ?? this.defaultTooltip(), ...(ngDevMode ? [{ debugName: "tooltip" }] : []));
4063
- mapReference = viewChild.required('map');
1175
+ popover = viewChild.required(SiMapPopoverComponent, /* @ts-ignore */
1176
+ ...(ngDevMode ? [{ debugName: "popover" }] : /* istanbul ignore next */ []));
1177
+ popoverElement = viewChild.required('popover', { ...(ngDevMode ? { debugName: "popoverElement" } : /* istanbul ignore next */ {}), read: ElementRef });
1178
+ defaultTooltip = viewChild(SiMapTooltipComponent, /* @ts-ignore */
1179
+ ...(ngDevMode ? [{ debugName: "defaultTooltip" }] : /* istanbul ignore next */ []));
1180
+ projectedTooltip = contentChild(SiMapTooltipComponent, /* @ts-ignore */
1181
+ ...(ngDevMode ? [{ debugName: "projectedTooltip" }] : /* istanbul ignore next */ []));
1182
+ tooltip = computed(() => this.projectedTooltip() ?? this.defaultTooltip(), /* @ts-ignore */
1183
+ ...(ngDevMode ? [{ debugName: "tooltip" }] : /* istanbul ignore next */ []));
1184
+ mapReference = viewChild.required('map', /* @ts-ignore */
1185
+ ...(ngDevMode ? [{ debugName: "mapReference" }] : /* istanbul ignore next */ []));
4064
1186
  /** OpenLayers map instance. */
4065
1187
  map;
4066
1188
  tooltipOverlay;
@@ -4074,7 +1196,7 @@ class SiMapComponent {
4074
1196
  attributionsLabel = t(() => $localize `:@@SI_MAPS.ATTRIBUTIONS_BUTTON:Attributions`);
4075
1197
  zoomInLabel = t(() => $localize `:@@SI_MAPS.ZOOM_IN_BUTTON:Zoom in`);
4076
1198
  zoomOutLabel = t(() => $localize `:@@SI_MAPS.ZOOM_OUT_BUTTON:Zoom out`);
4077
- zoomToDefaultLabel = t(() => $localize `:@@SI_MAPS.ZOOM_TO_DEFAULT_BUTTON:Zoom to default view`);
1199
+ zoomToDefaultLabel = t(() => $localize `:@@SI_MAPS.ZOOM_TO_DEFAULT_BUTTON:Reset zoom`);
4078
1200
  clusterInteraction;
4079
1201
  selectedCluster;
4080
1202
  darkTheme = undefined;
@@ -4390,7 +1512,7 @@ class SiMapComponent {
4390
1512
  this.map.removeLayer(layer);
4391
1513
  }
4392
1514
  });
4393
- this.mapboxStyles(styleJson(key, dark));
1515
+ this.mapboxStyles(siMapStyle(key, dark));
4394
1516
  }
4395
1517
  }
4396
1518
  /**
@@ -4716,7 +1838,7 @@ class SiMapComponent {
4716
1838
  this.setPopOver(feature, zoom, event);
4717
1839
  }
4718
1840
  setPopOver(feature, zoom, event) {
4719
- const extraProperties = feature.getProperties().extraProps;
1841
+ const extraProperties = feature.getProperties().extraProperties;
4720
1842
  const geometry = feature?.getGeometry();
4721
1843
  /*If a Point geometry is present on top of a GeoJson layer, and when clicked on the point,
4722
1844
  "else if" statement will prevent repetition of the popover render and zoom method.*/
@@ -4823,13 +1945,13 @@ class SiMapComponent {
4823
1945
  // Remember the selected cluster to avoid showing the a tooltip for cluster which has an open popover.
4824
1946
  this.selectedCluster = cluster;
4825
1947
  }
4826
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4827
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.8", type: SiMapComponent, isStandalone: true, selector: "si-map", inputs: { points: { classPropertyName: "points", publicName: "points", isSignal: true, isRequired: false, transformFunction: null }, geoJson: { classPropertyName: "geoJson", publicName: "geoJson", isSignal: true, isRequired: false, transformFunction: null }, styleFunction: { classPropertyName: "styleFunction", publicName: "styleFunction", isSignal: true, isRequired: false, transformFunction: null }, geoJsonProjection: { classPropertyName: "geoJsonProjection", publicName: "geoJsonProjection", isSignal: true, isRequired: false, transformFunction: null }, markerAnimation: { classPropertyName: "markerAnimation", publicName: "markerAnimation", isSignal: true, isRequired: false, transformFunction: null }, cluster: { classPropertyName: "cluster", publicName: "cluster", isSignal: true, isRequired: false, transformFunction: null }, groupColors: { classPropertyName: "groupColors", publicName: "groupColors", isSignal: true, isRequired: false, transformFunction: null }, nativeProperties: { classPropertyName: "nativeProperties", publicName: "nativeProperties", isSignal: true, isRequired: false, transformFunction: null }, styleJson: { classPropertyName: "styleJson", publicName: "styleJson", isSignal: true, isRequired: false, transformFunction: null }, displayTooltipOnHover: { classPropertyName: "displayTooltipOnHover", publicName: "displayTooltipOnHover", isSignal: true, isRequired: false, transformFunction: null }, displayPopoverOnClick: { classPropertyName: "displayPopoverOnClick", publicName: "displayPopoverOnClick", isSignal: true, isRequired: false, transformFunction: null }, displayPopoverOnHover: { classPropertyName: "displayPopoverOnHover", publicName: "displayPopoverOnHover", isSignal: true, isRequired: false, transformFunction: null }, maptilerKey: { classPropertyName: "maptilerKey", publicName: "maptilerKey", isSignal: true, isRequired: false, transformFunction: null }, displayTooltipOnClusterHover: { classPropertyName: "displayTooltipOnClusterHover", publicName: "displayTooltipOnClusterHover", isSignal: true, isRequired: false, transformFunction: null }, clusterDistance: { classPropertyName: "clusterDistance", publicName: "clusterDistance", isSignal: true, isRequired: false, transformFunction: null }, featureSelectZoom: { classPropertyName: "featureSelectZoom", publicName: "featureSelectZoom", isSignal: true, isRequired: false, transformFunction: null }, featureClickZoom: { classPropertyName: "featureClickZoom", publicName: "featureClickZoom", isSignal: true, isRequired: false, transformFunction: null }, clusterClickZoom: { classPropertyName: "clusterClickZoom", publicName: "clusterClickZoom", isSignal: true, isRequired: false, transformFunction: null }, globalZoom: { classPropertyName: "globalZoom", publicName: "globalZoom", isSignal: true, isRequired: false, transformFunction: null }, autoZoomFeatureClick: { classPropertyName: "autoZoomFeatureClick", publicName: "autoZoomFeatureClick", isSignal: true, isRequired: false, transformFunction: null }, autoZoomClusterClick: { classPropertyName: "autoZoomClusterClick", publicName: "autoZoomClusterClick", isSignal: true, isRequired: false, transformFunction: null }, popoverComponent: { classPropertyName: "popoverComponent", publicName: "popoverComponent", isSignal: true, isRequired: false, transformFunction: null }, clusterPopoverComponent: { classPropertyName: "clusterPopoverComponent", publicName: "clusterPopoverComponent", isSignal: true, isRequired: false, transformFunction: null }, popoverComponentProps: { classPropertyName: "popoverComponentProps", publicName: "popoverComponentProps", isSignal: true, isRequired: false, transformFunction: null }, popoverCloseOnClick: { classPropertyName: "popoverCloseOnClick", publicName: "popoverCloseOnClick", isSignal: true, isRequired: false, transformFunction: null }, fitClusterPadding: { classPropertyName: "fitClusterPadding", publicName: "fitClusterPadding", isSignal: true, isRequired: false, transformFunction: null }, fitPointPadding: { classPropertyName: "fitPointPadding", publicName: "fitPointPadding", isSignal: true, isRequired: false, transformFunction: null }, fitGeoJsonPadding: { classPropertyName: "fitGeoJsonPadding", publicName: "fitGeoJsonPadding", isSignal: true, isRequired: false, transformFunction: null }, moreText: { classPropertyName: "moreText", publicName: "moreText", isSignal: true, isRequired: false, transformFunction: null }, multiWorld: { classPropertyName: "multiWorld", publicName: "multiWorld", isSignal: true, isRequired: false, transformFunction: null }, alwaysShowLabels: { classPropertyName: "alwaysShowLabels", publicName: "alwaysShowLabels", isSignal: true, isRequired: false, transformFunction: null }, maxLabelLineLength: { classPropertyName: "maxLabelLineLength", publicName: "maxLabelLineLength", isSignal: true, isRequired: false, transformFunction: null }, maxLabelLines: { classPropertyName: "maxLabelLines", publicName: "maxLabelLines", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { points: "pointsChange", pointsSelected: "pointsSelected", pointsRefreshed: "pointsRefreshed" }, host: { listeners: { "window:theme-switch": "onThemeSwitchInternal($event)" } }, providers: [MapService], queries: [{ propertyName: "projectedTooltip", first: true, predicate: SiMapTooltipComponent, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "popover", first: true, predicate: SiMapPopoverComponent, descendants: true, isSignal: true }, { propertyName: "popoverElement", first: true, predicate: ["popover"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "defaultTooltip", first: true, predicate: SiMapTooltipComponent, descendants: true, isSignal: true }, { propertyName: "mapReference", first: true, predicate: ["map"], descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: "<div #map class=\"map\"></div>\n<ng-content select=\"si-map-tooltip\">\n <si-map-tooltip [moreText]=\"moreText()\" />\n</ng-content>\n<si-map-popover #popover />\n", styles: [":host{display:block;inline-size:auto}.map{inline-size:100%;block-size:100%;z-index:-1}:host::ng-deep .ol-control{background-color:unset}:host::ng-deep .ol-control button{display:flex;align-items:center;justify-content:center;position:relative;background:var(--element-base-3);color:var(--element-action-secondary-text);margin:0;line-height:1;border-radius:0;inline-size:calc(1rem + 16px);block-size:calc(1rem + 16px);font-size:1.25rem;outline:none}:host::ng-deep .ol-control button:hover{color:var(--element-action-secondary-text-hover);background:var(--element-action-secondary-hover)}:host::ng-deep .ol-control button:focus-visible{outline:var(--element-button-focus-width) solid var(--element-focus-default);outline-offset:calc(-1 * var(--element-button-focus-width))}:host::ng-deep .ol-control button+button{margin-block-start:1px}:host::ng-deep .ol-attribution,:host::ng-deep .ol-full-screen,:host::ng-deep .ol-zoom,:host::ng-deep .ol-zoom-extent{left:unset;right:unset;top:unset;bottom:unset}:host::ng-deep .ol-zoom,:host::ng-deep .ol-zoom-extent{inset-inline-end:0;inset-block-end:0;padding-inline-end:8px;padding-block-end:8px}:host::ng-deep .ol-zoom{padding-block-end:calc(25px + 1rem)}:host::ng-deep .ol-attribution{inset-inline-start:0;inset-block-end:0;padding:8px}:host::ng-deep .ol-attribution button{inline-size:1.5rem;block-size:1.5rem;font-size:1.5rem;border-radius:50%}:host::ng-deep .ol-full-screen{inset-block-end:calc(11px + 3*(1rem + 16px));inset-inline-end:8px}:host::ng-deep .ol-overlay-container{left:0}\n"], dependencies: [{ kind: "component", type: SiMapTooltipComponent, selector: "si-map-tooltip", inputs: ["moreText", "maxLabelLength"] }, { kind: "component", type: SiMapPopoverComponent, selector: "si-map-popover" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1948
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1949
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: SiMapComponent, isStandalone: true, selector: "si-map", inputs: { points: { classPropertyName: "points", publicName: "points", isSignal: true, isRequired: false, transformFunction: null }, geoJson: { classPropertyName: "geoJson", publicName: "geoJson", isSignal: true, isRequired: false, transformFunction: null }, styleFunction: { classPropertyName: "styleFunction", publicName: "styleFunction", isSignal: true, isRequired: false, transformFunction: null }, geoJsonProjection: { classPropertyName: "geoJsonProjection", publicName: "geoJsonProjection", isSignal: true, isRequired: false, transformFunction: null }, markerAnimation: { classPropertyName: "markerAnimation", publicName: "markerAnimation", isSignal: true, isRequired: false, transformFunction: null }, cluster: { classPropertyName: "cluster", publicName: "cluster", isSignal: true, isRequired: false, transformFunction: null }, groupColors: { classPropertyName: "groupColors", publicName: "groupColors", isSignal: true, isRequired: false, transformFunction: null }, nativeProperties: { classPropertyName: "nativeProperties", publicName: "nativeProperties", isSignal: true, isRequired: false, transformFunction: null }, styleJson: { classPropertyName: "styleJson", publicName: "styleJson", isSignal: true, isRequired: false, transformFunction: null }, displayTooltipOnHover: { classPropertyName: "displayTooltipOnHover", publicName: "displayTooltipOnHover", isSignal: true, isRequired: false, transformFunction: null }, displayPopoverOnClick: { classPropertyName: "displayPopoverOnClick", publicName: "displayPopoverOnClick", isSignal: true, isRequired: false, transformFunction: null }, displayPopoverOnHover: { classPropertyName: "displayPopoverOnHover", publicName: "displayPopoverOnHover", isSignal: true, isRequired: false, transformFunction: null }, maptilerKey: { classPropertyName: "maptilerKey", publicName: "maptilerKey", isSignal: true, isRequired: false, transformFunction: null }, displayTooltipOnClusterHover: { classPropertyName: "displayTooltipOnClusterHover", publicName: "displayTooltipOnClusterHover", isSignal: true, isRequired: false, transformFunction: null }, clusterDistance: { classPropertyName: "clusterDistance", publicName: "clusterDistance", isSignal: true, isRequired: false, transformFunction: null }, featureSelectZoom: { classPropertyName: "featureSelectZoom", publicName: "featureSelectZoom", isSignal: true, isRequired: false, transformFunction: null }, featureClickZoom: { classPropertyName: "featureClickZoom", publicName: "featureClickZoom", isSignal: true, isRequired: false, transformFunction: null }, clusterClickZoom: { classPropertyName: "clusterClickZoom", publicName: "clusterClickZoom", isSignal: true, isRequired: false, transformFunction: null }, globalZoom: { classPropertyName: "globalZoom", publicName: "globalZoom", isSignal: true, isRequired: false, transformFunction: null }, autoZoomFeatureClick: { classPropertyName: "autoZoomFeatureClick", publicName: "autoZoomFeatureClick", isSignal: true, isRequired: false, transformFunction: null }, autoZoomClusterClick: { classPropertyName: "autoZoomClusterClick", publicName: "autoZoomClusterClick", isSignal: true, isRequired: false, transformFunction: null }, popoverComponent: { classPropertyName: "popoverComponent", publicName: "popoverComponent", isSignal: true, isRequired: false, transformFunction: null }, clusterPopoverComponent: { classPropertyName: "clusterPopoverComponent", publicName: "clusterPopoverComponent", isSignal: true, isRequired: false, transformFunction: null }, popoverComponentProps: { classPropertyName: "popoverComponentProps", publicName: "popoverComponentProps", isSignal: true, isRequired: false, transformFunction: null }, popoverCloseOnClick: { classPropertyName: "popoverCloseOnClick", publicName: "popoverCloseOnClick", isSignal: true, isRequired: false, transformFunction: null }, fitClusterPadding: { classPropertyName: "fitClusterPadding", publicName: "fitClusterPadding", isSignal: true, isRequired: false, transformFunction: null }, fitPointPadding: { classPropertyName: "fitPointPadding", publicName: "fitPointPadding", isSignal: true, isRequired: false, transformFunction: null }, fitGeoJsonPadding: { classPropertyName: "fitGeoJsonPadding", publicName: "fitGeoJsonPadding", isSignal: true, isRequired: false, transformFunction: null }, multiWorld: { classPropertyName: "multiWorld", publicName: "multiWorld", isSignal: true, isRequired: false, transformFunction: null }, alwaysShowLabels: { classPropertyName: "alwaysShowLabels", publicName: "alwaysShowLabels", isSignal: true, isRequired: false, transformFunction: null }, maxLabelLineLength: { classPropertyName: "maxLabelLineLength", publicName: "maxLabelLineLength", isSignal: true, isRequired: false, transformFunction: null }, maxLabelLines: { classPropertyName: "maxLabelLines", publicName: "maxLabelLines", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { points: "pointsChange", pointsSelected: "pointsSelected", pointsRefreshed: "pointsRefreshed" }, host: { listeners: { "window:theme-switch": "onThemeSwitchInternal($event)" } }, providers: [MapService], queries: [{ propertyName: "projectedTooltip", first: true, predicate: SiMapTooltipComponent, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "popover", first: true, predicate: SiMapPopoverComponent, descendants: true, isSignal: true }, { propertyName: "popoverElement", first: true, predicate: ["popover"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "defaultTooltip", first: true, predicate: SiMapTooltipComponent, descendants: true, isSignal: true }, { propertyName: "mapReference", first: true, predicate: ["map"], descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: "<div #map class=\"map\"></div>\n<ng-content select=\"si-map-tooltip\">\n <si-map-tooltip />\n</ng-content>\n<si-map-popover #popover />\n", styles: [":host{display:block;inline-size:auto}.map{inline-size:100%;block-size:100%;z-index:-1}:host::ng-deep .ol-control{background-color:unset}:host::ng-deep .ol-control button{display:flex;align-items:center;justify-content:center;position:relative;background:var(--si-sys-background-3);color:var(--si-sys-text-accent);margin:0;line-height:1;border-radius:0;inline-size:calc(1rem + 2 * var(--si-sys-sizing-spacing-y-40));block-size:calc(1rem + 2 * var(--si-sys-sizing-spacing-y-40));font-size:var(--si-sys-sizing-icon-md);outline:none}:host::ng-deep .ol-control button:hover{color:var(--si-sys-text-accent-hover);background:var(--si-sys-background-accent-secondary-hover)}:host::ng-deep .ol-control button:focus-visible{outline:var(--element-button-focus-width) solid var(--si-sys-effects-focus);outline-offset:calc(-1 * var(--element-button-focus-width))}:host::ng-deep .ol-control button+button{margin-block-start:1px}:host::ng-deep .ol-attribution,:host::ng-deep .ol-full-screen,:host::ng-deep .ol-zoom,:host::ng-deep .ol-zoom-extent{left:unset;right:unset;top:unset;bottom:unset}:host::ng-deep .ol-zoom,:host::ng-deep .ol-zoom-extent{inset-inline-end:0;inset-block-end:0;padding-inline-end:var(--si-sys-sizing-spacing-x-40);padding-block-end:var(--si-sys-sizing-spacing-y-40)}:host::ng-deep .ol-zoom{padding-block-end:calc(var(--si-sys-sizing-spacing-y-40) + 1px + 1rem + 2 * var(--si-sys-sizing-spacing-y-40))}:host::ng-deep .ol-attribution{inset-inline-start:0;inset-block-end:0;padding:var(--si-sys-sizing-spacing-y-40) var(--si-sys-sizing-spacing-x-40)}:host::ng-deep .ol-attribution button{inline-size:1.5rem;block-size:1.5rem;font-size:1.5rem;border-radius:50%}:host::ng-deep .ol-full-screen{inset-block-end:calc(var(--si-sys-sizing-spacing-y-40) + 3px + 3 * (1rem + 2 * var(--si-sys-sizing-spacing-y-40)));inset-inline-end:var(--si-sys-sizing-spacing-x-40)}:host::ng-deep .ol-overlay-container{left:0}\n"], dependencies: [{ kind: "component", type: SiMapTooltipComponent, selector: "si-map-tooltip", inputs: ["moreText", "maxLabelLength"] }, { kind: "component", type: SiMapPopoverComponent, selector: "si-map-popover" }] });
4828
1950
  }
4829
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapComponent, decorators: [{
1951
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapComponent, decorators: [{
4830
1952
  type: Component,
4831
- args: [{ selector: 'si-map', imports: [SiMapTooltipComponent, SiMapPopoverComponent], providers: [MapService], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #map class=\"map\"></div>\n<ng-content select=\"si-map-tooltip\">\n <si-map-tooltip [moreText]=\"moreText()\" />\n</ng-content>\n<si-map-popover #popover />\n", styles: [":host{display:block;inline-size:auto}.map{inline-size:100%;block-size:100%;z-index:-1}:host::ng-deep .ol-control{background-color:unset}:host::ng-deep .ol-control button{display:flex;align-items:center;justify-content:center;position:relative;background:var(--element-base-3);color:var(--element-action-secondary-text);margin:0;line-height:1;border-radius:0;inline-size:calc(1rem + 16px);block-size:calc(1rem + 16px);font-size:1.25rem;outline:none}:host::ng-deep .ol-control button:hover{color:var(--element-action-secondary-text-hover);background:var(--element-action-secondary-hover)}:host::ng-deep .ol-control button:focus-visible{outline:var(--element-button-focus-width) solid var(--element-focus-default);outline-offset:calc(-1 * var(--element-button-focus-width))}:host::ng-deep .ol-control button+button{margin-block-start:1px}:host::ng-deep .ol-attribution,:host::ng-deep .ol-full-screen,:host::ng-deep .ol-zoom,:host::ng-deep .ol-zoom-extent{left:unset;right:unset;top:unset;bottom:unset}:host::ng-deep .ol-zoom,:host::ng-deep .ol-zoom-extent{inset-inline-end:0;inset-block-end:0;padding-inline-end:8px;padding-block-end:8px}:host::ng-deep .ol-zoom{padding-block-end:calc(25px + 1rem)}:host::ng-deep .ol-attribution{inset-inline-start:0;inset-block-end:0;padding:8px}:host::ng-deep .ol-attribution button{inline-size:1.5rem;block-size:1.5rem;font-size:1.5rem;border-radius:50%}:host::ng-deep .ol-full-screen{inset-block-end:calc(11px + 3*(1rem + 16px));inset-inline-end:8px}:host::ng-deep .ol-overlay-container{left:0}\n"] }]
4832
- }], ctorParameters: () => [], propDecorators: { points: [{ type: i0.Input, args: [{ isSignal: true, alias: "points", required: false }] }, { type: i0.Output, args: ["pointsChange"] }], geoJson: [{ type: i0.Input, args: [{ isSignal: true, alias: "geoJson", required: false }] }], styleFunction: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleFunction", required: false }] }], geoJsonProjection: [{ type: i0.Input, args: [{ isSignal: true, alias: "geoJsonProjection", required: false }] }], markerAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerAnimation", required: false }] }], cluster: [{ type: i0.Input, args: [{ isSignal: true, alias: "cluster", required: false }] }], groupColors: [{ type: i0.Input, args: [{ isSignal: true, alias: "groupColors", required: false }] }], nativeProperties: [{ type: i0.Input, args: [{ isSignal: true, alias: "nativeProperties", required: false }] }], styleJson: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleJson", required: false }] }], displayTooltipOnHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayTooltipOnHover", required: false }] }], displayPopoverOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayPopoverOnClick", required: false }] }], displayPopoverOnHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayPopoverOnHover", required: false }] }], maptilerKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "maptilerKey", required: false }] }], displayTooltipOnClusterHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayTooltipOnClusterHover", required: false }] }], clusterDistance: [{ type: i0.Input, args: [{ isSignal: true, alias: "clusterDistance", required: false }] }], featureSelectZoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "featureSelectZoom", required: false }] }], featureClickZoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "featureClickZoom", required: false }] }], clusterClickZoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "clusterClickZoom", required: false }] }], globalZoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "globalZoom", required: false }] }], autoZoomFeatureClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoZoomFeatureClick", required: false }] }], autoZoomClusterClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoZoomClusterClick", required: false }] }], popoverComponent: [{ type: i0.Input, args: [{ isSignal: true, alias: "popoverComponent", required: false }] }], clusterPopoverComponent: [{ type: i0.Input, args: [{ isSignal: true, alias: "clusterPopoverComponent", required: false }] }], popoverComponentProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "popoverComponentProps", required: false }] }], popoverCloseOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "popoverCloseOnClick", required: false }] }], fitClusterPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "fitClusterPadding", required: false }] }], fitPointPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "fitPointPadding", required: false }] }], fitGeoJsonPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "fitGeoJsonPadding", required: false }] }], moreText: [{ type: i0.Input, args: [{ isSignal: true, alias: "moreText", required: false }] }], multiWorld: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiWorld", required: false }] }], alwaysShowLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "alwaysShowLabels", required: false }] }], maxLabelLineLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLabelLineLength", required: false }] }], maxLabelLines: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLabelLines", required: false }] }], pointsSelected: [{ type: i0.Output, args: ["pointsSelected"] }], pointsRefreshed: [{ type: i0.Output, args: ["pointsRefreshed"] }], popover: [{ type: i0.ViewChild, args: [i0.forwardRef(() => SiMapPopoverComponent), { isSignal: true }] }], popoverElement: [{ type: i0.ViewChild, args: ['popover', { ...{
1953
+ args: [{ selector: 'si-map', imports: [SiMapTooltipComponent, SiMapPopoverComponent], providers: [MapService], template: "<div #map class=\"map\"></div>\n<ng-content select=\"si-map-tooltip\">\n <si-map-tooltip />\n</ng-content>\n<si-map-popover #popover />\n", styles: [":host{display:block;inline-size:auto}.map{inline-size:100%;block-size:100%;z-index:-1}:host::ng-deep .ol-control{background-color:unset}:host::ng-deep .ol-control button{display:flex;align-items:center;justify-content:center;position:relative;background:var(--si-sys-background-3);color:var(--si-sys-text-accent);margin:0;line-height:1;border-radius:0;inline-size:calc(1rem + 2 * var(--si-sys-sizing-spacing-y-40));block-size:calc(1rem + 2 * var(--si-sys-sizing-spacing-y-40));font-size:var(--si-sys-sizing-icon-md);outline:none}:host::ng-deep .ol-control button:hover{color:var(--si-sys-text-accent-hover);background:var(--si-sys-background-accent-secondary-hover)}:host::ng-deep .ol-control button:focus-visible{outline:var(--element-button-focus-width) solid var(--si-sys-effects-focus);outline-offset:calc(-1 * var(--element-button-focus-width))}:host::ng-deep .ol-control button+button{margin-block-start:1px}:host::ng-deep .ol-attribution,:host::ng-deep .ol-full-screen,:host::ng-deep .ol-zoom,:host::ng-deep .ol-zoom-extent{left:unset;right:unset;top:unset;bottom:unset}:host::ng-deep .ol-zoom,:host::ng-deep .ol-zoom-extent{inset-inline-end:0;inset-block-end:0;padding-inline-end:var(--si-sys-sizing-spacing-x-40);padding-block-end:var(--si-sys-sizing-spacing-y-40)}:host::ng-deep .ol-zoom{padding-block-end:calc(var(--si-sys-sizing-spacing-y-40) + 1px + 1rem + 2 * var(--si-sys-sizing-spacing-y-40))}:host::ng-deep .ol-attribution{inset-inline-start:0;inset-block-end:0;padding:var(--si-sys-sizing-spacing-y-40) var(--si-sys-sizing-spacing-x-40)}:host::ng-deep .ol-attribution button{inline-size:1.5rem;block-size:1.5rem;font-size:1.5rem;border-radius:50%}:host::ng-deep .ol-full-screen{inset-block-end:calc(var(--si-sys-sizing-spacing-y-40) + 3px + 3 * (1rem + 2 * var(--si-sys-sizing-spacing-y-40)));inset-inline-end:var(--si-sys-sizing-spacing-x-40)}:host::ng-deep .ol-overlay-container{left:0}\n"] }]
1954
+ }], ctorParameters: () => [], propDecorators: { points: [{ type: i0.Input, args: [{ isSignal: true, alias: "points", required: false }] }, { type: i0.Output, args: ["pointsChange"] }], geoJson: [{ type: i0.Input, args: [{ isSignal: true, alias: "geoJson", required: false }] }], styleFunction: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleFunction", required: false }] }], geoJsonProjection: [{ type: i0.Input, args: [{ isSignal: true, alias: "geoJsonProjection", required: false }] }], markerAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerAnimation", required: false }] }], cluster: [{ type: i0.Input, args: [{ isSignal: true, alias: "cluster", required: false }] }], groupColors: [{ type: i0.Input, args: [{ isSignal: true, alias: "groupColors", required: false }] }], nativeProperties: [{ type: i0.Input, args: [{ isSignal: true, alias: "nativeProperties", required: false }] }], styleJson: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleJson", required: false }] }], displayTooltipOnHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayTooltipOnHover", required: false }] }], displayPopoverOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayPopoverOnClick", required: false }] }], displayPopoverOnHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayPopoverOnHover", required: false }] }], maptilerKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "maptilerKey", required: false }] }], displayTooltipOnClusterHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayTooltipOnClusterHover", required: false }] }], clusterDistance: [{ type: i0.Input, args: [{ isSignal: true, alias: "clusterDistance", required: false }] }], featureSelectZoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "featureSelectZoom", required: false }] }], featureClickZoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "featureClickZoom", required: false }] }], clusterClickZoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "clusterClickZoom", required: false }] }], globalZoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "globalZoom", required: false }] }], autoZoomFeatureClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoZoomFeatureClick", required: false }] }], autoZoomClusterClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoZoomClusterClick", required: false }] }], popoverComponent: [{ type: i0.Input, args: [{ isSignal: true, alias: "popoverComponent", required: false }] }], clusterPopoverComponent: [{ type: i0.Input, args: [{ isSignal: true, alias: "clusterPopoverComponent", required: false }] }], popoverComponentProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "popoverComponentProps", required: false }] }], popoverCloseOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "popoverCloseOnClick", required: false }] }], fitClusterPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "fitClusterPadding", required: false }] }], fitPointPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "fitPointPadding", required: false }] }], fitGeoJsonPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "fitGeoJsonPadding", required: false }] }], multiWorld: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiWorld", required: false }] }], alwaysShowLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "alwaysShowLabels", required: false }] }], maxLabelLineLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLabelLineLength", required: false }] }], maxLabelLines: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLabelLines", required: false }] }], pointsSelected: [{ type: i0.Output, args: ["pointsSelected"] }], pointsRefreshed: [{ type: i0.Output, args: ["pointsRefreshed"] }], popover: [{ type: i0.ViewChild, args: [i0.forwardRef(() => SiMapPopoverComponent), { isSignal: true }] }], popoverElement: [{ type: i0.ViewChild, args: ['popover', { ...{
4833
1955
  read: ElementRef
4834
1956
  }, isSignal: true }] }], defaultTooltip: [{ type: i0.ViewChild, args: [i0.forwardRef(() => SiMapTooltipComponent), { isSignal: true }] }], projectedTooltip: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SiMapTooltipComponent), { isSignal: true }] }], mapReference: [{ type: i0.ViewChild, args: ['map', { isSignal: true }] }], onThemeSwitchInternal: [{
4835
1957
  type: HostListener,
@@ -4841,11 +1963,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImpor
4841
1963
  * SPDX-License-Identifier: MIT
4842
1964
  */
4843
1965
  class SiMapModule {
4844
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4845
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: SiMapModule, imports: [SiMapComponent, SiMapPopoverComponent, SiMapTooltipComponent], exports: [SiMapComponent] });
4846
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapModule });
1966
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1967
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: SiMapModule, imports: [SiMapComponent, SiMapPopoverComponent, SiMapTooltipComponent], exports: [SiMapComponent] });
1968
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapModule });
4847
1969
  }
4848
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapModule, decorators: [{
1970
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapModule, decorators: [{
4849
1971
  type: NgModule,
4850
1972
  args: [{
4851
1973
  imports: [SiMapComponent, SiMapPopoverComponent, SiMapTooltipComponent],
@@ -4863,11 +1985,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImpor
4863
1985
  * SPDX-License-Identifier: MIT
4864
1986
  */
4865
1987
  class SiMapsNgModule {
4866
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapsNgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4867
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: SiMapsNgModule, exports: [SiMapModule] });
4868
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapsNgModule, imports: [SiMapModule] });
1988
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapsNgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1989
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: SiMapsNgModule, exports: [SiMapModule] });
1990
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapsNgModule, imports: [SiMapModule] });
4869
1991
  }
4870
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SiMapsNgModule, decorators: [{
1992
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiMapsNgModule, decorators: [{
4871
1993
  type: NgModule,
4872
1994
  args: [{
4873
1995
  exports: [SiMapModule]
@@ -4883,5 +2005,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImpor
4883
2005
  * Generated bundle index. Do not edit.
4884
2006
  */
4885
2007
 
4886
- export { ANIMATION_DURATION, CLUSTER_CHARTS_FRAGMENTS, CLUSTER_RADIUS_SIZE, DEFAULT_CLUSTER_CLICK_ZOOM, DEFAULT_CLUSTER_DISTANCE, DEFAULT_CLUSTER_TYPE, DEFAULT_DONUT_RATIO, DEFAULT_FEATURE_CLICK_ZOOM, DEFAULT_FEATURE_SELECT_ZOOM, DEFAULT_FIT_PADDING, DEFAULT_GLOBAL_ZOOM, DEFAULT_ICON, DEFAULT_ICON_SCALE, DEFAULT_OFFSET, DEFAULT_STROKE_WEIGHT, GEOJSON_LAYER, Grouping, LAYER_NAME, MAX_CLUSTER_BUILDINGS, MapService, POINTS_LAYER, SIEMENS_FONT, SIEMENS_FONT_LABELS, SiMapComponent, SiMapModule, SiMapPopoverComponent, SiMapTooltipComponent, SiMapsNgModule, SiMapsNgModule as SimplMapsNgModule, TOOLTIP_FEATURES_TO_DISPLAY };
2008
+ export { ANIMATION_DURATION, CLUSTER_CHARTS_FRAGMENTS, CLUSTER_RADIUS_SIZE, DEFAULT_CLUSTER_CLICK_ZOOM, DEFAULT_CLUSTER_DISTANCE, DEFAULT_CLUSTER_TYPE, DEFAULT_DONUT_RATIO, DEFAULT_FEATURE_CLICK_ZOOM, DEFAULT_FEATURE_SELECT_ZOOM, DEFAULT_GLOBAL_ZOOM, DEFAULT_ICON, DEFAULT_ICON_SCALE, DEFAULT_OFFSET, DEFAULT_STROKE_WEIGHT, GEOJSON_LAYER, Grouping, LAYER_NAME, MAX_CLUSTER_BUILDINGS, MapService, POINTS_LAYER, SIEMENS_FONT, SIEMENS_FONT_LABELS, SiMapComponent, SiMapModule, SiMapPopoverComponent, SiMapTooltipComponent, SiMapsNgModule, SiMapsNgModule as SimplMapsNgModule, TOOLTIP_FEATURES_TO_DISPLAY };
4887
2009
  //# sourceMappingURL=siemens-maps-ng.mjs.map