Skip to content

Commit 9e5d0a1

Browse files
ginnyfahsmollymerp
authored andcommitted
Round direction coordinates in display (#154)
1 parent 9bc90b9 commit 9e5d0a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/controls/geocoder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ Geocoder.prototype = {
178178
if (!input) return;
179179
if (typeof input === 'object' && input.length) {
180180
input = [
181-
utils.wrap(input[0]),
182-
utils.wrap(input[1])
181+
utils.wrap(input[0]).toFixed(5),
182+
utils.wrap(input[1]).toFixed(5)
183183
].join();
184184
}
185185

0 commit comments

Comments
 (0)