Skip to content

Commit 01c663a

Browse files
wip: bigger cluster icon
Co-authored-by: David Larlet <david@larlet.fr>
1 parent 93ca43e commit 01c663a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

umap/static/umap/js/modules/rendering/icon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ const Ball = DefaultIcon.extend({
257257

258258
export const Cluster = DivIcon.extend({
259259
options: {
260-
iconSize: [32, 32],
260+
iconSize: [40, 40],
261261
className: 'umap-cluster-icon',
262262
},
263263

umap/static/umap/map.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,14 +1042,11 @@ a.umap-control-caption,
10421042

10431043
.umap-cluster-icon {
10441044
border-radius: 50%;
1045-
height: 32px;
1046-
width: 32px;
1047-
margin-left: -16px;
1048-
margin-top: -16px;
10491045
border: 4px solid white;
10501046
display: flex;
10511047
justify-content: center;
10521048
align-items: center;
1049+
font-weight: bold;
10531050
}
10541051

10551052
/* ********************************* */

0 commit comments

Comments
 (0)