From 950bb1810c92d14344092990bd13b405afb05915 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 23 Feb 2016 15:59:56 +0100 Subject: [PATCH] Remove unneeded type cast --- src/ol/format/kmlformat.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ol/format/kmlformat.js b/src/ol/format/kmlformat.js index 270fee0552..c864bea402 100644 --- a/src/ol/format/kmlformat.js +++ b/src/ol/format/kmlformat.js @@ -318,7 +318,6 @@ ol.format.KML.ICON_ANCHOR_UNITS_MAP_ = { * @private */ ol.format.KML.createNameStyleFunction_ = function(foundStyle, name) { - /** @type {?ol.style.Text} */ var textStyle = null; var textOffset = [0, 0]; var textAlign = 'start'; @@ -378,7 +377,6 @@ ol.format.KML.createFeatureStyleFunction_ = function(style, styleUrl, var drawName = showPointNames; /** @type {ol.style.Style|undefined} */ var nameStyle; - /** @type {string} */ var name = ''; if (drawName) { if (this.getGeometry()) { @@ -1002,9 +1000,7 @@ ol.format.KML.readMultiGeometry_ = function(node, objectStack) { } } if (homogeneous) { - /** @type {ol.geom.GeometryLayout} */ var layout; - /** @type {Array.} */ var flatCoordinates; if (type == ol.geom.GeometryType.POINT) { var point = geometries[0];