diff --git a/examples/mvs.html b/examples/mvs.html index 448359b221..009723eeea 100644 --- a/examples/mvs.html +++ b/examples/mvs.html @@ -41,6 +41,7 @@ function getArgs() { function runMVS() { + OpenLayers.ProxyHost = '/proxy/?url='; if (document.location.protocol != "file:") { theArgs = getArgs(); } else { @@ -49,7 +50,7 @@ function runMVS() { theArgs.zoom = "0"; theArgs.data = "textfile.txt"; theArgs.controls = ['panzoom','mouse']; - theArgs.layers = ['openlayers', 'nasa']; + theArgs.layers = ['openlayers']; } @@ -61,7 +62,7 @@ function runMVS() { var DEFAULT_LON = 0; var DEFAULT_ZOOM_LEVEL = 0; var DEFAULT_CONTROLS = ['panzoom','mouse']; - var DEFAULT_LAYERS = ['openlayers', 'nasa']; + var DEFAULT_LAYERS = ['openlayers']; var IDX_LAT = 0; var IDX_LON = 1; @@ -84,9 +85,9 @@ function runMVS() { theArgs.layers.split(",") : DEFAULT_LAYERS; safeArgs.data = theArgs.data; // TODO: Make this "safe". - + // ----- - var theMVS = new OpenLayers.Map($('map'), {controls: []}); + var theMVS = new OpenLayers.Map($('map'), {controls: [], maxResolution: 'auto'}); for(var i = 0; i < safeArgs.controls.length; i++) { switch(safeArgs.controls[i]) { case 'panzoombar':