From 45de27f666b4cac6ed635c85bf19de11bebd5904 Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Sat, 30 Jan 2021 11:14:25 +0100 Subject: [PATCH] Add haspackage for 3d --- projects/common-map3d/src/fm-map3d/common-map3d.module.ts | 2 ++ .../components/olcs/switch2d3d/switch2d3d.component.html | 1 + .../fm-map3d/components/olcs/switch2d3d/switch2d3d.component.ts | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.html diff --git a/projects/common-map3d/src/fm-map3d/common-map3d.module.ts b/projects/common-map3d/src/fm-map3d/common-map3d.module.ts index 29a20f1..6d63832 100644 --- a/projects/common-map3d/src/fm-map3d/common-map3d.module.ts +++ b/projects/common-map3d/src/fm-map3d/common-map3d.module.ts @@ -1,10 +1,12 @@ import { NgModule } from '@angular/core'; import { Switch2D3DComponent } from './components/olcs/switch2d3d/switch2d3d.component'; +import { AppCommonModule} from '@farmmaps/common'; @NgModule({ declarations: [Switch2D3DComponent], imports: [ + AppCommonModule ], exports: [Switch2D3DComponent] }) diff --git a/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.html b/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.html new file mode 100644 index 0000000..926c049 --- /dev/null +++ b/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.html @@ -0,0 +1 @@ +
{{label}}
\ No newline at end of file diff --git a/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.ts b/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.ts index 57b66f0..02f7f8a 100644 --- a/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.ts +++ b/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.ts @@ -6,7 +6,7 @@ declare var olcs: any; @Component({ selector: 'fm-map3d-switch2d3d', - template: '
{{label}}
', + templateUrl: './switch2d3d.component.html', styleUrls: ['./switch2d3d.component.scss'] }) export class Switch2D3DComponent {