We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a050fbb commit c492ee8Copy full SHA for c492ee8
plugin-scalebar/src/main/java/com/mapbox/pluginscalebar/ScaleBarWidget.java
@@ -43,7 +43,7 @@ public class ScaleBarWidget extends View {
43
private ArrayList<Pair<Integer, Integer>> scaleTable;
44
private String unit;
45
private final RefreshHandler refreshHandler;
46
- private DecimalFormat decimalFormat = new DecimalFormat("0.0");
+ private DecimalFormat decimalFormat = new DecimalFormat("0.#");
47
48
ScaleBarWidget(@NonNull Context context) {
49
super(context);
0 commit comments