<% if (!obj.isMapboxAPI) { %>

Create style with

Local source <% } else { %> <% if (!obj.source._prefs.mapid) { %>

Your source has not been uploaded to Mapbox.

Upload to Mapbox Use source locally
<% } else { %>

Create style with

Map ID <%= _(source._prefs.mapid).escape()%>
Remote source Local source
<% } %> <% } %>
Recommended for development only. Styles using local sources cannot be uploaded to Mapbox or shared.