Skip to content

Commit

Permalink
fix(map): remove duplicate load event listener
Browse files Browse the repository at this point in the history
  • Loading branch information
Wykks committed Nov 1, 2017
1 parent ef295a3 commit c92da66
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/lib/map/map.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ export class MapService {
}

private hookEvents(events: MapEvent) {
this.mapInstance.on('load', () => this.zone.run(() => events.load.emit()));
this.mapInstance.on('resize', () => this.zone.run(() => events.resize.emit()));
this.mapInstance.on('remove', () => this.zone.run(() => events.remove.emit()));
this.mapInstance.on('mousedown', (evt: MapboxGl.MapMouseEvent) => this.zone.run(() => events.mouseDown.emit(evt)));
Expand Down

0 comments on commit c92da66

Please sign in to comment.