Ticket #994: google.patch
| File google.patch, 0.7 kB (added by tschaub, 1 year ago) |
|---|
-
lib/OpenLayers/Layer/Google.js
old new 272 272 var gPoint = this.fromLatLngToDivPixel(gLatLng); 273 273 274 274 // locate the sliding "Div" div 275 // it seems like "b" is the main div 276 var div = this.b.firstChild.firstChild; 275 var div = this.getContainer().firstChild.firstChild; 277 276 278 277 // adjust by the offset of "Div" and voila! 279 278 gPoint.x += div.offsetLeft;
