OpenLayers OpenLayers

Changeset 4986

Show
Ignore:
Timestamp:
10/17/07 08:55:29 (1 year ago)
Author:
jachym
Message:

fixed for IE

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/jachym/openlayers/examples/layer-buttons.html

    r4968 r4986  
    1 <html xmlns="http://www.w3.org/1999/xhtml"
     1<html xmlns="http://www.w3.org/1999/xhtml" debug="true"
    22  <head> 
    33    <style type="text/css"> 
     
    88        } 
    99    </style> 
     10    <script src="../lib/Firebug/firebug.js"></script> 
    1011    <script src="../lib/OpenLayers.js"></script> 
    1112    <script type="text/javascript"> 
     13        <!-- 
    1214        // making this a global variable so that it is accessible for 
    1315        // debugging/inspecting in Firebug 
    1416        var map = null; 
    1517 
    16         <!-- 
    1718        function init(){ 
    1819 
     
    2021 
    2122            var options = {  
    22                             resolutions: [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101], 
     23                            resolutions: [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101] 
    2324            }; 
    2425             
     
    2829 
    2930            var options2 = {  
    30                             resolutions: [0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101], 
     31                            resolutions: [0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101] 
    3132                             
    3233            }; 
     
    8788    </script> 
    8889  </head> 
    89   <body onload="init()"> 
     90  <body onload="init();"> 
    9091    <table><tr><td> 
    9192        <h1>OpenLayers Example</h1>