allenhwkim/angularjs-google-maps

Issue with directions directive

yeshwanth-bb opened this issue · 1 comments

I am trying to show the google suggested route on maps using directions directive.

Initial render always works fine but sometimes when the origin or destination is changed the path is not getting updated. Its still picking the old values.

Initial render
alt text

After Changing
alt text

This is my Plunker

Please help!

Update

-- This issue is happening only when both source and destination got changed. If only one of them is changed it is working as expected.