title: Leaflet maxBounds - bounds do not work
body: <p>I tried out Leafletjs maxBounds with <a href="https://www.mapbox.com/mapbox.js/example/v1.0.0/maxbounds/" rel="noreferrer">example code I found at Mapbox</a>.</p>
  
  <p>Below you find my complete code, also in a <a href="http://jsfiddle.net/wolfmuc/1zyL4q4a/6/" rel="noreferrer">jsfiddle here</a>.</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;map - leaflet test bounds&lt;/title&gt;
          &lt;meta charset="UTF-8"&gt;
          &lt;meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui" /&gt;
          &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
  
          &lt;!-- leafletjs --&gt;
          &lt;link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /&gt;
          &lt;script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"&gt;&lt;/script&gt;
  
          &lt;style&gt;
              body {
                  margin: 0;
                  padding: 0;
              }
              html, body, #map {
                  height: 100%;
                  width: 100%;
              }
          &lt;/style&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;div id="map"&gt;
          &lt;script&gt;
  
              var southWest = L.latLng(40.712, -74.227),
                  northEast = L.latLng(40.774, -74.125),
                  mybounds = L.latLngBounds(southWest, northEast);
  
              var map = L.map('map').setView([40.743, -74.176], 17);
              L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png' , {
                  maxBounds: mybounds,
                  maxZoom: 18,
                  minZoom: 16,
                  attribution: '&amp;copy; &lt;a href="http://openstreetmap.org"&gt;OpenStreetMap&lt;/a&gt; contributors'
              }) .addTo(map);
  
              L.marker([40.743, -74.176]) .addTo(map);
  
          &lt;/script&gt;
      &lt;/div&gt;        
  &lt;/body&gt;
  </code></pre>
  
  <p></p>
  
  <p>The jsfiddle result looks odd, I don't know why.</p>
  
  <p>Why doesn't the upper code work like the Mapbox example?</p>