SHARE
TWEET

Untitled

a guest Aug 13th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var image_layer = new OpenLayers.Layer.Image( 'Wallpaper', 'images.png', new
  2. OpenLayers.Bounds(-90,-45,90,45), new OpenLayers.Size(318,159), {numZoomLevels:7,
  3. maxResolution:.625} );
  4.    
  5. var image_layer = new OpenLayers.Layer.Image( 'Wallpaper', 'images.png', new
  6. OpenLayers.Bounds(-90,-45,90,45), new OpenLayers.Size(318,159), {numZoomLevels:7,
  7. maxResolution:.625, **isBaseLayer: false**} );
  8.    
  9. graphic = new OpenLayers.Layer.Image(
  10.             'Viewshed',
  11.             'http://..../image.png',
  12.             new  OpenLayers.Bounds(20.008697509767,32.076110839844,20.123138427735,32.154235839844),
  13.             new OpenLayers.Size(750, 512),
  14.             { isBaseLayer: false,
  15.               opacity: 0.3,
  16.               displayOutsideMaxExtent: true
  17.             }
  18.         );
  19.    
  20. radar_overlay = mapObject.addImageOverlay('radar', 'http://radar.weather.gov/ridge
  21.  /Conus/RadarImg/latest_radaronly.gif', 100, -127.620375523875420, 21.652538062803,
  22.  -66.517937876818, 50.406626367301044);
RAW Paste Data
Top