title: How to set max zoom
body: <p>So I noticed in the older version of the API there was a <code>maxZoomLevel</code> under <code>nokia.maps.map.Display</code>. However I can not find anything similar to this in the JS API 3.0. </p>
  
  <p>Currently I am using</p>
  
  <pre><code>map.addEventListener('mapviewchange', function () {
      var zoom=map.getZoom();
      if(zoom&lt;=maxZoom)  {
          map.setZoom(maxZoom)
      }
  });
  </code></pre>
  
  <p>But once it hits the <code>maxZoom</code> and you zoom out more it is very choppy since it zooms out a bit then I set it back to <code>maxZoom</code>.  Is there any better way of doing this?</p>