thanks that helped , I was trying to color and draw polylines, overlays *google.maps.event.addListener(drawingManager, 'overlaycomplete', function(event) { drawingComplete(event); });
function drawingComplete(event) { var kpoly = event.overlay; //console.log(kpoly); polys.push(kpoly); google.maps.event.addListener(kpoly, 'click', function() { kpoly.setOptions( { strokeColor: kolor, } ); }); }* -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/MmAi2VJNsIsJ. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.