google-map icon indicating copy to clipboard operation
google-map copied to clipboard

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

Open DavidHudlow opened this issue 9 years ago • 4 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 https://github.com/DavidHudlow/polymer-starter-kit/commit/f69d6d0e2b53ebb1f3545d5c81ef2df4114e7c95 for code and quick reproduction.

DavidHudlow avatar Apr 25 '16 15:04 DavidHudlow

Fighting the same issue here.

cwenzelg avatar Jun 16 '16 17:06 cwenzelg

screenshot 2017-01-19 at 8 26 17 am

live demo

marcus7777 avatar Jan 19 '17 08:01 marcus7777

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

panuhorsmalahti avatar May 05 '17 12:05 panuhorsmalahti

Thank you, Paul

marcus7777 avatar May 06 '17 17:05 marcus7777