Fix ProxyHost.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@784 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
var map, layer;
|
var map, layer;
|
||||||
|
|
||||||
function init(){
|
function init(){
|
||||||
OpenLayers.ProxyHost = '/proxy/';
|
OpenLayers.ProxyHost = '/proxy/?url=';
|
||||||
map = new OpenLayers.Map('map', {maxResolution:'auto'});
|
map = new OpenLayers.Map('map', {maxResolution:'auto'});
|
||||||
layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
|
layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
|
||||||
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
|
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
|
||||||
|
|||||||
Reference in New Issue
Block a user