diff --git a/src/front/map.js b/src/front/map.js index 06fc6f9..44a4855 100644 --- a/src/front/map.js +++ b/src/front/map.js @@ -239,7 +239,6 @@ const createMap = target => // Course on which the view is currently focused let focusedCourse = null; - const focusZoom = 17; const startFocus = courseId => { @@ -248,7 +247,6 @@ const createMap = target => const course = simulInstance.courses[courseId]; view.animate({ center: course.position, - zoom: focusZoom, duration: 500, }, () => focusedCourse = courseId); } @@ -294,7 +292,6 @@ const createMap = target => if (course.id === focusedCourse) { view.setCenter(course.position); - // view.setZoom(focus); } } }