title: Disable zoom and links on google map
body: <p>I have disabled all the controls on google map , Using following parameters , </p>
  
  <pre><code>var mapOptions = {
          zoom: 15,
          center: new google.maps.LatLng(latitude,longitude),
          mapTypeId: google.maps.MapTypeId.ROADMAP,
          disableDefaultUI: true,
          draggable: false, 
                  zoomControl: false, 
                  scrollwheel: false,     
      };
  </code></pre>
  
  <p>But the user can still zoom in and zoom out for the map using double click.
  Also there are some popups on map which displays some information about that place.
  How can i disable double click zoom in and the popups that gives information.
  Is there is something missed in this settings ?</p>
  
  <h2><strong>Update</strong></h2>
  
  <h2>Finally got solution for disabling popups and links on Google map  <a href="https://stackoverflow.com/a/19710396/1246764">here</a>.</h2>
  
  <p>Here is <a href="http://jsfiddle.net/mrak/dHWVM/" rel="nofollow noreferrer">demo</a></p>
  
  <p>Call this function when map is finished loading.</p>
  
  <pre><code>function fixInfoWindow() {
      var set = google.maps.InfoWindow.prototype.set;
      google.maps.InfoWindow.prototype.set = function (key, val) {
          if (key === 'map') {
              if (!this.get('noSupress')) {
                  return;
              }
          }
          set.apply(this, arguments);
      }
  }
  </code></pre>