diff --git a/lib/carto/tree/layer.js b/lib/carto/tree/layer.js index b18ac80..1a9e676 100644 --- a/lib/carto/tree/layer.js +++ b/lib/carto/tree/layer.js @@ -2,7 +2,6 @@ tree.Layer = function Layer(obj) { this.name = obj.name; - if (typeof obj.status === 'undefined') obj.status = true; this.status = obj.status; this.styles = obj.styles; this.properties = obj.properties || {}; @@ -25,7 +24,7 @@ tree.Layer.prototype.toXML = function() { return '\n ' + this.styles.reverse().map(function(s) { return '' + s + '';