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

Directions doesn't observe start-address and end-address

DavidHudlow opened this issue · comments

Because google-map-directions doesn't observe its address fields, binding on them doesn't really work. It really limits the usefulness for user-interaction.

Hmm, it should. Any time startAddress/endAddress changes after the fact, _route() should be called: https://github.com/GoogleWebComponents/google-map/blob/master/google-map-directions.html#L146

You're right. My bad. It was only reading that way because I missed the automatic camelCase to delimiter-separated conversion between HTML elements and Polymer properties.