検索範囲を縮小

This commit is contained in:
harukin-expo-dev-env 2025-06-10 14:08:41 +00:00
parent 52ca9d03a8
commit c52cb1c91f

View File

@ -95,7 +95,7 @@ export default function Menu(props) {
const makeCurrentStation = (location) => {
if (!originalStationList) return () => {};
const findStationEachLine = (selectLine) => {
const searchArea = 0.12;
const searchArea = 0.055; //検索範囲
const _calcDistance = (from, to) => {
let lat = Math.abs(from.lat - to.lat);
let lng = Math.abs(from.lng - to.lng);