@igo2/geo 20.1.0-next.17 → 20.1.0-next.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/igo2-geo.mjs +6 -9
- package/fesm2022/igo2-geo.mjs.map +1 -1
- package/index.d.ts +0 -2
- package/package.json +5 -5
package/fesm2022/igo2-geo.mjs
CHANGED
|
@@ -1480,7 +1480,7 @@ class PrintService {
|
|
|
1480
1480
|
div.style.maxHeight = '50mm';
|
|
1481
1481
|
div.style.textAlign = 'center';
|
|
1482
1482
|
const img = this.document.createElement('img');
|
|
1483
|
-
img.src = './
|
|
1483
|
+
img.src = './igo2/geo/images/north-direction.png';
|
|
1484
1484
|
img.style.maxWidth = '50mm';
|
|
1485
1485
|
img.style.maxHeight = '50mm';
|
|
1486
1486
|
img.style.transform = 'rotate(' + rotation + 'rad)';
|
|
@@ -8502,7 +8502,7 @@ class DirectionsService {
|
|
|
8502
8502
|
const dateTime = moment(Date.now()).format('YYYY-MM-DD HH:mm');
|
|
8503
8503
|
const logo = this.configService.getConfig('directionsSources.logo')
|
|
8504
8504
|
? this.configService.getConfig('directionsSources.logo')
|
|
8505
|
-
: '
|
|
8505
|
+
: 'logo.png';
|
|
8506
8506
|
for (let pageIndex = 0; pageIndex < pageCount; pageIndex++) {
|
|
8507
8507
|
doc.setPage(pageIndex);
|
|
8508
8508
|
doc.setFontSize(8);
|
|
@@ -15197,7 +15197,7 @@ function hoverFeatureMarkerStyle(feature) {
|
|
|
15197
15197
|
function pointerPositionSummaryMarkerStyle(feature) {
|
|
15198
15198
|
return new olStyle.Style({
|
|
15199
15199
|
image: new olStyle.Icon({
|
|
15200
|
-
src: './
|
|
15200
|
+
src: './igo2/geo/icons/cross_black_18px.svg'
|
|
15201
15201
|
}),
|
|
15202
15202
|
text: new olStyle.Text({
|
|
15203
15203
|
text: feature.get('pointerSummary'),
|
|
@@ -17593,7 +17593,6 @@ class DirectionsComponent {
|
|
|
17593
17593
|
directionsSourceService = inject(DirectionsSourceService);
|
|
17594
17594
|
searchService = inject(SearchService);
|
|
17595
17595
|
queryService = inject(QueryService);
|
|
17596
|
-
messageService = inject(MessageService);
|
|
17597
17596
|
projection = 'EPSG:4326';
|
|
17598
17597
|
twoSourcesAvailable = false;
|
|
17599
17598
|
storeEmpty$$;
|
|
@@ -17606,7 +17605,6 @@ class DirectionsComponent {
|
|
|
17606
17605
|
isTranslating = false;
|
|
17607
17606
|
previousStops = [];
|
|
17608
17607
|
searchs$$ = [];
|
|
17609
|
-
authenticated$$;
|
|
17610
17608
|
contextUri = input(undefined, ...(ngDevMode ? [{ debugName: "contextUri" }] : []));
|
|
17611
17609
|
stopsStore = input.required(...(ngDevMode ? [{ debugName: "stopsStore" }] : []));
|
|
17612
17610
|
stopsFeatureStore = input.required(...(ngDevMode ? [{ debugName: "stopsFeatureStore" }] : []));
|
|
@@ -17646,10 +17644,9 @@ class DirectionsComponent {
|
|
|
17646
17644
|
}
|
|
17647
17645
|
ngOnDestroy() {
|
|
17648
17646
|
this.queryService.queryEnabled = true;
|
|
17649
|
-
this.storeEmpty
|
|
17650
|
-
this.storeChange
|
|
17651
|
-
this.routesQueries
|
|
17652
|
-
this.authenticated$$.unsubscribe();
|
|
17647
|
+
this.storeEmpty$$?.unsubscribe();
|
|
17648
|
+
this.storeChange$$?.unsubscribe();
|
|
17649
|
+
this.routesQueries$$?.map((u) => u.unsubscribe());
|
|
17653
17650
|
this.freezeStores();
|
|
17654
17651
|
const stopsFeatureStore = this.stopsFeatureStore();
|
|
17655
17652
|
if (stopsFeatureStore.empty) {
|