@igo2/geo 19.0.0-next.3 → 19.0.0-next.4

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.
@@ -23,8 +23,8 @@ import * as i3 from '@igo2/core/activity';
23
23
  import * as i1$2 from '@igo2/core/config';
24
24
  import { ConfigService } from '@igo2/core/config';
25
25
  import html2canvas from 'html2canvas';
26
- import jsPDF from 'jspdf';
27
- import 'jspdf-autotable';
26
+ import jsPDF, { jsPDF as jsPDF$1 } from 'jspdf';
27
+ import { autoTable } from 'jspdf-autotable';
28
28
  import moment from 'moment';
29
29
  import * as i1 from '@angular/common/http';
30
30
  import { HttpParams, HttpClient, HttpHeaders } from '@angular/common/http';
@@ -7710,7 +7710,7 @@ class DirectionsService {
7710
7710
  downloadDirections(map, directions) {
7711
7711
  const activityId = this.activityService.register();
7712
7712
  const status$ = new Subject();
7713
- const doc = new jsPDF({
7713
+ const doc = new jsPDF$1({
7714
7714
  orientation: 'p',
7715
7715
  format: 'letter',
7716
7716
  unit: 'mm' // default
@@ -7836,7 +7836,7 @@ class DirectionsService {
7836
7836
  align: 'center'
7837
7837
  });
7838
7838
  const HTMLtable = await this.setHTMLTableDirections(directions);
7839
- doc.autoTable({
7839
+ autoTable(doc, {
7840
7840
  html: HTMLtable,
7841
7841
  startY: 30,
7842
7842
  margin: { top: 20, bottom: 20 },
@@ -37631,6 +37631,9 @@ class FeatureWorkspaceService {
37631
37631
  workspaceId: layer.id,
37632
37632
  enabled: true
37633
37633
  });
37634
+ if (!layer.options.linkedLayers) {
37635
+ layer.options.linkedLayers = { linkId: layer.id, links: [] };
37636
+ }
37634
37637
  const wks = new FeatureWorkspace({
37635
37638
  id: layer.id,
37636
37639
  title: layer.title,
@@ -37763,6 +37766,9 @@ class WfsWorkspaceService {
37763
37766
  workspaceId: layer.id,
37764
37767
  enabled: true
37765
37768
  });
37769
+ if (!layer.options.linkedLayers) {
37770
+ layer.options.linkedLayers = { linkId: layer.id, links: [] };
37771
+ }
37766
37772
  const wks = new WfsWorkspace({
37767
37773
  id: layer.id,
37768
37774
  title: layer.title,