OpenLayers OpenLayers

Changeset 5800

Show
Ignore:
Timestamp:
01/17/08 15:45:11 (1 year ago)
Author:
ianmayo
Message:

add worldwind backdrop - to check on scaling in/out

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/ianmayo/branches/app2/openlayers/examples/vector-features.html

    r5362 r5800  
    1313 
    1414        function init(){ 
    15             map = new OpenLayers.Map('map'); 
     15            map = new OpenLayers.Map('map', {'maxResolution': .28125, tileSize: new OpenLayers.Size(512, 512)}); 
     16//            map = new OpenLayers.Map('map'); 
    1617            var layer = new OpenLayers.Layer.WMS( "OpenLayers WMS", 
    1718                    "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} ); 
    1819            map.addLayer(layer); 
     20 
     21            var ww = new OpenLayers.Layer.WorldWind( "Bathy", 
     22            "http://worldwind25.arc.nasa.gov/tile/tile.aspx?", 36, 4, 
     23            {T:"bmng.topo.bathy.200406"}); 
     24            var ww2 = new OpenLayers.Layer.WorldWind( "LANDSAT", 
     25                "http://worldwind25.arc.nasa.gov/tile/tile.aspx", 2.25, 4, 
     26                {T:"105"}); 
     27            map.addLayer(ww); 
     28            map.addLayer(ww2); 
     29            map.addControl(new OpenLayers.Control.LayerSwitcher());          
     30 
    1931 
    2032            /*