parent
d17416b54f
commit
2c93bed235
@ -107,6 +107,11 @@ tree.Definition.prototype.symbolizersToXML = function(env, symbolizers, zoom) {
|
||||
var selfclosing = true, tagcontent;
|
||||
xml += ' <' + name + ' ';
|
||||
for (var key in attributes) {
|
||||
if (symbolizer === 'map') env.error({
|
||||
message: 'Map properties are not permitted in other rules',
|
||||
index: attributes[key].index,
|
||||
filename: attributes[key].filename
|
||||
});
|
||||
var x = tree.Reference.selector(attributes[key].name);
|
||||
if (x && x.serialization && x.serialization === 'content') {
|
||||
selfclosing = false;
|
||||
|
Loading…
Reference in New Issue
Block a user