From f42bb157162f115d75c85e861b3b47c172635ea1 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Mon, 11 Feb 2008 02:39:01 +0000 Subject: [PATCH] No need for ProxyHost to be in Format.KML directly anymore, since #1350 adds it to Ajax.Request. Thanks, rdewit. r=me (Closes #1354) git-svn-id: http://svn.openlayers.org/trunk/openlayers@6195 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Format/KML.js | 7 ------- 1 file changed, 7 deletions(-) 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; } - }, /**