Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
First time loading issue resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
DarpanLalani committed Apr 5, 2023
1 parent cc035b8 commit 0e1207a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions smart-map-widget/component/gp-smart-map.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ export class GPSmartMapComponent implements OnInit, OnDestroy, AfterViewInit, On
L = window.L;
// }
this.appId = this.cmonSvc.getAppId();
if(!L.imageOverlay){
await new Promise(resolve => setTimeout(resolve, 500));
}
this.reloadMap(true);
}
refresh() {
Expand Down

0 comments on commit 0e1207a

Please sign in to comment.