Cancel zoom from dbclick event onmap in google maps version 3

Posted by aleka on Stack Overflow See other posts from Stack Overflow or by aleka
Published on 2010-12-22T22:05:48Z Indexed on 2010/12/22 22:54 UTC
Read the original article Hit count: 181

I initiallize a map in my application like this:

function doLoad() { 
     var parnitha= new google.maps.LatLng(38.155428,23.718739);
     var myOptions = {
      zoom:16,
      mapTypeId: google.maps.MapTypeId.SATELLITE,
      center: parnitha,
      disableDefaultUI: true, 
              navigationControl: true, 
              scrollwheel: false, 
              navigationControlOptions: {
      style: google.maps.NavigationControlStyle.SMALL,
      position: google.maps.ControlPosition.TOP_LEFT}, 
    }
     map= new google.maps.Map(document.getElementById("map_canvas"), myOptions); }.

With double click on the map, it making zoom and i don't want this, because i want to use dbClick event for other reason.Please help me to remove the default dbClick event on the map.

Thanks a lot..

© Stack Overflow or respective owner

Related posts about google-maps

Related posts about google-maps-api-3