diff --git a/lib/OpenLayers/Layer/Google.js b/lib/OpenLayers/Layer/Google.js index 5c72f4d3e3..da013bec31 100644 --- a/lib/OpenLayers/Layer/Google.js +++ b/lib/OpenLayers/Layer/Google.js @@ -108,8 +108,8 @@ OpenLayers.Layer.Google.prototype = Object.extend( new OpenLayers.Layer(), { // attach to the drag start and end and weŽll set a flag so that - // we dont get recursivity. this is because the events fall through - // the gmaps div and into the main layer div + // we dont get recursivity. this is because when we call setCenter(), + // it calls moveTo() on all layers GEvent.addListener(this.gmap, "dragstart", this.dragStart.bindAsEventListener(this));