You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Ajax calls via OpenLayers, OpenLayers will automatically apply a proxy
setting.
Via e.g. OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url=";
This is mainly for WMS GetFeatureInfo and such. But for some Ajax calls, e.g.
WFS, the Ext.Ajax lib is directly called from GeoExt.
So the GeoExt project created an override function that replaces Ext.Ajax with
OpenLayers Ajax.
However GeoExt (1.1) did not include this override in its build so Heron apps
always had to
add this line in their HTML:
<script type="text/javascript" src="http://lib.heron-mc.org/geoext/1.1/lib/overrides/override-ext-ajax.js"></script>
This was often overlooked and lead to many hours of debugging why requests did
not seem to use the OL Proxy.
So with this issue we move the override-ext-ajax.js function to the existing
Heron override-ext.js so it is always included. Although this looks like
duplication, the savings on time are great as we don't need to figure out when
to include the separate override js file as it is now in Heron.js.
Original issue reported on code.google.com by [email protected] on 17 Apr 2013 at 2:14
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 17 Apr 2013 at 2:14The text was updated successfully, but these errors were encountered: