GoogleWebComponents / google-map

Google Maps web components

Home Page:https://elements.polymer-project.org/elements/google-map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Undefined in _clearListener in google-map-marker

Oupsla opened this issue · comments

When there are multiple google-map with markers on different pages an error is thrown when showing the second map.

Uncaught TypeError: Cannot read property 'click' of undefined at HTMLElement._clearListener (google-map-marker.html:461)

Just need to test if '_listeners' is defined before tring to clear it.

This also result with no marker shown on the second google-map

Someone going to pick this up in a release or what?