diff --git a/examples/kml-timezones.js b/examples/kml-timezones.js index 1bce4ed208..8eaf41243e 100644 --- a/examples/kml-timezones.js +++ b/examples/kml-timezones.js @@ -48,7 +48,7 @@ var style = new ol.style.Style({ opacity: ol.expr.parse('getOpacity()') }), new ol.style.Stroke({ - color: '#ffffff', + color: '#ffffff' }) ] }); diff --git a/src/ol/parser/kml.js b/src/ol/parser/kml.js index 79691dd687..346100b9b7 100644 --- a/src/ol/parser/kml.js +++ b/src/ol/parser/kml.js @@ -691,7 +691,7 @@ ol.parser.KML = function(opt_options) { 'IconStyle': function(obj) { var node = this.createElementNS('IconStyle'); this.setAttributeNS(node, null, 'id', obj.id); - this.writeNode('Icon', + this.writeNode('Icon', obj.symbolizer.createLiteral(ol.geom.GeometryType.POINT).url, null, node); return node; diff --git a/src/ol/style/style.js b/src/ol/style/style.js index d5e7c42298..e098cc75cf 100644 --- a/src/ol/style/style.js +++ b/src/ol/style/style.js @@ -92,7 +92,7 @@ ol.style.Style.createLiterals = function(symbolizers, featureOrType) { literals[i] = symbolizers[i].createLiteral(featureOrType); } return ol.style.Style.reduceLiterals_(literals); -} +}; /** @@ -122,8 +122,8 @@ ol.style.Style.reduceLiterals_ = function(literals) { stroke = literal; reduced.push(stroke); } - } else if (goog.isDef(literal.fillColor) - && !goog.isDef(literal.strokeColor)) { + } else if (goog.isDef(literal.fillColor) && + !goog.isDef(literal.strokeColor)) { // fill only, check for previous stroke only if (stroke) { for (key in literal) { diff --git a/test/spec/ol/parser/kml.test.js b/test/spec/ol/parser/kml.test.js index f0c80e04fc..b9b2e840c6 100644 --- a/test/spec/ol/parser/kml.test.js +++ b/test/spec/ol/parser/kml.test.js @@ -337,7 +337,7 @@ goog.require('goog.array'); goog.require('goog.dom.xml'); goog.require('ol.Feature'); -goog.require('ol.geom.GeometryType') +goog.require('ol.geom.GeometryType'); goog.require('ol.geom.GeometryCollection'); goog.require('ol.geom.LineString'); goog.require('ol.geom.MultiLineString'); diff --git a/test/spec/ol/style/style.test.js b/test/spec/ol/style/style.test.js index 8eb2ec2fe0..d392a93d1c 100644 --- a/test/spec/ol/style/style.test.js +++ b/test/spec/ol/style/style.test.js @@ -275,7 +275,7 @@ describe('ol.style.Style', function() { }); - }) + }); });