exposing the map for firebuggers - and removing some crufty html comments

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4222 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-09-11 21:50:35 +00:00
parent 0aba585bc0
commit 9d1baf68f7
63 changed files with 30 additions and 156 deletions

View File

@@ -9,10 +9,9 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
<!--
var ol_wms, ww, ww2;
var map, ol_wms, ww, ww2;
function init(){
var map = new OpenLayers.Map('map', {'maxResolution': .28125, tileSize: new OpenLayers.Size(512, 512)});
map = new OpenLayers.Map('map', {'maxResolution': .28125, tileSize: new OpenLayers.Size(512, 512)});
ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
@@ -30,7 +29,6 @@
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.setCenter(new OpenLayers.LonLat(-71.4, 42.3), 6);
}
// -->
</script>
</head>
<body onload="init()">