Open ballistic opened 9 years ago
When using the ui-gmap-polygon directive, I can specify the events attribute so I can listen to the events that are triggered on the polygon (https://developers.google.com/maps/documentation/javascript/reference#Polygon).
ui-gmap-polygon
polygon
However, if I want to react to the set_at even, I need to get the polygon's path and then set an event listener to the path for that event.
set_at even
Since I'm using ui-gmap-polygon directive, I do not have access to when the polygon is created.
How would I go about listening to the set_at event while using the directive?
set_at
I've also asked this question on StackOverflow: http://stackoverflow.com/questions/29176269/listening-to-set-event-using-the-ui-gmap-polygon
I have the same issue
me too and I can't find a solution.
Me too
When using the
ui-gmap-polygon
directive, I can specify the events attribute so I can listen to the events that are triggered on thepolygon
(https://developers.google.com/maps/documentation/javascript/reference#Polygon).However, if I want to react to the
set_at even
, I need to get the polygon's path and then set an event listener to the path for that event.Since I'm using
ui-gmap-polygon
directive, I do not have access to when the polygon is created.How would I go about listening to the
set_at
event while using the directive?I've also asked this question on StackOverflow: http://stackoverflow.com/questions/29176269/listening-to-set-event-using-the-ui-gmap-polygon