title: Publishing MBTiles online, issue with .json file or mb-util extraction
body: <p>I've been trying to display my .mbtiles on the browser inside a "map-div". I extracted the .mbtiles into .png tile files and a .json file using <a href="https://github.com/mapbox/mbutil" rel="nofollow noreferrer">mb-util</a></p>
  
  <p>This is how my server's public_html looks like:  <img src="https://i.stack.imgur.com/VUoqk.jpg" alt="enter image description here"></p>
  
  <p>Tiles folder:  <img src="https://i.stack.imgur.com/AG6Kc.jpg" alt="enter image description here"></p>
  
  <p>metadata.json inside tiles folder:  <img src="https://i.stack.imgur.com/9umy2.jpg" alt="enter image description here"></p>
  
  <p>And main javascript file java.js:  <img src="https://i.stack.imgur.com/yKZRC.jpg" alt="enter image description here"></p>
  
  <p>Inside java.js there's the code from the <a href="http://www.mapbox.com/wax/connector-leaf.html" rel="nofollow noreferrer">Wax connector</a> so I can use the .json to work with Leaflet.</p>
  
  <p>The map in this state does not work.</p>
  
  <p>So I uploaded the mbtiles file to the MapBox hosting and fetch the .json URL. And when the URL <a href="http://testit969.host22.com/tileserver/century.json" rel="nofollow noreferrer">http://testit969.host22.com/tileserver/century.json</a> in java.js is replaced by the Mapbox generated .json URL, it displays the map (although the interactivity doesn't work). This shows me at least that the code is sufficient to display a map provided the .json file is OK.</p>
  
  <p>But right now, the map doesn't display at all. It displays the Leaflet map container only in gray.</p>
  
  <p>Any help would be appreciated.</p>