diff --git a/libs/feature/record/src/lib/map-view/map-view.component.ts b/libs/feature/record/src/lib/map-view/map-view.component.ts index 5cc2a7f295..6dad2b6382 100644 --- a/libs/feature/record/src/lib/map-view/map-view.component.ts +++ b/libs/feature/record/src/lib/map-view/map-view.component.ts @@ -205,6 +205,16 @@ export class MapViewComponent implements OnInit, OnDestroy { data, })) ) + } else if ( + link.type === 'service' && + link.accessServiceProtocol === 'ogcFeatures' + ) { + return this.dataService.readAsGeoJson(link).pipe( + map((data) => ({ + type: MapContextLayerTypeEnum.GEOJSON, + data, + })) + ) } return throwError(() => 'protocol not supported') }