forked from CRSS/Website
fix: make coordinates display with fixed point
This commit is contained in:
parent
d14e5b6e48
commit
ae6f145720
|
@ -78,7 +78,13 @@
|
|||
|
||||
L.control.mousePosition({
|
||||
position: 'bottomright',
|
||||
separator: '; '
|
||||
separator: '; ',
|
||||
lngFormatter: (x) => {
|
||||
return x.toFixed(3)
|
||||
},
|
||||
latFormatter: (y) => {
|
||||
return y.toFixed(3)
|
||||
}
|
||||
}).addTo(map);
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue