From adeb5f07afc0685e069f199188655fb371588bd6 Mon Sep 17 00:00:00 2001 From: PhilippeL Date: Mon, 4 Nov 2019 12:34:39 -0500 Subject: [PATCH] fix(query): query demo fix (issue #499) --- demo/src/app/geo/query/query.component.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/demo/src/app/geo/query/query.component.ts b/demo/src/app/geo/query/query.component.ts index 9d13f997a2..d9ba05fc11 100644 --- a/demo/src/app/geo/query/query.component.ts +++ b/demo/src/app/geo/query/query.component.ts @@ -79,7 +79,8 @@ export class AppQueryComponent { this.map.addLayer( this.layerService.createLayer({ title: 'WMS', - source: dataSource + source: dataSource, + sourceOptions: dataSource.options }) ); }); @@ -100,7 +101,8 @@ export class AppQueryComponent { this.map.addLayer( this.layerService.createLayer({ title: 'WMS html with a pre call in GML', - source: dataSource + source: dataSource, + sourceOptions: dataSource.options }) ); }); @@ -119,7 +121,8 @@ export class AppQueryComponent { this.map.addLayer( this.layerService.createLayer({ title: 'Vector Layer', - source: dataSource + source: dataSource, + sourceOptions: dataSource.options }) ); this.addFeatures(dataSource as FeatureDataSource);