diff --git a/src/app/cartography/components/d3-map/d3-map.component.ts b/src/app/cartography/components/d3-map/d3-map.component.ts index 98034021..d0ed257e 100644 --- a/src/app/cartography/components/d3-map/d3-map.component.ts +++ b/src/app/cartography/components/d3-map/d3-map.component.ts @@ -33,6 +33,7 @@ import { ToolsService } from '../../../services/tools.service'; import { TextEditorComponent } from '../text-editor/text-editor.component'; import { MapScaleService } from '../../../services/mapScale.service'; import { Project } from '../../../models/project'; +import { MapSettingsService } from '../../../services/mapsettings.service'; @Component({ selector: 'app-d3-map', @@ -75,7 +76,8 @@ export class D3MapComponent implements OnInit, OnChanges, OnDestroy { protected movingToolWidget: MovingTool, public graphLayout: GraphLayout, private toolsService: ToolsService, - private mapScaleService: MapScaleService + private mapScaleService: MapScaleService, + private mapSettingsService: MapSettingsService ) { this.parentNativeElement = element.nativeElement; } @@ -193,6 +195,7 @@ export class D3MapComponent implements OnInit, OnChanges, OnDestroy { this.graphLayout.draw(this.svg, this.context); this.textEditor.activateTextEditingForDrawings(); this.textEditor.activateTextEditingForNodeLabels(); + this.mapSettingsService.mapRenderedEmitter.emit(true); } @HostListener('window:resize', ['$event']) diff --git a/src/app/components/project-map/project-map.component.html b/src/app/components/project-map/project-map.component.html index 362dc68e..79a10dbc 100644 --- a/src/app/components/project-map/project-map.component.html +++ b/src/app/components/project-map/project-map.component.html @@ -47,6 +47,10 @@ developer_board Go to servers +