Skip to content

Commit

Permalink
fix(typo): add missing this
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed May 9, 2017
1 parent 750591d commit 42b2432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/layer/shared/layers/layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export abstract class Layer {

remove() {
this.map = undefined;
map.ol.removeLayer(this.ol);
this.map.ol.removeLayer(this.ol);
}

}

0 comments on commit 42b2432

Please sign in to comment.