Skip to content

Commit

Permalink
Fix map onDraw event
Browse files Browse the repository at this point in the history
  • Loading branch information
Giwi committed Nov 24, 2022
1 parent 6507de9 commit 6efd0bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/discovery-dashboard/discovery-dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export class DiscoveryDashboardComponent {
@Event() rendered: EventEmitter<void>;

@Element() el: HTMLElement;

@State() width: number;
@State() height: number;
@State() result: Dashboard;
Expand Down
2 changes: 1 addition & 1 deletion src/components/discovery-map/discovery-map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class DiscoveryMapComponent {
private shadowHeatmapLayer = Leaflet.featureGroup();
private firstDraw = true;
private mapOpts: MapParams;
private initial = false;
private initial = true;
private hidden: { [key: string]: boolean } = {};
private poputTimeout;
private markerOver = false;
Expand Down

0 comments on commit 6efd0bd

Please sign in to comment.