refact: use shorthand method and property syntax
This commit is contained in:
parent
babd154596
commit
76f31aeb2b
44 changed files with 520 additions and 514 deletions
|
|
@ -1,5 +1,5 @@
|
|||
BR.Fit = {
|
||||
format: function (geoJson, turnInstructionMode = 0) {
|
||||
format(geoJson, turnInstructionMode = 0) {
|
||||
if (!geoJson?.features) return '';
|
||||
|
||||
function calcDistance(p1, p2) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue