# Map Object ## L.mapbox.map(element, id|url|tilejson, options) Create and automatically configure a map with layers, markers, and interactivity. _Extends_: `L.Map` | Options | Value | Description | | ---- | ---- | ---- | | element (_required_) | string | Must be the id of an element, or a DOM element reference. | | id _or_ url _or_ tilejson | __string__ if _id_ or _url_ __object__ if _tilejson_ | url can be | | options | object | If provided, it is the same options as provided to L.Map with the following additions: