OpenLayers OpenLayers

Changeset 4182

Show
Ignore:
Timestamp:
09/03/07 23:03:58 (10 months ago)
Author:
ahughes
Message:

Unless someone can correct me on this *this* is the GMap2 GoogleAPI object GMap2.b certainly did exist and was the content div. But now *this.b* is no longer defined. *this.e* appears to have taken this over but should be tested please.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/tschaub/google/lib/OpenLayers/Layer/Google.js

    r4169 r4182  
    272272                    var gPoint = this.fromLatLngToDivPixel(gLatLng); 
    273273       
    274                     // locate the sliding "Div" div 
    275                 //  it seems like "b" is the main div 
    276                     var div = this.b.firstChild.firstChild; 
     274                    /** 
     275                     * 2007-09-04 (Sept 4th 2007 - ahughes) 
     276                     * Unless someone can correct me on this 
     277                     * *this* is the GMap2 GoogleAPI object 
     278                     * GMap2.b certainly did exist and was the 
     279                     * content div. But now this.b is no longer 
     280                     * defined. this.e appears to have taken this 
     281                     * over but should be reviewed and tested please. 
     282                     * --ahughes 
     283                     */ 
     284                    // locate the sliding "Div" div 
     285                    // it seems like "b" is the main div 
     286                    //var div = this.b.firstChild.firstChild; 
     287                    var div = this.e.firstChild.firstChild; 
     288                     
     289                    deepbug(this); 
    277290       
    278291                    // adjust by the offset of "Div" and voila!