I have a editable polyline and I need to know when this polyline change their path variable. It is posible to add a new event (“path_change” or some like this) into my polyline?
Thanks
Regards
cadetill
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I was just facing this problem. I solved it by adding event listeners to the polyline path, which is implemented as an mvc array. I used the mvc array events documented here:
https://developers.google.com/maps/documentation/javascript/reference#MVCArray
Once you have your polyline set up:
Hope that helps.