Changeset 4986
- Timestamp:
- 10/17/07 08:55:29 (1 year ago)
- 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"> 2 2 <head> 3 3 <style type="text/css"> … … 8 8 } 9 9 </style> 10 <script src="../lib/Firebug/firebug.js"></script> 10 11 <script src="../lib/OpenLayers.js"></script> 11 12 <script type="text/javascript"> 13 <!-- 12 14 // making this a global variable so that it is accessible for 13 15 // debugging/inspecting in Firebug 14 16 var map = null; 15 17 16 <!--17 18 function init(){ 18 19 … … 20 21 21 22 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] 23 24 }; 24 25 … … 28 29 29 30 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] 31 32 32 33 }; … … 87 88 </script> 88 89 </head> 89 <body onload="init() ">90 <body onload="init();"> 90 91 <table><tr><td> 91 92 <h1>OpenLayers Example</h1>
