検索範囲を縮小
This commit is contained in:
parent
52ca9d03a8
commit
c52cb1c91f
2
menu.js
2
menu.js
@ -95,7 +95,7 @@ export default function Menu(props) {
|
|||||||
const makeCurrentStation = (location) => {
|
const makeCurrentStation = (location) => {
|
||||||
if (!originalStationList) return () => {};
|
if (!originalStationList) return () => {};
|
||||||
const findStationEachLine = (selectLine) => {
|
const findStationEachLine = (selectLine) => {
|
||||||
const searchArea = 0.12;
|
const searchArea = 0.055; //検索範囲
|
||||||
const _calcDistance = (from, to) => {
|
const _calcDistance = (from, to) => {
|
||||||
let lat = Math.abs(from.lat - to.lat);
|
let lat = Math.abs(from.lat - to.lat);
|
||||||
let lng = Math.abs(from.lng - to.lng);
|
let lng = Math.abs(from.lng - to.lng);
|
||||||
|
Loading…
Reference in New Issue
Block a user