Include layer name in rendered XML output.

This commit is contained in:
Young Hahn 2011-01-10 01:15:34 -05:00
parent 3697c68d1d
commit 75a11ea636

View File

@ -195,7 +195,8 @@ mess.Renderer = function Renderer(env) {
styles = _.template('<StyleName><%= name %></StyleName>'),
layer = _.template(' <Layer\n id="<%= id %>"\n ' +
layer = _.template(' <Layer\n id="<%= id %>"\n ' +
' name="<%= name %>">\n' +
' srs="<%= srs %>">\n' +
'<% for (s in styles) { %>' +
' <StyleName><%= styles[s] %></StyleName>\n' +