remove console.log
This commit is contained in:
parent
b3a8b74433
commit
a70fbe4f64
1 changed files with 0 additions and 1 deletions
|
@ -465,7 +465,6 @@ export class RoutingControls {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (anchors[anchors.length - 1].point._data.index === segment.trkpt.length - 1) { // Last anchor is the last point of the segment
|
if (anchors[anchors.length - 1].point._data.index === segment.trkpt.length - 1) { // Last anchor is the last point of the segment
|
||||||
console.log('last anchor');
|
|
||||||
anchors[anchors.length - 1].point = response[response.length - 1]; // replace the last anchor
|
anchors[anchors.length - 1].point = response[response.length - 1]; // replace the last anchor
|
||||||
anchors[anchors.length - 1].point._data.index = segment.trkpt.length - 1;
|
anchors[anchors.length - 1].point._data.index = segment.trkpt.length - 1;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue