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-map-search: no result not tackled

supita opened this issue · comments

If I submit a query that gives no results, I'll get an error. This could be avoided if in the function gotResults the response status is checked (status == google.maps.places.PlacesServiceStatus.OK) or if it's checked that there's any element in the array of results.

Closing as this is pre Polymer 1.0. Please reopen if you can still reproduce or want to see this implemented in the new element.