proxy chasing
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9009 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -89,7 +89,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
OpenLayers.ProxyHost= "/cgi-bin/proxy.cgi?url=";
|
OpenLayers.ProxyHost= "proxy.cgi?url=";
|
||||||
map = new OpenLayers.Map('map', {
|
map = new OpenLayers.Map('map', {
|
||||||
projection: new OpenLayers.Projection("EPSG:900913"),
|
projection: new OpenLayers.Projection("EPSG:900913"),
|
||||||
displayProjection: new OpenLayers.Projection("EPSG:4326"),
|
displayProjection: new OpenLayers.Projection("EPSG:4326"),
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
var map;
|
var map;
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
OpenLayers.ProxyHost= "/cgi-bin/proxy.cgi?url=";
|
OpenLayers.ProxyHost= "proxy.cgi?url=";
|
||||||
map = new OpenLayers.Map('map');
|
map = new OpenLayers.Map('map');
|
||||||
var wms = new OpenLayers.Layer.WMS(
|
var wms = new OpenLayers.Layer.WMS(
|
||||||
"OpenLayers WMS", "http://labs.metacarta.com/wms/vmap0",
|
"OpenLayers WMS", "http://labs.metacarta.com/wms/vmap0",
|
||||||
|
|||||||
Reference in New Issue
Block a user