Skip to content

Commit

Permalink
fix(SebmGoogleMapPolygon) review updates
Browse files Browse the repository at this point in the history
no need to store reference to options..
  • Loading branch information
gorango committed Sep 22, 2016
1 parent 3449e9e commit 102a3c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/directives/google-map-polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ export class SebmGoogleMapPolygon implements OnDestroy, OnChanges, AfterContentI
return;
}

let options = this._updatePolygonOptions(changes);
this._polygonManager.setPolygonOptions(this, options);
this._polygonManager.setPolygonOptions(this, this._updatePolygonOptions(changes));
}

private _init() {
Expand Down

0 comments on commit 102a3c6

Please sign in to comment.