From ddcb8c3b0fa32698f24c0446dc880547f9cced63 Mon Sep 17 00:00:00 2001 From: Brian McBride Date: Thu, 16 Feb 2017 16:23:39 -0800 Subject: [PATCH] this.markers is set to readyOnly: true in the properties. this.markers = VALUE results in a setter error. _setMarkers(VALUE) is enough. Fixes issue #353 --- google-map.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-map.html b/google-map.html index 4fbb6a9..772686d 100644 --- a/google-map.html +++ b/google-map.html @@ -554,7 +554,7 @@ this._observeMarkers(); - this.markers = this._setMarkers(newMarkers); + this._setMarkers(newMarkers); // Set the map on each marker and zoom viewport to ensure they're in view. this._attachChildrenToMap(this.markers);