Include layer name in rendered XML output.
This commit is contained in:
parent
3697c68d1d
commit
75a11ea636
@ -195,7 +195,8 @@ mess.Renderer = function Renderer(env) {
|
|||||||
|
|
||||||
styles = _.template('<StyleName><%= name %></StyleName>'),
|
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' +
|
' srs="<%= srs %>">\n' +
|
||||||
'<% for (s in styles) { %>' +
|
'<% for (s in styles) { %>' +
|
||||||
' <StyleName><%= styles[s] %></StyleName>\n' +
|
' <StyleName><%= styles[s] %></StyleName>\n' +
|
||||||
|
Loading…
Reference in New Issue
Block a user