Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
asahiocean
SZRCAI
Commits
1d514cf9
Verified
Commit
1d514cf9
authored
Jul 05, 2021
by
asahiocean
🚀
Browse files
remove space
parent
07b606af
Changes
1
Show whitespace changes
Inline
Side-by-side
SZRCAI/SZRCAI/Main code/Controllers/ViewController/Delegates/ModelDelegate+ViewController.swift
View file @
1d514cf9
...
@@ -37,7 +37,7 @@ extension ViewController: ModelDelegate {
...
@@ -37,7 +37,7 @@ extension ViewController: ModelDelegate {
let
coords
=
mapView
.
model
.
route
.
compactMap
({
$0
.
coordinate
})
let
coords
=
mapView
.
model
.
route
.
compactMap
({
$0
.
coordinate
})
for
(
i
,
coord
)
in
coords
.
enumerated
()
{
for
(
i
,
coord
)
in
coords
.
enumerated
()
{
if
(
i
+
1
)
<
coords
.
count
{
if
(
i
+
1
)
<
coords
.
count
{
createRouteTo
(
from
:
coord
,
to
:
coords
[
i
+
1
])
createRouteTo
(
from
:
coord
,
to
:
coords
[
i
+
1
])
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment