From 4fe8729895dc59ef1e890ee531a3fbb75d5bf061 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Thu, 29 Jun 2006 15:32:22 +0000 Subject: [PATCH] Commit new version of MVS, nasa turned off by default. git-svn-id: http://svn.openlayers.org/trunk/openlayers@830 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/mvs.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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':