diff --git a/lib/OpenLayers/Marker/Box.js b/lib/OpenLayers/Marker/Box.js index d772c31936..e5766c0d83 100644 --- a/lib/OpenLayers/Marker/Box.js +++ b/lib/OpenLayers/Marker/Box.js @@ -24,6 +24,7 @@ OpenLayers.Marker.Box.prototype = Object.extend( new OpenLayers.Marker(), { if (arguments.length > 0) { this.bounds = bounds; this.div = OpenLayers.Util.createDiv(); + this.div.style.overflow = 'hidden'; this.events = new OpenLayers.Events(this, this.div, null); this.setBorder(borderColor, borderWidth); }