angular-ui / angular-google-maps

AngularJS directives for the Google Maps Javascript API
http://angular-ui.github.io/angular-google-maps
2.52k stars 1.07k forks source link

Is it possible to listen to "set_at" event using the ui-gmap-polygon? #1234

Open ballistic opened 9 years ago

ballistic commented 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).

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

tflack commented 9 years ago

I have the same issue

AbderrahimDz24 commented 8 years ago

me too and I can't find a solution.

mattb103190 commented 8 years ago

Me too

mehanika commented 8 years ago

Me too