Samuel H.
unread,Mar 1, 2011, 3:58:40 AM3/1/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
Hello everybody,
It seems that it has been since a few time, the double click event is not automatically handled.
Our application constructs a sketch clicking for adding new vertex, then double clicking for terminating building.
Basically we only had to declare these two events like this way :
this.clickHandler = google.maps.event.addListener(
this.map,
"click",
function(pEvent) {
self.onClick(pEvent.latLng);
}
);
this.doubleClickHandler = google.maps.event.addListener(
this.map,
"dblclick",
function(pEvent) {
self.onDoubleClick(pEvent.latLng);
}
);
This has not worked anymore since a few weeks.
I am now able to handle using the same code; I am currently using a timeout between two clicks. Setting the timeout helps the double click be triggered.
What has changed in Google API?
Are someones facing same problems.