Skip to content

Commit

Permalink
fix(canvas): remove contextType
Browse files Browse the repository at this point in the history
BREAKING CHANGE: remove contextType
  • Loading branch information
Wykks committed Nov 11, 2017
1 parent 8e3259f commit 3ca702c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/lib/source/canvas-source.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export class CanvasSourceComponent implements OnInit, OnDestroy, OnChanges, Canv
/* Dynamic inputs */
@Input() coordinates: number[][];
@Input() canvas: string;
@Input() contextType: '2d' | 'webgl' | 'experimental-webgl' | 'webgl2';
@Input() animate?: boolean;

private sourceAdded = false;
Expand All @@ -31,7 +30,6 @@ export class CanvasSourceComponent implements OnInit, OnDestroy, OnChanges, Canv
coordinates: this.coordinates,
canvas: this.canvas,
animate: this.animate,
contextType: this.contextType
};
this.MapService.addSource(this.id, source);
this.sourceAdded = true;
Expand Down

0 comments on commit 3ca702c

Please sign in to comment.