[OpenLayers-Commits] r7521 - sandbox/topp/almanac/lib/OpenLayers/Control
commits at openlayers.org
commits at openlayers.org
Wed Jul 16 09:15:52 EDT 2008
Author: sbenthall
Date: 2008-07-16 09:15:52 -0400 (Wed, 16 Jul 2008)
New Revision: 7521
Modified:
sandbox/topp/almanac/lib/OpenLayers/Control/YahooGeocoder.js
Log:
oh, so the new OL.Request stuff does proxying automagically. Sweet.
Modified: sandbox/topp/almanac/lib/OpenLayers/Control/YahooGeocoder.js
===================================================================
--- sandbox/topp/almanac/lib/OpenLayers/Control/YahooGeocoder.js 2008-07-15 23:00:27 UTC (rev 7520)
+++ sandbox/topp/almanac/lib/OpenLayers/Control/YahooGeocoder.js 2008-07-16 13:15:52 UTC (rev 7521)
@@ -16,13 +16,6 @@
* See here: http://developer.yahoo.com/faq/index.html#appid
*/
appid: null,
-
- /**
- * proxy: proxy
- * {String} The URL of the proxy.
- */
-
- proxy: null,
/**
* Property: clientProj
@@ -45,7 +38,6 @@
*/
initialize: function(appid, options) {
this.appid = appid;
- this.proxy = "";
this.serverProj = new OpenLayers.Projection("EPSG:4326");
@@ -115,7 +107,7 @@
}, this);
this.request = OpenLayers.Request.GET({
- url: this.proxy + escape(this.yahooUrl),
+ url: this.yahooUrl,
callback: bound,
params: params,
scope: this
More information about the Commits
mailing list