var layer = L.mapbox.tileLayer('neteb537.hoc3o3dp'); layer.on('ready', function() { // the layer has been fully loaded now, and you can // call .getTileJSON and investigate its properties });