replacing name with explicit name - just got lucky here that the tests defined name

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3740 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-07-13 21:02:44 +00:00
parent 9dd9289f88
commit 9b79976e19

View File

@@ -101,7 +101,7 @@
var map = new OpenLayers.Map("map");
var url = "http://octo.metacarta.com/cgi-bin/mapserv";
layer = new OpenLayers.Layer.WMS(name, url);
layer = new OpenLayers.Layer.WMS("WMS Layer", url);
map.addLayer(layer);