m>Example</em>:</p>
<pre><code>// map refers to a &lt;div&gt; element with the ID map
// mapbox.streets is the ID of a map on Mapbox.com
var map = L.mapbox.map(&#39;map&#39;, &#39;mapbox.streets&#39;);

// map refers to a &lt;div&gt; element with the ID map
// This map will have no layers initially
var map = L.mapbox.map(&#39;map&#39;);
</code></pre><p><em>Returns</em>: a map object</p>
<p><em>Class</em>: <code><a href="/mapbox.js/api/v2.2.4/l-mapbox-map">L.mapbox.Map</a></code></p>
<h3 id="section-map-gett