Skip to content

Commit

Permalink
feat: update demo maps.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-angermann committed Jul 10, 2024
1 parent 1823c4b commit cf37f62
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,13 @@ export class RouteExampleCesiumComponent implements OnInit, OnDestroy {
public mapStateSvc: MapStateService,
public mapCesiumSvc: MapCesiumService
) {
this.controls = {
/* this.controls = {
infoBox: true,
selectionIndicator: true
}
} */
this.controls = {
enablePopups: true
}
}

ngOnInit() {
Expand Down
15 changes: 5 additions & 10 deletions projects/map-cesium/src/lib/map-cesium.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@ describe('MapCesiumService Core Functions', () => {
service = TestBed.inject(MapCesiumService);

const controls: ICesiumControls = {
infoBox: true,
selectionIndicator: true
enablePopups: true
}
service.setControls(controls);
});
Expand Down Expand Up @@ -195,8 +194,7 @@ describe('MapCesiumService State', () => {
service = TestBed.inject(MapCesiumService);

const controls: ICesiumControls = {
infoBox: true,
selectionIndicator: true
enablePopups: true
}
service.setControls(controls);
});
Expand Down Expand Up @@ -267,8 +265,7 @@ describe('MapCesiumService Layer Functions', () => {
service = TestBed.inject(MapCesiumService);

const controls: ICesiumControls = {
infoBox: true,
selectionIndicator: true
enablePopups: true
}
service.setControls(controls);
});
Expand Down Expand Up @@ -354,8 +351,7 @@ describe('MapCesiumService ukisLayers', () => {
service = TestBed.inject(MapCesiumService);

const controls: ICesiumControls = {
infoBox: true,
selectionIndicator: true
enablePopups: true
}
service.setControls(controls);
createTestLayer();
Expand Down Expand Up @@ -477,8 +473,7 @@ describe('MapCesiumService DataSources', () => {
service = TestBed.inject(MapCesiumService);

const controls: ICesiumControls = {
infoBox: true,
selectionIndicator: true
enablePopups: true
}
service.setControls(controls);
createTestLayer();
Expand Down

0 comments on commit cf37f62

Please sign in to comment.