forked from organicmaps/organicmaps
[ios] Correct values for digits after point
This commit is contained in:
parent
8719e8d14f
commit
c7c8d32d42
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@
|
|||
bool useDMS = false;
|
||||
(void)Settings::Get(SETTINGS_KEY_USE_DMS, useDMS);
|
||||
|
||||
string const coords = useDMS ? MeasurementUtils::FormatMercatorAsDMS(self.pinPoint)
|
||||
: MeasurementUtils::FormatMercator(self.pinPoint);
|
||||
string const coords = useDMS ? MeasurementUtils::FormatMercatorAsDMS(self.pinPoint, 2)
|
||||
: MeasurementUtils::FormatMercator(self.pinPoint, 6);
|
||||
self.coordinatesLabel.text = [NSString stringWithUTF8String:coords.c_str()];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue