diff --git a/lib/OpenLayers/Format/KML.js b/lib/OpenLayers/Format/KML.js index 6357459612..a99dbef6a9 100644 --- a/lib/OpenLayers/Format/KML.js +++ b/lib/OpenLayers/Format/KML.js @@ -249,19 +249,12 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, { * */ fetchLink: function(href) { - - if (OpenLayers.ProxyHost - && OpenLayers.String.startsWith(href, "http")) { - href = OpenLayers.ProxyHost + escape(href); - } - var request = new OpenLayers.Ajax.Request(href, {method: 'get', asynchronous: false }); if (request && request.transport) { return request.transport.responseText; } - }, /**