Changeset 4055
- Timestamp:
- 08/27/07 11:07:01 (1 year ago)
- Files:
-
- trunk/openlayers/tests/test_Map.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/tests/test_Map.html
r3329 r4055 1 1 <html> 2 2 <head> 3 <script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>4 3 <script src="../lib/OpenLayers.js"></script> 5 4 <script type="text/javascript"><!-- … … 270 269 var wmsLayer = new OpenLayers.Layer.WMS( "OpenLayers WMS", 271 270 "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} ); 272 var google = new OpenLayers.Layer.Google("GOOG"); 273 map.addLayers([wmsLayer,google]); 271 var tmsLayer = new OpenLayers.Layer.TMS("TMS", 272 "http://labs.metacarta.com/wms-c/Basic.py/", 273 {'layername':'basic', 'type':'png'}); 274 map.addLayers([wmsLayer,tmsLayer]); 274 275 map.setBaseLayer(wmsLayer); 275 276 map.zoomToMaxExtent(); 276 map.setBaseLayer( google);277 map.setBaseLayer(tmsLayer); 277 278 map.zoomIn(); 278 279 map.pan(0, -200);
