I don't care "who" writes here and what is his/her name. The only thing I wonder "what" he/she writes.
So if the majority is stuck around weird rules in here, I don't want any help of those minds. But thanks for your suggestions and kindness. (no sarcasm). Ali Oz (that's my name, FYI) 2009/12/15 Marcelo <[email protected]> > I can give you a couple of suggestions to improve your chances of > getting a reply. > > 1. Get a name. Do you see anyone posting with no name? > > 2. If you claim you found a "bug", then post a link to a demonstrator: > http://www.catb.org/%7Eesr/faqs/smart-questions.html#id382249 > > 3. Please read and follow the group's posting guidelines: > > http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines > > http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical > > Personally, I ignore code dumps, and so do many of the other top > posters in this group. > > -- > Marcelo - http://maps.forum.nu > -- > > > > On Dec 15, 9:00 am, - <[email protected]> wrote: > > I'm trying to guess why disabledragging makes the marker clicked twice. > Is > > this a bug? > > > > 2009/12/13 - <[email protected]> > > > > > Subjects says all, here's my code (I'm trying to pass new marker latlng > > > values to the server via the hidden field): > > > > > > ************************************************************************************* > > > { > > > ... > > > ... > > > ... > > > ... > > > ... > > > > > GEvent.addListener(draggablemarker, "click", > > > function() { > > > // AddToOptionList(ddlmarkers2, ddlmarkers2.length, > > > this.id); > > > > > draggablemarker.disableDragging(); > > > > > alert('CLICK EVENT'); > > > loadedMarkers.push(draggablemarker); > > > > > saveMarkerToHdnTempPlaces(this); > > > > > draggablemarker.openInfoWindow("New position has > been > > > set"); > > > } > > > ); > > > > > } > > > > > function saveMarkerToHdnTempPlaces(marker){ > > > > > var hdnTempPlaces = > > > document.getElementById("<%=hdnTempPlaces.ClientID %>"); > > > > > hdnTempPlaces.value =hdnTempPlaces.value + > > > marker.getLatLng().lat(); > > > hdnTempPlaces.value =hdnTempPlaces.value + "+"; > > > hdnTempPlaces.value =hdnTempPlaces.value + > > > marker.getLatLng().lng(); > > > hdnTempPlaces.value =hdnTempPlaces.value + "+"; > > > } > > > > > > ************************************************************************************* > > > > > when i click on the marker, click event listener works twice. > > > when i exclude disabledragging, it works well. > > > > > so what's wrong? > > -- > > You received this message because you are subscribed to the Google Groups > "Google Maps API" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
