<%= this.analytics(obj) %> <%= style.name %> <%= style.source.split(':')[0] === 'tmsource' ? 'local' : '' %> <%= mapboxAPI.isMapboxAPI ? 'api-mapbox' : 'api-offline' %> clip'>

Inspecting data

Mapbox Studio Classic styles are powered by vector tiles that contain feature data and attributes. Use the inspector to see a wireframe of the raw vector data. Click the map to view details about a feature.

Settings

Save project to share
Use remote source to share
Upload to Mapbox
or download package
Download package
<%= style.center[0].toFixed(4) %>,<%= style.center[1].toFixed(4) %>,<%= style.center[2] %> '>
<%= style.minzoom %>
<%= style.maxzoom %>

Layers

Change source <% if (style.layers) { %>
Source locked (custom layer order)
<% } %>
<% var sourcelayers = this.sourcelayers({ id: sources[0].id, name: sources[0].name, vector_layers: sources[0].vector_layers, xraycolor:this.xraycolor, userlayers:style.layers }); %> <%= sourcelayers %>

Fonts

<%= this['userfonts']({fonts:style.fonts,id:style.id}) %>
<%= this['stylefonts'](fontsRef) %>

Documentation

<%= this['stylereference'](cartoRef) %>

Styles & Sources

<%= this.history(obj) %>

Editing + saving

Change the Map background-color property to a hex code (#f88) or html color (pink). Hit s to save and update your style. The map preview on the left updates as you work.
<% if (style._tmp) { %> Save as <% } else { %> SaveSaved <% } %> Settings Settings Layers Layers Fonts Fonts Docs Docs

Style editor

In the Mapbox Studio Classic style editor you can design map styles using data from OpenStreetMap, Mapbox, and other custom sources. Then publish them to be used with the Mapbox API.

Publishing

Styles can be packaged as .tm2z files that include your style and any image resources in your style folder. Click the Package button or Upload directly to your Mapbox account.

Vector sources

Each style is powered by a vector source. Click a layer to see more about the data that can be styled. Use the Change source button to switch out the active vector source for another.

Fonts

The fonts drawer displays previews of fonts that Mapbox Studio Classic can use. Use the correct combination of font family and weight in your CartoCSS to the font used by text labels.

Switching projects

Click your avatar to see styles you've edited recently or start a new style. Switch to the Sources pane to create or edit vector sources from your custom data.
<% if (test) { %> <% } %>