Update example to current API.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1488 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
<!--
|
<!--
|
||||||
function init(){
|
function init(){
|
||||||
var map = new OpenLayers.Map('map', {'maxResolution': .0703125*4});
|
var map = new OpenLayers.Map('map', {'maxResolution': .0703125*4, tileSize: new OpenLayers.Size(512, 512)});
|
||||||
|
|
||||||
var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
|
var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
|
||||||
"http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
|
"http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
|
||||||
@@ -19,11 +19,9 @@
|
|||||||
var ww = new OpenLayers.Layer.WorldWind( "Bathy",
|
var ww = new OpenLayers.Layer.WorldWind( "Bathy",
|
||||||
"http://worldwind25.arc.nasa.gov/tile/tile.aspx?", 36, 4,
|
"http://worldwind25.arc.nasa.gov/tile/tile.aspx?", 36, 4,
|
||||||
{T:"bmng.topo.bathy.200406"});
|
{T:"bmng.topo.bathy.200406"});
|
||||||
ww.setTileSize(new OpenLayers.Size(512,512));
|
|
||||||
var ww2 = new OpenLayers.Layer.WorldWind( "LANDSAT",
|
var ww2 = new OpenLayers.Layer.WorldWind( "LANDSAT",
|
||||||
"http://worldwind25.arc.nasa.gov/tile/tile.aspx", 2.25, 4,
|
"http://worldwind25.arc.nasa.gov/tile/tile.aspx", 2.25, 4,
|
||||||
{T:"105"});
|
{T:"105"});
|
||||||
ww2.setTileSize(new OpenLayers.Size(512,512));
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user