Skip to content

Commit

Permalink
Restore returnAdjustmentPoint
Browse files Browse the repository at this point in the history
  • Loading branch information
seokho-son committed Oct 30, 2024
1 parent 4196e5c commit 143e667
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -877,19 +877,17 @@ function getMci() {
} else {
var groupCnt = 0;
if ((item.vm[j].location.longitude == item.vm[j - 1].location.longitude) && (item.vm[j].location.latitude == item.vm[j - 1].location.latitude)) {
groupCnt++;
vmGeo.push([
item.vm[j].location.longitude * 1 +
(returnAdjustmentPoint(groupCnt).ax / zoomLevel) * radius,
(returnAdjustmentPoint(j).ax / zoomLevel) * radius,
item.vm[j].location.latitude * 1 +
(returnAdjustmentPoint(groupCnt).ay / zoomLevel) * radius,
(returnAdjustmentPoint(j).ay / zoomLevel) * radius,
]);
} else {
vmGeo.push([
item.vm[j].location.longitude * 1,
item.vm[j].location.latitude * 1,
]);
groupCnt = 0;
}
}
validateNum++;
Expand Down

0 comments on commit 143e667

Please sign in to comment.