File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import TaskBar from '../components/TaskBar';
18
18
import ButtonBar from '../components/widgets/ButtonBar' ;
19
19
import CopyButton from '../components/widgets/CopyButton' ;
20
20
import displayCrsSelector from '../selectors/displaycrs' ;
21
+ import CoordinatesUtils from '../utils/CoordinatesUtils' ;
21
22
import LocaleUtils from '../utils/LocaleUtils' ;
22
23
import MeasureUtils from '../utils/MeasureUtils' ;
23
24
@@ -83,7 +84,7 @@ class Measure extends React.Component {
83
84
let resultBody = null ;
84
85
if ( this . props . measureState . geomType === "Point" ) {
85
86
const coo = this . props . measureState . coordinates || [ 0 , 0 ] ;
86
- const text = MeasureUtils . getFormattedCoordinate ( coo , this . props . mapcrs , this . props . displaycrs ) ;
87
+ const text = CoordinatesUtils . getFormattedCoordinate ( coo , this . props . mapcrs , this . props . displaycrs ) ;
87
88
resultBody = (
88
89
< div className = "measure-body" >
89
90
< span className = "measure-result" > { text } </ span >
You can’t perform that action at this time.
0 commit comments