Skip to content

Commit 0874974

Browse files
committed
fix(android): cluster fix
1 parent a5d9aa4 commit 0874974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/platforms/android/java/com/akylas/carto/additions/AKClusterElementBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public VectorElement nativeBuildClusterElement(MapPos pos, VectorElementVector e
146146
StyleBuilder styleBuilder = null;
147147
Bitmap cBitmap = null;
148148
if (markerBitmap != null || textColor != null) {
149-
int size = int)(markerSize * scale);
149+
int size = int)(markerSize * screenScale);
150150
android.graphics.Bitmap canvasBitmap = android.graphics.Bitmap.createBitmap(size, size, android.graphics.Bitmap.Config.ARGB_8888);
151151
android.graphics.Canvas canvas = new android.graphics.Canvas(canvasBitmap);
152152
canvas.scale(screenScale, screenScale);

0 commit comments

Comments
 (0)