Skip to content

Commit

Permalink
No repeat background image and make its overflow visible
Browse files Browse the repository at this point in the history
No repeat background image and make its overflow visible
  • Loading branch information
roger-codina authored Oct 6, 2017
1 parent dc326b9 commit da09927
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/markerclusterer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit da09927

Please sign in to comment.