We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f174c44 commit b5e24c7Copy full SHA for b5e24c7
google-map-poly.html
@@ -487,8 +487,15 @@
487
this._building = true;
488
this.path.clear();
489
for (var i = 0, point; point = this._points[i]; ++i) {
490
- if (point.tagName == 'google-map-point')
491
- this.path.push(point.getPosition());
+ var tagName = point.tagName;
+
492
+ if (tagName) {
493
+ tagName = tagName.toLowerCase();
494
495
+ if (tagName == 'google-map-point') {
496
+ this.path.push(point.getPosition());
497
+ }
498
499
}
500
this._building = false;
501
0 commit comments