You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Ths number of contained markers on the cluster's icon appear very differently depending on screen density as you can see for 7" 1920x1080 and 7" 1024 x 600
It could be helpful that you use the following formula to prevent this problem I think:
public RadiusMarkerClusterer(Context ctx) {
super(ctx);
mTextPaint = new Paint();
mTextPaint.setColor(Color.WHITE);
mTextPaint.setTextSize(25 * ctx.getResources().getDisplayMetrics().density);
mTextPaint.setFakeBoldText(true);
mTextPaint.setTextAlign(Paint.Align.CENTER);
mTextPaint.setAntiAlias(true);
}
The text was updated successfully, but these errors were encountered:
2ndGAB
changed the title
number of contained markers in cluster display depending on screen density
number of contained markers in cluster display depends on screen density
Jun 3, 2016
2ndGAB
changed the title
number of contained markers in cluster display depends on screen density
Text style of the number displayed on cluster's marker depends on screen density
Jun 3, 2016
Hello,
Ths number of contained markers on the cluster's icon appear very differently depending on screen density as you can see for 7" 1920x1080 and 7" 1024 x 600
It could be helpful that you use the following formula to prevent this problem I think:
The text was updated successfully, but these errors were encountered: