OpenLayers OpenLayers
Show
Ignore:
Timestamp:
07/03/07 11:41:45 (2 years ago)
Author:
tschaub
Message:

assigning the map to a global map variable for easier inspecting in Firebug

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/examples/example.html

    r3322 r3561  
    1010    <script src="../lib/OpenLayers.js"></script> 
    1111    <script type="text/javascript"> 
     12        // making this a global variable so that it is accessible for 
     13        // debugging/inspecting in Firebug 
     14        var map = null; 
    1215 
    13          
    1416        <!-- 
    1517        function init(){ 
     
    4446            header.innerHTML += browserName + ")"; 
    4547 
    46             var map = new OpenLayers.Map('map'); 
     48            map = new OpenLayers.Map('map'); 
    4749 
    4850            var options = {