Skip to content

Commit

Permalink
fix(query): query demo fix (issue #499) (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeLafreniere18 authored and mbarbeau committed Nov 5, 2019
1 parent f5e7348 commit 989ef33
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions demo/src/app/geo/query/query.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export class AppQueryComponent {
this.map.addLayer(
this.layerService.createLayer({
title: 'WMS',
source: dataSource
source: dataSource,
sourceOptions: dataSource.options
})
);
});
Expand All @@ -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
})
);
});
Expand All @@ -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);
Expand Down

0 comments on commit 989ef33

Please sign in to comment.