title: Google maps, setting minimum and maximum slider controls
body: <p>I am working on a googlemap, which all works fine, apart from the fact I can't seem to set a max and min zoom (I would like to limit the levels to a couple of levels either way of a default zoom view)</p>
  
  <p>I have tried using the map.getMimimumResolution, but this doesn't seem to work - any ideas ?</p>
  
  <pre><code>function initialize() {   
     var latlng = new google.maps.LatLng("&lt;%=Html.Encode(Model.Field01.Field01) %&gt;", "&lt;%=Html.Encode(Model.Field01.Field03) %&gt;");
      var myOptions = {
      zoom: 13,
          center: latlng,
          disableDefaultUI: false,
          navigationControl: true,
          navigationControlOptions: {style: google.maps.NavigationControlStyle.ZOOM_PAN},
          navigationControl: true,
          mapTypeId: google.maps.MapTypeId.ROADMAP
  
      };
      var map = new google.maps.Map(document.getElementById("mapcontainer"), myOptions);
  
      map.getMinimumResolution = function() { return 6 }; 
  
      var marker = new google.maps.Marker({
          position: latlng,
          map: map,
          title: "&lt;%=Model.AccomName %&gt;"
        });
  }
  </code></pre>
  
  <p>Any thoughts appreciated, Thanks</p>