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

Redundant code - google-map-search results already have latitude and longitude

retrocausal opened this issue · comments

The snippet below , doesn't serve any purpose as the search results already have latitude and longitude

screenshot from 2016-08-12 16-59-11

Screenshot from console.log(result);

screenshot from 2016-08-12 17-27-14

screenshot from 2016-08-12 17-03-58

Are you sure? This is not true according to the docs (https://developers.google.com/places/web-service/search#PlaceSearchResponses). If you remove the two lines that set the properties on the result object, what does the console print?

Darn! That was a bad bad testing I did. We can ignore #318
and close this as well.

closing this