Commit 80764da3 by fengfan

color

parent e40fdf33
...@@ -15,7 +15,7 @@ var _renderClusterMarker = function (context, count) { ...@@ -15,7 +15,7 @@ var _renderClusterMarker = function (context, count) {
div.style.boxShadow = '0 0 1px ' + shadowColor; div.style.boxShadow = '0 0 1px ' + shadowColor;
div.innerHTML = context.count; div.innerHTML = context.count;
div.style.lineHeight = size + 'px'; div.style.lineHeight = size + 'px';
div.style.color = fontColor; div.style.color = '#fff'||fontColor;
div.style.fontSize = '12px'; div.style.fontSize = '12px';
div.style.textAlign = 'center'; div.style.textAlign = 'center';
div.addEventListener('click', () => { div.addEventListener('click', () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment