---
layout: api
title: "v2.1.9 JavaScript Library: L.mapbox.map(element, id|url|tilejson, options)"
categories: api
version: v2.1.9
permalink: /api/v2.1.9/l-mapbox-map/
---
<h2 id="section-l-mapbox-map">L.mapbox.map(element, id|url|tilejson, options)</h2>
<p>Create and automatically configure a map with layers, markers, and
interactivity.</p>
<p><span class='leaflet icon'><em>Extends</em>: <code><a href="/mapbox.js/api/v2.1.9/l-map-class">L.Map</a></code></span></p>
<table>
<thead>
<tr>
<th>Options</th>
<th