diff --git a/src/core/directives/google-map-polygon.ts b/src/core/directives/google-map-polygon.ts index 0b6b9d190..4ff760e1e 100644 --- a/src/core/directives/google-map-polygon.ts +++ b/src/core/directives/google-map-polygon.ts @@ -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() {