can we ?
i want to do something like this:
google.maps.event.addListener(map, 'db_right_click', function(event) {
alert('ssss')
}
how to catche the 'db_right_click' event ??
is there any way ??
can we ?
i want to do something like this:
google.maps.event.addListener(map, 'db_right_click', function(event) {
alert('ssss')
}
how to catche the 'db_right_click' event ??
is there any way ??
i get it
and
this is my code:
//*********** double right click ********/
var c =0 ;
$('#map_canvas')[0].onmousedown=function(event){
if(event.button == 2){
c++;
setTimeout(cc, 600);
}
if (c >1){
alert('ok i get it')
}
}
function cc{
c=0;
}
//*********** double right click ********/