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 {