title: Enable/Disable dragging of marker on google Map
body: <p>I'm trying to enable dragging with the button "Enable" and disable dragging with the button "Disable" in my google maps code. I tried with this code after the creation of each marker:</p>
  
  <pre><code>function Disable() {
        marker.disableDragging();}
   function Enable() {
        marker.enableDragging();
      }
  </code></pre>
  
  <p>But it doesn't work, and i don't know why. I think that code is correct, but what is wrong?</p>