From da0992701ca80f8833df0795371d2e5494ed17a9 Mon Sep 17 00:00:00 2001 From: Roger Codina Date: Fri, 6 Oct 2017 19:12:53 +0200 Subject: [PATCH] No repeat background image and make its overflow visible No repeat background image and make its overflow visible --- src/markerclusterer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/markerclusterer.js b/src/markerclusterer.js index 554fcec..0c101c4 100755 --- a/src/markerclusterer.js +++ b/src/markerclusterer.js @@ -1228,6 +1228,8 @@ ClusterIcon.prototype.createCss = function(pos) { style.push('background-image:url(' + this.url_ + ');'); var backgroundPosition = this.backgroundPosition_ ? this.backgroundPosition_ : '0 0'; style.push('background-position:' + backgroundPosition + ';'); + style.push('background-repeat: no-repeat;'); + style.push('background-overflow: visible;'); if (typeof this.anchor_ === 'object') { if (typeof this.anchor_[0] === 'number' && this.anchor_[0] > 0 &&