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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user