display map magnifier as +/- fraction
This commit is contained in:
parent
2b13f732a8
commit
ab578a454c
1 changed files with 3 additions and 1 deletions
|
@ -205,7 +205,9 @@ public class MapControlsLayer extends OsmandMapLayer {
|
||||||
String zoomText = tb.getZoom() + "";
|
String zoomText = tb.getZoom() + "";
|
||||||
float frac = tb.getZoomScale();
|
float frac = tb.getZoomScale();
|
||||||
if (frac != 0) {
|
if (frac != 0) {
|
||||||
zoomText += ":";
|
if (frac > 0) {
|
||||||
|
zoomText += "+";
|
||||||
|
}
|
||||||
int ifrac = ((int) frac);
|
int ifrac = ((int) frac);
|
||||||
if (frac >= 1) {
|
if (frac >= 1) {
|
||||||
zoomText += ifrac;
|
zoomText += ifrac;
|
||||||
|
|
Loading…
Reference in a new issue