git-svn-id: http://svn.openlayers.org/trunk/openlayers@562 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-06-09 04:01:07 +00:00
parent e148bc7ad8
commit e6028f9ead
11 changed files with 15 additions and 27 deletions

View File

@@ -23,8 +23,7 @@
map = new OpenLayers.Map( $('map') );
gmap = new OpenLayers.Layer.Google( "Google" );
layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://octo.metacarta.com/cgi-bin/mapserv",
{map: '/mapdata/vmap_wms.map', layers: 'basic', format: 'image/jpeg'} );
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
map.addLayer(layer);