You are viewing an older version of Mapbox.js. Check out v3.1.1 for the latest.

Theming

Dark theme

Mapbox.js implements a simple, light style on all interaction elements. A dark theme is available by applying class="dark" to the map div.

Example:

<div id="map" class="dark"></div>