From 128953b0fe303b75afbe7cac1d848798a9d24472 Mon Sep 17 00:00:00 2001 From: Piotr Pekala Date: Thu, 24 Oct 2019 03:02:32 -0700 Subject: [PATCH] Initial implementation --- .../components/d3-map/d3-map.component.html | 14 ++++++++++++++ .../components/d3-map/d3-map.component.ts | 2 ++ .../project-map/project-map.component.html | 1 + 3 files changed, 17 insertions(+) diff --git a/src/app/cartography/components/d3-map/d3-map.component.html b/src/app/cartography/components/d3-map/d3-map.component.html index ffa2be61..44d8f52d 100644 --- a/src/app/cartography/components/d3-map/d3-map.component.html +++ b/src/app/cartography/components/d3-map/d3-map.component.html @@ -1,5 +1,19 @@ + + + + + + + + + + + + + + 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 07c2673e..c3d5250f 100644 --- a/src/app/cartography/components/d3-map/d3-map.component.ts +++ b/src/app/cartography/components/d3-map/d3-map.component.ts @@ -32,6 +32,7 @@ import { Server } from '../../../models/server'; 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'; @Component({ selector: 'app-d3-map', @@ -43,6 +44,7 @@ export class D3MapComponent implements OnInit, OnChanges, OnDestroy { @Input() links: Link[] = []; @Input() drawings: Drawing[] = []; @Input() symbols: Symbol[] = []; + @Input() project: Project; @Input() server: Server; @Input() width = 1500; diff --git a/src/app/components/project-map/project-map.component.html b/src/app/components/project-map/project-map.component.html index 3c5a1257..72317a70 100644 --- a/src/app/components/project-map/project-map.component.html +++ b/src/app/components/project-map/project-map.component.html @@ -2,6 +2,7 @@