OpenLayers OpenLayers

Changeset 6195

Show
Ignore:
Timestamp:
02/10/08 21:39:01 (1 year ago)
Author:
crschmidt
Message:

No need for ProxyHost to be in Format.KML directly anymore, since #1350
adds it to Ajax.Request. Thanks, rdewit. r=me (Closes #1354)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Format/KML.js

    r6179 r6195  
    250250     */ 
    251251    fetchLink: function(href) { 
    252  
    253         if (OpenLayers.ProxyHost  
    254                 && OpenLayers.String.startsWith(href, "http")) { 
    255             href = OpenLayers.ProxyHost + escape(href); 
    256         } 
    257  
    258252        var request = new OpenLayers.Ajax.Request(href,  
    259253                      {method: 'get', asynchronous: false }); 
     
    262256            return request.transport.responseText; 
    263257        } 
    264  
    265258    }, 
    266259