From b638cdc8781b120ee1cea0237d07ffb6a26cf2ea Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 14 Sep 2007 02:44:45 +0000 Subject: [PATCH] Yahoo example uses yahoo layer first. git-svn-id: http://svn.openlayers.org/trunk/openlayers@4294 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/yahoo.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/yahoo.html b/examples/yahoo.html index 2bdcd8ed61..f39206b2f1 100644 --- a/examples/yahoo.html +++ b/examples/yahoo.html @@ -15,15 +15,15 @@ function init(){ map = new OpenLayers.Map('map'); + yahooLayer = new OpenLayers.Layer.Yahoo( "Yahoo"); + + map.addLayer(yahooLayer); + layer = new OpenLayers.Layer.WMS( "OpenLayers WMS", "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} ); map.addLayer(layer); - yahooLayer = new OpenLayers.Layer.Yahoo( "Yahoo"); - - map.addLayer(yahooLayer); - map.setCenter(new OpenLayers.LonLat(-5, 40), 4); map.addControl(new OpenLayers.Control.LayerSwitcher()); }