From acde1577086c69b0dbc537f32d0ff2b9cfcfdd94 Mon Sep 17 00:00:00 2001
From: MaraMincho <seemaster300@naver.com>
Date: Tue, 9 Jan 2024 16:29:41 +0900
Subject: [PATCH] =?UTF-8?q?delete:=20=EC=A4=91=EB=B3=B5=20=EC=BD=94?=
 =?UTF-8?q?=EB=93=9C=20=EC=82=AD=EC=A0=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../Record/Sources/Domain/UseCases/KalmanFilter.swift     | 1 +
 .../RouteMapScene/WorkoutRouteMapViewController.swift     | 8 ++------
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/iOS/Projects/Features/Record/Sources/Domain/UseCases/KalmanFilter.swift b/iOS/Projects/Features/Record/Sources/Domain/UseCases/KalmanFilter.swift
index dc996a82..2ca532b7 100644
--- a/iOS/Projects/Features/Record/Sources/Domain/UseCases/KalmanFilter.swift
+++ b/iOS/Projects/Features/Record/Sources/Domain/UseCases/KalmanFilter.swift
@@ -65,6 +65,7 @@ struct KalmanFilter {
   // 우리가 궁금한건 위도와 경도이기 때문에 필요한 부분만 기재했습니다.
 
   var prevTime: Date
+  
   init(initLocation: CLLocation) {
     x = .init(initLocation.coordinate.latitude, 0, initLocation.coordinate.longitude, 0)
     prevTime = initLocation.timestamp
diff --git a/iOS/Projects/Features/Record/Sources/Presentation/WorkoutSessionGroupScene/RouteMapScene/WorkoutRouteMapViewController.swift b/iOS/Projects/Features/Record/Sources/Presentation/WorkoutSessionGroupScene/RouteMapScene/WorkoutRouteMapViewController.swift
index 1e5d362b..63a63d61 100644
--- a/iOS/Projects/Features/Record/Sources/Presentation/WorkoutSessionGroupScene/RouteMapScene/WorkoutRouteMapViewController.swift
+++ b/iOS/Projects/Features/Record/Sources/Presentation/WorkoutSessionGroupScene/RouteMapScene/WorkoutRouteMapViewController.swift
@@ -206,14 +206,10 @@ final class WorkoutRouteMapViewController: UIViewController {
 
       self?.locations
         .forEach { location in
-          let currentCLLocationCoordinator2D = CLLocationCoordinate2D(
-            latitude: location.latitude,
-            longitude: location.longitude
-          )
 
           // snapshot에서 현재 위도 경도에 대한 데이터가 어느 CGPoint에 있는지 찾아내고, 이를 Polyline을 그립니다.
-          context.cgContext.addLine(to: snapshot.point(for: currentCLLocationCoordinator2D))
-          context.cgContext.move(to: snapshot.point(for: currentCLLocationCoordinator2D))
+          context.cgContext.addLine(to: snapshot.point(for: location))
+          context.cgContext.move(to: snapshot.point(for: location))
         }
 
       // 현재 컨텍스트 에서 여태 그린 Path를 적용합니다.