Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Further, to use KML, GeoRSS or WFS we will need this functionality. Currently you cannot use these layer types if the source is from a different domain.
Committed in #286010: a per-preset option to set the OpenLayers ProxyHost variable. Actually providing a proxy is way outside the scope of this module.
Just an FYI. We are not necessarily putting Proxy support into the OpenLayers module, but I have made the Proxy module which should solve all your proxy needs.
All you have to do is set the ProxyHost to: proxy?request=
By the way, I'm not sure if I support the integration of Proxy into 1.x that was just committed to that branch in 2.x, if it's going to be automatic, I think it's more predictable for the user for the Proxy module to form_alter the preset form so that the proxy host textfield has a big, obvious suggestion that they should set it to X.
Comments
Comment #1
zzolo commentedComment #2
spydmobile commentedFurther, to use KML, GeoRSS or WFS we will need this functionality. Currently you cannot use these layer types if the source is from a different domain.
Comment #3
tmcw commentedCommitted in #286010: a per-preset option to set the OpenLayers ProxyHost variable. Actually providing a proxy is way outside the scope of this module.
Comment #4
zzolo commentedJust an FYI. We are not necessarily putting Proxy support into the OpenLayers module, but I have made the Proxy module which should solve all your proxy needs.
All you have to do is set the ProxyHost to:
proxy?request=Comment #5
tmcw commentedSo, this is a documentation task? Could you add it to the README or handbook?
Comment #6
zzolo commentedSure thing. Reponening, assigning, and chanign title.
Comment #7
tmcw commentedBy the way, I'm not sure if I support the integration of Proxy into 1.x that was just committed to that branch in 2.x, if it's going to be automatic, I think it's more predictable for the user for the Proxy module to form_alter the preset form so that the proxy host textfield has a big, obvious suggestion that they should set it to X.
Comment #8
tmcw commentedDocumentation added in
http://drupal.org/cvs?commit=331086