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
index 926c049..7f73dd8 100644
--- 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
@@ -1 +1 @@
-
{{label}}
\ No newline at end of file
+
{{label}}
\ No newline at end of file
diff --git a/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.scss b/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.scss
index a4e654e..e1189e6 100644
--- a/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.scss
+++ b/projects/common-map3d/src/fm-map3d/components/olcs/switch2d3d/switch2d3d.component.scss
@@ -12,4 +12,12 @@
border-radius: 1.75em;
padding: 0;
color: $secondary;
+}
+
+.fa-spinner {
+ display: none;
+}
+
+.fa-spinner.loading {
+ display: inline-block;
}
\ 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 02f7f8a..a5aa3c5 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
@@ -15,6 +15,7 @@ export class Switch2D3DComponent {
public label: string = "3D";
private ol3d: OLCesium;
private synchronizers:any[];
+ public loading:boolean = true;
constructor(private map: MapComponent) {
@@ -28,6 +29,7 @@ export class Switch2D3DComponent {
new olcs.RasterSynchronizer(map,scene),
new olcs.VectorSynchronizer(map,scene)
];
+ this.loading=false;
return this.synchronizers;
}, stopOpenLayersEventsPropagation:true});
}