Advertisement
Guest User

Untitled

a guest
Dec 9th, 2011
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  var options = {
  2.                     projection: new OpenLayers.Projection("EPSG:900913"),
  3.                     displayProjection: new OpenLayers.Projection("EPSG:900913"),
  4.                     units: "m",
  5.                     maxResolution: 156543.0339,
  6.                     maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34,20037508.34, 20037508.34)
  7.                 };
  8.      map = new OpenLayers.Map('map1',options);
  9. var gphyLayer = new OpenLayers.Layer.Google("Google Physical",{type:google.maps.MapTypeId.TERRAIN,isBaseLayer:true,sphericalMercator:true });
  10.  
  11.  wms = new OpenLayers.Layer.WMS("Rasdaman",wmsURL,
  12.             {layers: 'rasdamanImage',
  13.             format:'image/png',
  14.             time:dateText,
  15.             strategies: [new OpenLayers.Strategy.Fixed()],
  16.             transparent: true},{isBaseLayer:false,singleTile: true,ratio: 1});
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement