Преглед изворни кода

💄 remove useless toast message

jmacura пре 3 година
родитељ
комит
aefee23f97
1 измењених фајлова са 11 додато и 11 уклоњено
  1. 11 11
      src/app/app.component.ts

+ 11 - 11
src/app/app.component.ts

@@ -129,16 +129,16 @@ export class HslayersAppComponent {
       zoomWithModifierKeyOnly: true,
     });
     /* Now wait for the OpenLayers Map object to load */
-    this.hsEventBusService.olMapLoads.subscribe(() => {
-      /* ...and display a simple toast message in the bottom-left corner */
-      this.hsToastService.createToastPopupMessage(
-        'READY!',
-        'Your map is now ready to use.',
-        {
-          toastStyleClasses:
-            'bg-success text-white' /* Use any Bootstrap class here, see https://getbootstrap.com/docs/4.0/utilities/colors/ */,
-        }
-      );
-    });
+    // this.hsEventBusService.olMapLoads.subscribe(() => {
+    //   /* ...and display a simple toast message in the bottom-left corner */
+    //   this.hsToastService.createToastPopupMessage(
+    //     'READY!',
+    //     'Your map is now ready to use.',
+    //     {
+    //       toastStyleClasses:
+    //         'bg-success text-white' /* Use any Bootstrap class here, see https://getbootstrap.com/docs/4.0/utilities/colors/ */,
+    //     }
+    //   );
+    // });
   }
 }