<%= obj.name || 'Untitled' %>

<% if (obj.id.indexOf('tmsource://') === 0) { %> Local <% } else {%> Remote <% } %>
<% if (obj.vector_layers) { %> <% _(obj.vector_layers).chain().clone().reverse().each(_(function(l) { %>
'> #<%=l.id%>
<% if (typeof l.minzoom === 'number' && typeof l.maxzoom === 'number') { %> z<%= l.minzoom||0 %>-<%= l.maxzoom||22 %> <% } %>
<%=l.description||'No description.'%>
<% _(l.fields||{}).each(function(desc,name) { %>
<%=name%> <%=desc||'No description.'%>
<% }); %>
<% }).bind(this)); %> <% } else { %>
No layers found Select image tiles from this source for styling as rasters using #_image
<% } %>