On Jul 22, 12:39 am, Nianwei Liu <nian...@gmail.com> wrote: > This one is a bindTo Solution. > > http://gmaps-utility-gis.googlecode.com/svn/trunk/v3test/mvc/poly_bin... >
one small clarification, I guess you don't need to set the position of the marker on construction because position is bound to the MVCArray: var marker = new google.maps.Marker({ // position: event.latLng, <--- can we remove this line?? title: '#' + len, map: map, draggable : true }); marker.bindTo('position', poly.binder, (len-1).toString()); ... -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@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.