|
|
@@ -49,18 +49,5 @@ export class AppComponent {
|
|
|
this.hsLanguageService.setLanguage('cs');
|
|
|
this.hsLayoutService.setDefaultPanel('calculator');
|
|
|
});
|
|
|
- /* Now wait for the OpenLayers Map object to load */
|
|
|
- //TODO: Wait for the LPIS layer instead
|
|
|
- this.hsEventBus.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/ */,
|
|
|
- }
|
|
|
- );
|
|
|
- });
|
|
|
}
|
|
|
}
|