diff --git a/packages/geo/src/lib/import-export/import-export/import-export.component.ts b/packages/geo/src/lib/import-export/import-export/import-export.component.ts index 2e678317d4..429f555254 100644 --- a/packages/geo/src/lib/import-export/import-export/import-export.component.ts +++ b/packages/geo/src/lib/import-export/import-export/import-export.component.ts @@ -356,7 +356,7 @@ export class ImportExportComponent implements OnDestroy, OnInit { } public getLayerTitleById(id): string { - return this.map.getLayerById(id).title; + return this.map.getLayerById(id)?.title; }