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

Places search doesn't update marker name/address when types are changed

DavidHudlow opened this issue · comments

Steps to reproduce:

  1. Run google-map-search with query and types entries
  2. View results
  3. Move map elsewhere
  4. Update types field
  5. Click on results to see name/address

Expected results: name/address correspond to points on map
Actual results: name/address correspond to points from previous search

NOTE: Updating the query field works correctly.

See DavidHudlow/polymer-starter-kit@f69d6d0 for code and quick reproduction.

Fighting the same issue here.

Possible workaround: this.$$("google-map-marker")._contentChanged();

Thank you, Paul