To make the example work out of the box for external URLs, the URL to the proxy must be changed. (closes #1287)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5836 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2008-01-21 23:44:49 +00:00
parent df78f09e36
commit bf39fa06a9

View File

@@ -11,7 +11,7 @@
<script type="text/javascript">
var map, layer, rss, lineFeatures, popup;
OpenLayers.ProxyHost = "/proxy/?url=";
OpenLayers.ProxyHost = "proxy.cgi?url=";
function init(){
map = new OpenLayers.Map('map', {maxResolution:'auto'});
layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",