diff --git a/src/ol/featureloader.js b/src/ol/featureloader.js index 08fc907d77..09c484031b 100644 --- a/src/ol/featureloader.js +++ b/src/ol/featureloader.js @@ -81,7 +81,7 @@ ol.featureloader.loadFeaturesXhr = function(url, format, success, failure) { var source; if (type == ol.format.FormatType.JSON || type == ol.format.FormatType.TEXT) { - source = /** @type {string} */ (xhr.responseText); + source = xhr.responseText; } else if (type == ol.format.FormatType.XML) { source = xhr.responseXML; if (!source) {