You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
I'm trying to trigger a click event on drawRoute and cannot through the current version of the script. What I've found works is manually adding click to the polyline_options within drawRoute, like such:
This works for my use case but is obviously a hack and would have to manually add the rest of the events if I were to support those. What would be a less hacky way of doing this? Any chance of it being added in an upcoming version?
By the way, this script is awesome and makes using Google Maps API significantly more pleasant! Thank you for it :) Also, I coincidentally happen to be working on something involving the Lima region of the map as well for this use case.
The text was updated successfully, but these errors were encountered:
I'm trying to trigger a click event on
drawRoute
and cannot through the current version of the script. What I've found works is manually adding click to thepolyline_options
withindrawRoute
, like such:This works for my use case but is obviously a hack and would have to manually add the rest of the events if I were to support those. What would be a less hacky way of doing this? Any chance of it being added in an upcoming version?
By the way, this script is awesome and makes using Google Maps API significantly more pleasant! Thank you for it :) Also, I coincidentally happen to be working on something involving the Lima region of the map as well for this use case.
The text was updated successfully, but these errors were encountered: