Vote count: 0 I have been trying to implement polygons into google maps with the angular directive thing on top of it and am ruing into a couple of issues that I can't find solutions for in the docs. If I create a polygon with the ui-gmap-polygon directive then I can specify an events parameter which can link through to the controller where I can then run some javascript on click etc... However if the polygon is created by the ui-gmap-drawing-manager directive what do I hook onto? The only thing I can find in the docs is for events like "overlaycomplete" however I cant seem to get access to the actual polygon to trigger stuff on an on click event etc... Does anyone know a solution to this, I...
ادامه مطلب