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

Google maps search doesn't work when added to the DOM after map

DavidHudlow opened this issue · comments

Due to the brittle logic in the _setLocation method, if map is already set and a search is initialized with default null values for latitude/longitude, it throws an error.

See DavidHudlow/polymer-starter-kit@76ec24c for reproduction.