mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Round ESRI background accuracy and resolution labels to four decimal places (close #7573)
This commit is contained in:
@@ -476,8 +476,8 @@ rendererBackgroundSource.Esri = function(data) {
|
||||
vintage: vintage,
|
||||
source: clean(result.features[0].attributes.NICE_NAME),
|
||||
description: clean(result.features[0].attributes.NICE_DESC),
|
||||
resolution: clean(result.features[0].attributes.SRC_RES),
|
||||
accuracy: clean(result.features[0].attributes.SRC_ACC)
|
||||
resolution: clean(+parseFloat(result.features[0].attributes.SRC_RES).toFixed(4)),
|
||||
accuracy: clean(+parseFloat(result.features[0].attributes.SRC_ACC).toFixed(4))
|
||||
};
|
||||
|
||||
// append units - meters
|
||||
|
||||
Reference in New Issue
Block a user