Compare commits
163 Commits
feature/ne
...
patch/4.5.
Author | SHA1 | Date | |
---|---|---|---|
|
84d36b88cc | ||
|
711f0bbe9f | ||
|
dbae477bea | ||
|
0de3d73ced | ||
|
49098308db | ||
|
bfec537f56 | ||
|
bf78287563 | ||
|
d511b80437 | ||
|
e90ffd8926 | ||
|
4446019ab2 | ||
|
92b9a4a044 | ||
|
f504497bdf | ||
|
dfdd9a7f37 | ||
|
b0b15f726c | ||
|
e8906495c2 | ||
|
d3c9bca4d3 | ||
|
eb806e3f8a | ||
|
dfe3c831bc | ||
|
946f669eb0 | ||
|
b1ecbb1cfe | ||
|
480bcbfcd3 | ||
|
420a805f3c | ||
|
7e092671a2 | ||
|
1b16e09633 | ||
|
52b15288b9 | ||
|
b2ee75205b | ||
|
5115656050 | ||
|
f5491200eb | ||
|
26111e7ce8 | ||
|
b2624d319b | ||
|
0618ff0180 | ||
|
b4c306bce3 | ||
|
cdea9a1e05 | ||
|
0ff05f911c | ||
|
84efa42e57 | ||
|
610f9c21ce | ||
|
9fee43d6ff | ||
|
ce9dccc158 | ||
|
7f67fc6cc8 | ||
|
ed76462436 | ||
|
a643ab5c56 | ||
|
ea1c505453 | ||
|
35907df3c4 | ||
|
180bc95a80 | ||
|
6f7f02e4fa | ||
|
df7608acaf | ||
|
34413f522f | ||
|
07adaf2ef5 | ||
|
34f907ef9b | ||
|
f815b31720 | ||
|
06b1933d1c | ||
|
1aac1e40df | ||
|
4ef5a13dc3 | ||
|
0f56a7ceea | ||
|
1622cd2ab8 | ||
|
a3e8e3cbbe | ||
|
a83bb27f60 | ||
|
320a94565d | ||
|
fd7fd7f623 | ||
|
cfbd126fe3 | ||
|
bfd6decfcc | ||
|
81f394d6ca | ||
|
357490314a | ||
|
bb115afe35 | ||
|
c00073bb32 | ||
|
47d84777e2 | ||
|
65dd6dd0fd | ||
|
054dab518f | ||
|
3d09b93df5 | ||
|
ffe18b8398 | ||
|
9381e0ee15 | ||
|
9eca679019 | ||
|
dc4f1d7454 | ||
|
98b22db4db | ||
|
59df072e45 | ||
|
816d96d37b | ||
|
e9fd753a8f | ||
|
d627617ca0 | ||
|
f6a88f09e4 | ||
|
12934f0963 | ||
|
3f8a753abb | ||
|
28c58ce83f | ||
|
d45b6aee0e | ||
|
abe8334b26 | ||
|
64538e33f3 | ||
|
942b90e6d2 | ||
|
9d75186691 | ||
|
9959fbe5c9 | ||
|
0230f5409a | ||
|
1c67d1d486 | ||
|
97d05571e5 | ||
|
655f174321 | ||
|
3137d50e24 | ||
|
74864da293 | ||
|
4e90ecf132 | ||
|
a7347a1816 | ||
|
815734eb07 | ||
|
369ae557c7 | ||
|
4c47a1684c | ||
|
c2ca832b80 | ||
|
5867ad3aa8 | ||
|
ece076ad48 | ||
|
58340bb608 | ||
|
32fb402126 | ||
|
44b6a113ff | ||
|
e93fe7095e | ||
|
bb89149876 | ||
|
12f23bef16 | ||
|
f580e319cf | ||
|
7dc72ef433 | ||
|
746c996cba | ||
|
556b04e3b0 | ||
|
67f9b8b698 | ||
|
3ff585a577 | ||
|
f5e4947c3b | ||
|
fae18a6a47 | ||
|
40fb55c8cf | ||
|
1fd2be5ddf | ||
|
e35ab09002 | ||
|
f993577e34 | ||
|
7f8a77d9fa | ||
|
50973db9ce | ||
|
2fbd54eb7f | ||
|
7595dd845a | ||
|
d475b5c8a4 | ||
|
3a45288eee | ||
|
c996b31dad | ||
|
2040d829fe | ||
|
9eaa32a0f2 | ||
|
a17626042a | ||
|
1dc1b9a636 | ||
|
a56dfc7618 | ||
|
178fda07af | ||
|
bf016b1c8b | ||
|
1a1227dfeb | ||
|
29963ab876 | ||
|
a5523d61c3 | ||
|
337179b4c4 | ||
|
052c121179 | ||
|
7321f6d514 | ||
|
ff48198c87 | ||
|
690df1d2bc | ||
|
0251b9fc2f | ||
|
67eed85c22 | ||
|
cb94b545dc | ||
|
1ef8870153 | ||
|
18e046dc33 | ||
|
f64ccfa271 | ||
|
5406d98195 | ||
|
a923ac8b20 | ||
|
03d6f02de5 | ||
|
1ecb9ec046 | ||
|
796464c03a | ||
|
3723b01401 | ||
|
59c60d7791 | ||
|
10ea09cb00 | ||
|
7810b770cc | ||
|
00e0dbab9d | ||
|
923a28e1a5 | ||
|
151edd5fff | ||
|
f7965be3ef | ||
|
32f6fa3b60 | ||
|
5474b3eab2 |
307
App.js
307
App.js
@@ -1,4 +1,4 @@
|
||||
import React, { useEffect, useRef } from "react";
|
||||
import React, { useEffect, useRef, useState } from "react";
|
||||
import { NavigationContainer } from "@react-navigation/native";
|
||||
import {
|
||||
createStackNavigator,
|
||||
@@ -8,14 +8,25 @@ import { createBottomTabNavigator } from "@react-navigation/bottom-tabs";
|
||||
import { AntDesign, Ionicons } from "@expo/vector-icons";
|
||||
import { Platform, UIManager } from "react-native";
|
||||
import { UpdateAsync } from "./UpdateAsync.js";
|
||||
import { getStationList2 } from "./lib/getStationList2";
|
||||
import { AS } from "./storageControl";
|
||||
import Apps from "./Apps";
|
||||
import tndView from "./ndView";
|
||||
import trainbase from "./trainbaseview";
|
||||
import howto from "./howto";
|
||||
import menu from "./menu";
|
||||
import TNDView from "./ndView";
|
||||
import TrainBase from "./trainbaseview";
|
||||
import HowTo from "./howto";
|
||||
import Menu from "./menu";
|
||||
import News from "./components/news.js";
|
||||
import Setting from "./components/settings.js";
|
||||
import trainMenu from "./components/trainMenu.js";
|
||||
import TrainMenu from "./components/trainMenu.js";
|
||||
import FavoriteList from "./components/FavoriteList.js";
|
||||
import { LogBox } from "react-native";
|
||||
import useInterval from "./lib/useInterval";
|
||||
import { HeaderConfig } from "./lib/HeaderConfig";
|
||||
|
||||
LogBox.ignoreLogs([
|
||||
"ViewPropTypes will be removed",
|
||||
"ColorPropType will be removed",
|
||||
]);
|
||||
const Stack = createStackNavigator();
|
||||
const Tab = createBottomTabNavigator();
|
||||
if (Platform.OS === "android") {
|
||||
@@ -24,96 +35,312 @@ if (Platform.OS === "android") {
|
||||
}
|
||||
}
|
||||
export default function App() {
|
||||
const navigationRef = useRef();
|
||||
useEffect(UpdateAsync, []);
|
||||
useEffect(() => {
|
||||
UpdateAsync();
|
||||
}, []);
|
||||
const [favoriteStation, setFavoriteStation] = useState([]);
|
||||
|
||||
useEffect(() => {
|
||||
AS.getItem("favoriteStation")
|
||||
.then((d) => {
|
||||
const returnData = JSON.parse(d);
|
||||
setFavoriteStation(returnData);
|
||||
})
|
||||
.catch((d) => console.log(d));
|
||||
}, []);
|
||||
const [busAndTrainData, setBusAndTrainData] = useState([]);
|
||||
useEffect(() => {
|
||||
AS.getItem("busAndTrain")
|
||||
.then((d) => {
|
||||
const returnData = JSON.parse(d);
|
||||
setBusAndTrainData(returnData);
|
||||
})
|
||||
.catch((d) => {
|
||||
fetch(
|
||||
"https://script.google.com/macros/s/AKfycbw0UW6ZeCDgUYFRP0zxpc_Oqfy-91dBdbWv-cM8n3narKp14IyCd2wy5HW7taXcW7E/exec"
|
||||
)
|
||||
.then((d) => d.json())
|
||||
.then((d) => {
|
||||
setBusAndTrainData(d);
|
||||
AS.setItem("busAndTrain", JSON.stringify(d));
|
||||
});
|
||||
});
|
||||
}, []);
|
||||
|
||||
const [currentTrain, setCurrentTrain] = useState([]); //現在在線中の全列車 { num: 列車番号, delay: 遅延時分(状態), Pos: 位置情報 }
|
||||
const [currentTrainLoading, setCurrentTrainLoading] = useState("loading"); // success, error, loading
|
||||
const getCurrentTrain = () =>
|
||||
fetch(
|
||||
"https://train.jr-shikoku.co.jp/g?arg1=train&arg2=train",
|
||||
HeaderConfig
|
||||
)
|
||||
.then((response) => response.json())
|
||||
.then((d) =>
|
||||
d.map((x) => ({ num: x.TrainNum, delay: x.delay, Pos: x.Pos }))
|
||||
)
|
||||
.then((d) => {
|
||||
setCurrentTrain(d);
|
||||
setCurrentTrainLoading("success");
|
||||
})
|
||||
.catch((e) => {
|
||||
console.log("えらー");
|
||||
setCurrentTrainLoading("error");
|
||||
});
|
||||
|
||||
useEffect(getCurrentTrain, []); //初回だけ現在の全在線列車取得
|
||||
|
||||
useInterval(getCurrentTrain, 15000); //15秒毎に全在線列車取得
|
||||
|
||||
return (
|
||||
<NavigationContainer name="Root" ref={navigationRef} style={{ flex: 1 }}>
|
||||
<Tab.Navigator>
|
||||
<Stack.Screen
|
||||
<NavigationContainer name="Root" style={{ flex: 1 }}>
|
||||
<Tab.Navigator detachInactiveScreens={false}>
|
||||
<Tab.Screen
|
||||
name="login"
|
||||
component={top}
|
||||
options={{
|
||||
tabBarLabel: "位置情報",
|
||||
headerTransparent: true,
|
||||
gestureEnabled: true,
|
||||
tabBarIcon: () => <AntDesign name="barchart" size={32} />,
|
||||
tabBarIcon: initIcon("barchart", "AntDesign"),
|
||||
}}
|
||||
/>
|
||||
<Stack.Screen
|
||||
>
|
||||
{(props) => (
|
||||
<Top
|
||||
{...props}
|
||||
favoriteStation={favoriteStation}
|
||||
setFavoriteStation={setFavoriteStation}
|
||||
busAndTrainData={busAndTrainData}
|
||||
currentTrainState={{ currentTrain, setCurrentTrain }}
|
||||
currentTrainLoadingState={{
|
||||
currentTrainLoading,
|
||||
setCurrentTrainLoading,
|
||||
}}
|
||||
getCurrentTrain={getCurrentTrain}
|
||||
/>
|
||||
)}
|
||||
</Tab.Screen>
|
||||
<Tab.Screen
|
||||
name="menuPage"
|
||||
component={menuPage}
|
||||
options={{
|
||||
tabBarLabel: "リンク",
|
||||
headerTransparent: true,
|
||||
gestureEnabled: true,
|
||||
tabBarIcon: () => <Ionicons name="ios-radio" size={32} />,
|
||||
tabBarIcon: initIcon("ios-radio", "Ionicons"),
|
||||
}}
|
||||
/>
|
||||
<Stack.Screen
|
||||
>
|
||||
{(props) => (
|
||||
<MenuPage
|
||||
{...props}
|
||||
favoriteStation={favoriteStation}
|
||||
setFavoriteStation={setFavoriteStation}
|
||||
busAndTrainData={busAndTrainData}
|
||||
currentTrainState={{ currentTrain, setCurrentTrain }}
|
||||
currentTrainLoadingState={{
|
||||
currentTrainLoading,
|
||||
setCurrentTrainLoading,
|
||||
}}
|
||||
getCurrentTrain={getCurrentTrain}
|
||||
/>
|
||||
)}
|
||||
</Tab.Screen>
|
||||
<Tab.Screen
|
||||
name="home"
|
||||
component={tndView}
|
||||
options={{
|
||||
tabBarLabel: "運行情報",
|
||||
headerTransparent: true,
|
||||
gestureEnabled: true,
|
||||
tabBarIcon: () => <Ionicons name="md-train" size={32} />,
|
||||
tabBarIcon: initIcon("md-train", "Ionicons"),
|
||||
}}
|
||||
/>
|
||||
>
|
||||
{(props) => <TNDView {...props} />}
|
||||
</Tab.Screen>
|
||||
</Tab.Navigator>
|
||||
</NavigationContainer>
|
||||
);
|
||||
}
|
||||
function top() {
|
||||
|
||||
const initIcon = (name, type) => {
|
||||
switch (type) {
|
||||
case "Ionicons":
|
||||
return ({ focused, color, size }) => (
|
||||
<Ionicons name={name} size={32} color={focused ? "#0099CC" : "black"} />
|
||||
);
|
||||
case "AntDesign":
|
||||
return ({ focused, color, size }) => (
|
||||
<AntDesign
|
||||
name={name}
|
||||
size={32}
|
||||
color={focused ? "#0099CC" : "black"}
|
||||
/>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
const Top = ({
|
||||
navigation,
|
||||
favoriteStation,
|
||||
setFavoriteStation,
|
||||
busAndTrainData,
|
||||
currentTrainState,
|
||||
currentTrainLoadingState,
|
||||
getCurrentTrain,
|
||||
}) => {
|
||||
const webview = useRef();
|
||||
|
||||
//地図用
|
||||
const [mapsStationData, setMapsStationData] = useState(undefined);
|
||||
|
||||
useEffect(() => {
|
||||
getStationList2().then(setMapsStationData);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
const unsubscribe = navigation.addListener("tabLongPress", (e) => {
|
||||
navigation.navigate("favoriteList");
|
||||
});
|
||||
|
||||
return unsubscribe;
|
||||
}, [navigation]);
|
||||
|
||||
return (
|
||||
<Stack.Navigator>
|
||||
<Stack.Screen
|
||||
name="Apps"
|
||||
component={Apps}
|
||||
options={{
|
||||
headerShown: false,
|
||||
gestureEnabled: true,
|
||||
headerTransparent: true,
|
||||
}}
|
||||
/>
|
||||
>
|
||||
{(props) => (
|
||||
<Apps
|
||||
{...props}
|
||||
webview={webview}
|
||||
favoriteStation={favoriteStation}
|
||||
setFavoriteStation={setFavoriteStation}
|
||||
busAndTrainData={busAndTrainData}
|
||||
stationData={mapsStationData}
|
||||
currentTrainState={currentTrainState}
|
||||
currentTrainLoadingState={currentTrainLoadingState}
|
||||
getCurrentTrain={getCurrentTrain}
|
||||
/>
|
||||
)}
|
||||
</Stack.Screen>
|
||||
<Stack.Screen
|
||||
name="trainbase"
|
||||
component={trainbase}
|
||||
options={{
|
||||
title: "トレインビジョン",
|
||||
gestureEnabled: true,
|
||||
...TransitionPresets.SlideFromRightIOS,
|
||||
}}
|
||||
/>
|
||||
>
|
||||
{(props) => <TrainBase {...props} />}
|
||||
</Stack.Screen>
|
||||
<Stack.Screen
|
||||
name="howto"
|
||||
component={howto}
|
||||
options={{
|
||||
title: "使い方",
|
||||
...optionData,
|
||||
}}
|
||||
/>
|
||||
<Stack.Screen name="news" component={News} options={optionData} />
|
||||
>
|
||||
{(props) => <HowTo {...props} />}
|
||||
</Stack.Screen>
|
||||
<Stack.Screen name="news" options={optionData}>
|
||||
{(props) => <News {...props} />}
|
||||
</Stack.Screen>
|
||||
<Stack.Screen name="trainMenu" options={optionData}>
|
||||
{(props) => (
|
||||
<TrainMenu
|
||||
{...props}
|
||||
webview={webview}
|
||||
stationData={mapsStationData}
|
||||
/>
|
||||
)}
|
||||
</Stack.Screen>
|
||||
<Stack.Screen
|
||||
name="trainMenu"
|
||||
component={trainMenu}
|
||||
options={optionData}
|
||||
/>
|
||||
name="favoriteList"
|
||||
options={{ ...optionData, gestureEnabled: false }}
|
||||
>
|
||||
{(props) => (
|
||||
<FavoriteList
|
||||
{...props}
|
||||
webview={webview}
|
||||
stationData={mapsStationData}
|
||||
favoriteStation={favoriteStation}
|
||||
setFavoriteStation={setFavoriteStation}
|
||||
/>
|
||||
)}
|
||||
</Stack.Screen>
|
||||
</Stack.Navigator>
|
||||
);
|
||||
}
|
||||
function menuPage() {
|
||||
};
|
||||
function MenuPage({
|
||||
navigation,
|
||||
favoriteStation,
|
||||
setFavoriteStation,
|
||||
busAndTrainData,
|
||||
currentTrainState,
|
||||
currentTrainLoadingState,
|
||||
getCurrentTrain,
|
||||
}) {
|
||||
useEffect(() => {
|
||||
const unsubscribe = navigation.addListener("tabPress", (e) => {
|
||||
AS.getItem("favoriteStation")
|
||||
.then((d) => {
|
||||
const returnData = JSON.parse(d);
|
||||
if (favoriteStation.toString() != d) {
|
||||
setFavoriteStation(returnData);
|
||||
}
|
||||
})
|
||||
.catch((d) => console.log(d));
|
||||
});
|
||||
|
||||
return unsubscribe;
|
||||
}, [navigation]);
|
||||
return (
|
||||
<Stack.Navigator>
|
||||
<Stack.Screen
|
||||
name="menu"
|
||||
component={menu}
|
||||
options={{
|
||||
headerShown: false,
|
||||
gestureEnabled: true,
|
||||
headerTransparent: true,
|
||||
}}
|
||||
/>
|
||||
<Stack.Screen name="setting" component={Setting} options={optionData} />
|
||||
>
|
||||
{(props) => (
|
||||
<Menu
|
||||
{...props}
|
||||
favoriteStation={favoriteStation}
|
||||
setFavoriteStation={setFavoriteStation}
|
||||
busAndTrainData={busAndTrainData}
|
||||
currentTrainState={currentTrainState}
|
||||
currentTrainLoadingState={currentTrainLoadingState}
|
||||
getCurrentTrain={getCurrentTrain}
|
||||
/>
|
||||
)}
|
||||
</Stack.Screen>
|
||||
<Stack.Screen name="setting" options={optionData}>
|
||||
{(props) => <Setting {...props} />}
|
||||
</Stack.Screen>
|
||||
<Stack.Screen
|
||||
name="trainbase"
|
||||
options={{
|
||||
...TransitionPresets.ModalPresentationIOS,
|
||||
cardOverlayEnabled: true,
|
||||
headerShown: false,
|
||||
gestureEnabled: true,
|
||||
headerTransparent: true,
|
||||
gestureResponseDistance: { vertical: 300 },
|
||||
}}
|
||||
>
|
||||
{(props) => <TrainBase {...props} />}
|
||||
</Stack.Screen>
|
||||
<Stack.Screen
|
||||
name="howto"
|
||||
options={{
|
||||
...optionData,
|
||||
}}
|
||||
>
|
||||
{(props) => <HowTo {...props} />}
|
||||
</Stack.Screen>
|
||||
</Stack.Navigator>
|
||||
);
|
||||
}
|
||||
|
459
Apps.js
459
Apps.js
@@ -8,109 +8,249 @@ import {
|
||||
} from "react-native";
|
||||
import { WebView } from "react-native-webview";
|
||||
import Constants from "expo-constants";
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
import { Ionicons, MaterialCommunityIcons } from "@expo/vector-icons";
|
||||
import { AS } from "./storageControl";
|
||||
import { news } from "./config/newsUpdate";
|
||||
import { getStationList } from "./lib/getStationList";
|
||||
import { getStationList, lineList } from "./lib/getStationList";
|
||||
import { StationDeteilView } from "./components/ActionSheetComponents/StationDeteilView";
|
||||
import { injectJavascriptData } from "./lib/webViewInjectjavascript";
|
||||
import { getStationList2 } from "./lib/getStationList2";
|
||||
import { EachTrainInfo } from "./components/ActionSheetComponents/EachTrainInfo";
|
||||
import { checkDuplicateTrainData } from "./lib/checkDuplicateTrainData";
|
||||
/*
|
||||
import StatusbarDetect from './StatusbarDetect';
|
||||
var Status = StatusbarDetect(); */
|
||||
|
||||
export default function Apps(props) {
|
||||
const {
|
||||
navigation: { navigate },
|
||||
} = props;
|
||||
export default function Apps({
|
||||
navigation,
|
||||
webview,
|
||||
favoriteStation,
|
||||
setFavoriteStation,
|
||||
busAndTrainData,
|
||||
stationData,
|
||||
currentTrainState,
|
||||
currentTrainLoadingState,
|
||||
getCurrentTrain,
|
||||
}) {
|
||||
const { currentTrain, setCurrentTrain } = currentTrainState;
|
||||
const { currentTrainLoading, setCurrentTrainLoading } =
|
||||
currentTrainLoadingState;
|
||||
const { navigate } = navigation;
|
||||
var urlcache = "";
|
||||
const webview = useRef();
|
||||
|
||||
//画面表示関連
|
||||
const [iconSetting, setIconSetting] = useState(undefined);
|
||||
const [mapSwitch, setMapSwitch] = useState(undefined);
|
||||
const [stationMenu, setStationMenu] = useState(undefined);
|
||||
|
||||
//地図用
|
||||
const [mapsStationData, setMapsStationData] = useState(undefined);
|
||||
useEffect(() => {
|
||||
getStationList2().then((data) => {
|
||||
console.log(data);
|
||||
setMapsStationData(data);
|
||||
});
|
||||
}, []);
|
||||
//列車情報表示関連
|
||||
const EachTrainInfoAsSR = useRef(null);
|
||||
const [trainInfo, setTrainInfo] = useState({
|
||||
trainNum: undefined,
|
||||
limited: undefined,
|
||||
trainData: undefined,
|
||||
});
|
||||
|
||||
//駅情報画面用
|
||||
const StationBoardAcSR = useRef(null);
|
||||
const [stationBoardData, setStationBoardData] = useState(undefined);
|
||||
const [originalStationList, setOriginalStationList] = useState();
|
||||
const [selectedStation, setSelectedStation] = useState(undefined);
|
||||
useEffect(() => getStationList().then(setOriginalStationList), []);
|
||||
const [trainMenu, setTrainMenu] = useState("true");
|
||||
let once = false;
|
||||
useEffect(() => {
|
||||
getStationList().then(setOriginalStationList);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {}, [stationData, favoriteStation]);
|
||||
//地図表示テキスト
|
||||
const injectJavascript = injectJavascriptData(
|
||||
mapSwitch,
|
||||
iconSetting,
|
||||
stationMenu
|
||||
stationMenu,
|
||||
trainMenu
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
//ニュース表示
|
||||
AsyncStorage.getItem("status")
|
||||
AS.getItem("status")
|
||||
.then((d) => {
|
||||
if (d != news) navigate("news");
|
||||
})
|
||||
.catch((e) => navigate("news"));
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
//列車アイコンスイッチ
|
||||
AsyncStorage.getItem("iconSwitch")
|
||||
AS.getItem("iconSwitch")
|
||||
.then((d) => {
|
||||
if (d) {
|
||||
setIconSetting(d);
|
||||
} else {
|
||||
AsyncStorage.setItem("iconSwitch", "true").then(() =>
|
||||
Updates.reloadAsync()
|
||||
);
|
||||
AS.setItem("iconSwitch", "true").then(Updates.reloadAsync);
|
||||
}
|
||||
})
|
||||
.catch((d) =>
|
||||
AsyncStorage.setItem("iconSwitch", "true").then(() =>
|
||||
Updates.reloadAsync()
|
||||
)
|
||||
);
|
||||
.catch((d) => AS.setItem("iconSwitch", "true").then(Updates.reloadAsync));
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
//地図スイッチ
|
||||
AsyncStorage.getItem("mapSwitch")
|
||||
AS.getItem("mapSwitch")
|
||||
.then((d) => {
|
||||
if (d) {
|
||||
setMapSwitch(d);
|
||||
} else {
|
||||
AsyncStorage.setItem("mapSwitch", "false").then(() =>
|
||||
Updates.reloadAsync()
|
||||
);
|
||||
AS.setItem("mapSwitch", "false").then(Updates.reloadAsync);
|
||||
}
|
||||
})
|
||||
.catch((d) =>
|
||||
AsyncStorage.setItem("mapSwitch", "false").then(() =>
|
||||
Updates.reloadAsync()
|
||||
)
|
||||
);
|
||||
.catch((d) => AS.setItem("mapSwitch", "false").then(Updates.reloadAsync));
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
//駅メニュースイッチ
|
||||
AsyncStorage.getItem("stationSwitch")
|
||||
AS.getItem("stationSwitch")
|
||||
.then((d) => {
|
||||
if (d) {
|
||||
setStationMenu(d);
|
||||
} else {
|
||||
AsyncStorage.setItem("stationSwitch", "true").then(() =>
|
||||
Updates.reloadAsync()
|
||||
);
|
||||
AS.setItem("stationSwitch", "true").then(Updates.reloadAsync);
|
||||
}
|
||||
})
|
||||
.catch((d) =>
|
||||
AsyncStorage.setItem("stationSwitch", "true").then(() =>
|
||||
Updates.reloadAsync()
|
||||
)
|
||||
AS.setItem("stationSwitch", "true").then(Updates.reloadAsync)
|
||||
);
|
||||
}, []);
|
||||
useEffect(() => {
|
||||
//列車メニュースイッチ
|
||||
AS.getItem("trainSwitch")
|
||||
.then((d) => {
|
||||
if (d) {
|
||||
setTrainMenu(d);
|
||||
} else {
|
||||
AS.setItem("trainSwitch", "true").then(Updates.reloadAsync);
|
||||
}
|
||||
})
|
||||
.catch((d) =>
|
||||
AS.setItem("trainSwitch", "true").then(Updates.reloadAsync)
|
||||
);
|
||||
}, []);
|
||||
|
||||
const onMessage = (event) => {
|
||||
if (event.nativeEvent.data.includes("train.html")) {
|
||||
navigate("trainbase", { info: event.nativeEvent.data, from: "Train" });
|
||||
return;
|
||||
}
|
||||
if (!originalStationList) {
|
||||
alert("駅名標データを取得中...");
|
||||
return;
|
||||
}
|
||||
const dataSet = JSON.parse(event.nativeEvent.data);
|
||||
switch (dataSet.type) {
|
||||
case "PopUpMenu": {
|
||||
const selectedStationPDFAddress = dataSet.pdf;
|
||||
const findStationEachLine = (selectLine) => {
|
||||
let NearStation = selectLine.filter(
|
||||
(d) => d.StationTimeTable == selectedStationPDFAddress
|
||||
);
|
||||
return NearStation;
|
||||
};
|
||||
let returnDataBase = lineList
|
||||
.map((d) => findStationEachLine(originalStationList[d]))
|
||||
.filter((d) => d.length > 0)
|
||||
.reduce((pre, current) => {
|
||||
pre.push(...current);
|
||||
return pre;
|
||||
}, []);
|
||||
|
||||
if (returnDataBase.length) {
|
||||
setStationBoardData(returnDataBase);
|
||||
StationBoardAcSR.current?.show();
|
||||
} else {
|
||||
setStationBoardData(undefined);
|
||||
StationBoardAcSR.current?.hide();
|
||||
}
|
||||
return;
|
||||
}
|
||||
case "ShowTrainTimeInfo": {
|
||||
const { trainNum, limited } = dataSet;
|
||||
//alert(trainNum, limited);
|
||||
setTrainInfo({
|
||||
trainNum,
|
||||
limited,
|
||||
trainData: checkDuplicateTrainData(
|
||||
currentTrain.filter((a) => a.num == trainNum)
|
||||
),
|
||||
}); //遅延情報は未実装
|
||||
EachTrainInfoAsSR.current?.show();
|
||||
return;
|
||||
}
|
||||
default: {
|
||||
return;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const onNavigationStateChange = (event) => {
|
||||
if (event.url != urlcache) {
|
||||
//URL二重判定回避
|
||||
urlcache = event.url;
|
||||
|
||||
if (event.url.includes("https://train.jr-shikoku.co.jp/usage.htm")) {
|
||||
if (Platform.OS === "android") navigate("howto", { info: event.url });
|
||||
webview?.current.goBack();
|
||||
//Actions.howto();
|
||||
} else if (
|
||||
event.url.includes("https://train.jr-shikoku.co.jp/train.html")
|
||||
) {
|
||||
//Actions.trainbase({info: event.url});
|
||||
if (Platform.OS === "android")
|
||||
navigate("trainbase", { info: event.url });
|
||||
webview?.current.goBack();
|
||||
}
|
||||
}
|
||||
};
|
||||
function sleep(waitSec, callbackFunc) {
|
||||
// 経過時間(秒)
|
||||
var spanedSec = 0;
|
||||
|
||||
// 1秒間隔で無名関数を実行
|
||||
var id = setInterval(function () {
|
||||
spanedSec++;
|
||||
|
||||
// 経過時間 >= 待機時間の場合、待機終了。
|
||||
if (spanedSec >= waitSec) {
|
||||
// タイマー停止
|
||||
clearInterval(id);
|
||||
|
||||
// 完了時、コールバック関数を実行
|
||||
if (callbackFunc) callbackFunc();
|
||||
}
|
||||
}, 1);
|
||||
}
|
||||
|
||||
const openStationACFromEachTrainInfo = (stationName) => {
|
||||
EachTrainInfoAsSR.current?.hide();
|
||||
const findStationEachLine = (selectLine) => {
|
||||
let NearStation = selectLine.filter((d) => d.Station_JP == stationName);
|
||||
return NearStation;
|
||||
};
|
||||
let returnDataBase = lineList
|
||||
.map((d) => findStationEachLine(originalStationList[d]))
|
||||
.filter((d) => d.length > 0)
|
||||
.reduce((pre, current) => {
|
||||
pre.push(...current);
|
||||
return pre;
|
||||
}, []);
|
||||
if (returnDataBase.length) {
|
||||
setStationBoardData(returnDataBase);
|
||||
sleep(25, function () {
|
||||
StationBoardAcSR.current?.show();
|
||||
});
|
||||
} else {
|
||||
setStationBoardData(undefined);
|
||||
StationBoardAcSR.current?.hide();
|
||||
}
|
||||
};
|
||||
return (
|
||||
<View
|
||||
style={{
|
||||
@@ -120,7 +260,7 @@ export default function Apps(props) {
|
||||
>
|
||||
{/* {Status} */}
|
||||
<WebView
|
||||
useWebKit={true}
|
||||
useWebKit
|
||||
ref={webview}
|
||||
source={{ uri: "https://train.jr-shikoku.co.jp/sp.html" }}
|
||||
originWhitelist={[
|
||||
@@ -128,125 +268,136 @@ export default function Apps(props) {
|
||||
"https://train.jr-shikoku.co.jp/sp.html",
|
||||
]}
|
||||
mixedContentMode={"compatibility"}
|
||||
javaScriptEnabled={true}
|
||||
allowsBackForwardNavigationGestures={true}
|
||||
setSupportMultipleWindows={true}
|
||||
onNavigationStateChange={(event) => {
|
||||
if (event.url != urlcache) {
|
||||
//URL二重判定回避
|
||||
urlcache = event.url;
|
||||
|
||||
if (
|
||||
event.url.includes("https://train.jr-shikoku.co.jp/usage.htm")
|
||||
) {
|
||||
if (Platform.OS === "android") navigate("howto");
|
||||
webview?.current.goBack();
|
||||
//Actions.howto();
|
||||
} else if (
|
||||
event.url.includes("https://train.jr-shikoku.co.jp/train.html")
|
||||
) {
|
||||
//Actions.trainbase({info: event.url});
|
||||
if (Platform.OS === "android")
|
||||
navigate("trainbase", { info: event.url });
|
||||
webview?.current.goBack();
|
||||
}
|
||||
}
|
||||
}}
|
||||
onMessage={(event) => {
|
||||
if (!originalStationList) {
|
||||
alert("駅名標データを取得中...");
|
||||
return;
|
||||
}
|
||||
if (event.nativeEvent.data.includes("PopUpMenu")) {
|
||||
const selectedStationPDFAddress = event.nativeEvent.data
|
||||
.split(",")[3]
|
||||
.replace("'", "")
|
||||
.replace("'", "");
|
||||
|
||||
const findStationEachLine = (selectLine) => {
|
||||
let NearStation = selectLine.filter(
|
||||
(d) => d.StationTimeTable == selectedStationPDFAddress
|
||||
);
|
||||
return NearStation;
|
||||
};
|
||||
|
||||
const lineList = [
|
||||
"予讃線",
|
||||
"松宇線",
|
||||
"伊予灘線",
|
||||
"土讃線",
|
||||
"窪川線",
|
||||
"高徳線",
|
||||
"徳島線",
|
||||
"鳴門線",
|
||||
"瀬戸大橋線",
|
||||
];
|
||||
let returnDataBase = lineList
|
||||
.map((d) => findStationEachLine(originalStationList[d]))
|
||||
.filter((d) => d.length > 0)
|
||||
.reduce((pre, current) => {
|
||||
pre.push(...current);
|
||||
return pre;
|
||||
}, []);
|
||||
if (returnDataBase.length) {
|
||||
let currentStation =
|
||||
currentStation == undefined ? [] : currentStation;
|
||||
setStationBoardData(returnDataBase);
|
||||
StationBoardAcSR.current?.setModalVisible();
|
||||
} else {
|
||||
setStationBoardData(undefined);
|
||||
StationBoardAcSR.current?.hide();
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
navigate("trainbase", { info: event.nativeEvent.data });
|
||||
}}
|
||||
javaScriptEnabled
|
||||
allowsBackForwardNavigationGestures
|
||||
setSupportMultipleWindows
|
||||
onNavigationStateChange={onNavigationStateChange}
|
||||
onMessage={onMessage}
|
||||
injectedJavaScript={injectJavascript}
|
||||
onTouchMove={() => StationBoardAcSR.current?.hide()}
|
||||
/>
|
||||
<TouchableOpacity
|
||||
onPress={() =>
|
||||
navigate("trainMenu", { webview, stationData: mapsStationData })
|
||||
}
|
||||
style={{
|
||||
position: "absolute",
|
||||
top: Platform.OS == "ios" ? Constants.statusBarHeight : 0,
|
||||
left: 10,
|
||||
width: 50,
|
||||
height: 50,
|
||||
backgroundColor: "#0099CC",
|
||||
borderColor: "white",
|
||||
borderStyle: "solid",
|
||||
borderWidth: 1,
|
||||
borderRadius: 50,
|
||||
alignContent: "center",
|
||||
alignSelf: "center",
|
||||
alignItems: "center",
|
||||
display: mapSwitch == "true" ? "flex" : "none",
|
||||
onLoadEnd={() => {
|
||||
if (once) return () => {};
|
||||
if (!stationData) return () => {};
|
||||
if (favoriteStation.length > 0) {
|
||||
const getStationLine = (now) => {
|
||||
const returnData = Object.keys(stationData).filter((d) => {
|
||||
const cache = stationData[d].findIndex(
|
||||
(data) => data.Station_JP == now.Station_JP
|
||||
);
|
||||
return cache != -1;
|
||||
});
|
||||
return returnData[0];
|
||||
};
|
||||
const lineName = getStationLine(favoriteStation[0][0]);
|
||||
webview.current?.injectJavaScript(
|
||||
`MoveDisplayStation('${lineName}_${favoriteStation[0][0].MyStation}_${favoriteStation[0][0].Station_JP}')`
|
||||
);
|
||||
once = true;
|
||||
}
|
||||
}}
|
||||
>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{
|
||||
textAlign: "center",
|
||||
width: "auto",
|
||||
height: "auto",
|
||||
textAlignVertical: "center",
|
||||
fontWeight: "bold",
|
||||
color: "white",
|
||||
}}
|
||||
>
|
||||
三
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</TouchableOpacity>
|
||||
/>
|
||||
<MapsButton
|
||||
onPress={() => navigate("trainMenu", { webview })}
|
||||
top={Platform.OS == "ios" ? Constants.statusBarHeight : 0}
|
||||
mapSwitch={mapSwitch == "true" ? "flex" : "none"}
|
||||
/>
|
||||
<ReloadButton
|
||||
onPress={() => webview.current.reload()}
|
||||
top={Platform.OS == "ios" ? Constants.statusBarHeight : 0}
|
||||
/>
|
||||
|
||||
<StationDeteilView
|
||||
StationBoardAcSR={StationBoardAcSR}
|
||||
currentStation={stationBoardData}
|
||||
originalStationList={originalStationList}
|
||||
favoriteStation={favoriteStation}
|
||||
setFavoriteStation={setFavoriteStation}
|
||||
busAndTrainData={busAndTrainData}
|
||||
navigate={navigate}
|
||||
onExit={() => {
|
||||
StationBoardAcSR.current?.setModalVisible();
|
||||
navigate("Apps");
|
||||
}}
|
||||
/>
|
||||
<EachTrainInfo
|
||||
setRef={EachTrainInfoAsSR}
|
||||
data={trainInfo}
|
||||
navigate={navigate}
|
||||
originalStationList={originalStationList}
|
||||
openStationACFromEachTrainInfo={openStationACFromEachTrainInfo}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
const MapsButton = ({ onPress, top, mapSwitch }) => {
|
||||
const styles = {
|
||||
touch: {
|
||||
position: "absolute",
|
||||
top,
|
||||
left: 10,
|
||||
width: 50,
|
||||
height: 50,
|
||||
backgroundColor: "#0099CC",
|
||||
borderColor: "white",
|
||||
borderStyle: "solid",
|
||||
borderWidth: 1,
|
||||
borderRadius: 50,
|
||||
alignContent: "center",
|
||||
alignSelf: "center",
|
||||
alignItems: "center",
|
||||
display: mapSwitch,
|
||||
},
|
||||
text: {
|
||||
textAlign: "center",
|
||||
width: "auto",
|
||||
height: "auto",
|
||||
textAlignVertical: "center",
|
||||
fontWeight: "bold",
|
||||
color: "white",
|
||||
},
|
||||
};
|
||||
return (
|
||||
<TouchableOpacity onPress={onPress} style={styles.touch}>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text style={styles.text}>三</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</TouchableOpacity>
|
||||
);
|
||||
};
|
||||
|
||||
const ReloadButton = ({ onPress, top, mapSwitch }) => {
|
||||
const styles = {
|
||||
touch: {
|
||||
position: "absolute",
|
||||
top,
|
||||
right: 10,
|
||||
width: 50,
|
||||
height: 50,
|
||||
backgroundColor: "#0099CC",
|
||||
borderColor: "white",
|
||||
borderStyle: "solid",
|
||||
borderWidth: 1,
|
||||
borderRadius: 50,
|
||||
alignContent: "center",
|
||||
alignSelf: "center",
|
||||
alignItems: "center",
|
||||
display: mapSwitch,
|
||||
},
|
||||
text: {
|
||||
textAlign: "center",
|
||||
width: "auto",
|
||||
height: "auto",
|
||||
textAlignVertical: "center",
|
||||
fontWeight: "bold",
|
||||
color: "white",
|
||||
},
|
||||
};
|
||||
return (
|
||||
<TouchableOpacity onPress={onPress} style={styles.touch}>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Ionicons name="reload" color="white" size={30} />
|
||||
<View style={{ flex: 1 }} />
|
||||
</TouchableOpacity>
|
||||
);
|
||||
};
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { ToastAndroid } from "react-native";
|
||||
import * as Updates from "expo-updates";
|
||||
|
||||
export const UpdateAsync = () =>
|
||||
export const UpdateAsync = () => {
|
||||
Updates.checkForUpdateAsync()
|
||||
.then((update) => {
|
||||
if (!update.isAvailable) return;
|
||||
@@ -34,3 +34,4 @@ export const UpdateAsync = () =>
|
||||
.finally(() => {
|
||||
return;
|
||||
});
|
||||
};
|
||||
|
24
app.json
24
app.json
@@ -3,8 +3,11 @@
|
||||
"name": "JR四国運行状況",
|
||||
"slug": "jrshikoku",
|
||||
"privacy": "public",
|
||||
"platforms": ["ios", "android"],
|
||||
"version": "4.4",
|
||||
"platforms": [
|
||||
"ios",
|
||||
"android"
|
||||
],
|
||||
"version": "4.5",
|
||||
"orientation": "portrait",
|
||||
"icon": "./assets/icon.png",
|
||||
"splash": {
|
||||
@@ -15,9 +18,11 @@
|
||||
"updates": {
|
||||
"fallbackToCacheTimeout": 0
|
||||
},
|
||||
"assetBundlePatterns": ["**/*"],
|
||||
"assetBundlePatterns": [
|
||||
"**/*"
|
||||
],
|
||||
"ios": {
|
||||
"buildNumber": "22",
|
||||
"buildNumber": "28",
|
||||
"supportsTablet": true,
|
||||
"bundleIdentifier": "jrshikokuinfo.xprocess.hrkn",
|
||||
"config": {
|
||||
@@ -26,14 +31,21 @@
|
||||
},
|
||||
"android": {
|
||||
"package": "jrshikokuinfo.xprocess.hrkn",
|
||||
"versionCode": 16,
|
||||
"permissions": ["ACCESS_FINE_LOCATION"],
|
||||
"versionCode": 18,
|
||||
"permissions": [
|
||||
"ACCESS_FINE_LOCATION"
|
||||
],
|
||||
"googleServicesFile": "./google-services.json",
|
||||
"config": {
|
||||
"googleMaps": {
|
||||
"apiKey": "AIzaSyAmFb-Yj033bXZWlSzNrfq_0jc1PgRrWcE"
|
||||
}
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"eas": {
|
||||
"projectId": "398abf60-57a7-11e9-970c-8f04356d08bf"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
1
assets/939-star.json
Normal file
1
assets/939-star.json
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/A.png
Normal file
BIN
assets/A.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 439 KiB |
BIN
assets/B.png
Normal file
BIN
assets/B.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 405 KiB |
@@ -1,53 +1,53 @@
|
||||
export default [
|
||||
{"BetweenStation" : "高松~鬼無" , "Datas":[{"StationName":"香西" , "StationNumber":"Y01", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kozai.pdf" }]},
|
||||
{"BetweenStation" : "端岡~鴨川" , "Datas":[{"StationName":"国分" , "StationNumber":"Y04", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kokubu.pdf" },{"StationName":"讃岐府中" , "StationNumber":"Y05", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-fuchu.pdf"}]},
|
||||
{"BetweenStation" : "鴨川~坂出" , "Datas":[{"StationName":"八十場" , "StationNumber":"Y07", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yasoba.pdf" }]},
|
||||
{"BetweenStation" : "丸亀~多度津" , "Datas":[{"StationName":"讃岐塩屋" , "StationNumber":"Y11", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-shioya.pdf" }]},
|
||||
{"BetweenStation" : "詫間~高瀬" , "Datas":[{"StationName":"みの" , "StationNumber":"Y15", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/mino.pdf" }]},
|
||||
{"BetweenStation" : "高瀬~本山" , "Datas":[{"StationName":"比地大" , "StationNumber":"Y17", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hijidai.pdf" }]},
|
||||
{"BetweenStation" : "伊予寒川~伊予土居" , "Datas":[{"StationName":"赤星" , "StationNumber":"Y25", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/akaboshi.pdf" }]},
|
||||
{"BetweenStation" : "石鎚山~伊予小松" , "Datas":[{"StationName":"伊予氷見" , "StationNumber":"Y33", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-himi.pdf" }]},
|
||||
{"BetweenStation" : "伊予小松~壬生川" , "Datas":[{"StationName":"玉之江" , "StationNumber":"Y35", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tamanoe.pdf" }]},
|
||||
{"BetweenStation" : "伊予北条~粟井" , "Datas":[{"StationName":"柳原" , "StationNumber":"Y49", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yanagihara.pdf" }]},
|
||||
{"BetweenStation" : "粟井~堀江" , "Datas":[{"StationName":"光洋台" , "StationNumber":"Y51", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/koyodai.pdf" }]},
|
||||
{"BetweenStation" : "高松~栗林" , "Datas":[{"StationName":"昭和町" , "StationNumber":"T27", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/showacho.pdf" },{"StationName":"栗林公園北口" , "StationNumber":"T26", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ritsurinkoen-kitaguchi.pdf"}]},
|
||||
{"BetweenStation" : "栗林~屋島" , "Datas":[{"StationName":"木太町" , "StationNumber":"T24", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kitacho.pdf" }]},
|
||||
{"BetweenStation" : "屋島~八栗口" , "Datas":[{"StationName":"古高松南" , "StationNumber":"T22", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/furutakamatsu-minami.pdf"}]},
|
||||
{"BetweenStation" : "八栗口~志度" , "Datas":[{"StationName":"讃岐牟礼" , "StationNumber":"T20", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-mure.pdf" }]},
|
||||
{"BetweenStation" : "造田~讃岐津田" , "Datas":[{"StationName":"神前" , "StationNumber":"T16", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kanzaki.pdf" }]},
|
||||
{"BetweenStation" : "板野~板東" , "Datas":[{"StationName":"阿波川端" , "StationNumber":"T06", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-kawabata.pdf" }]},
|
||||
{"BetweenStation" : "北伊予~伊予市" , "Datas":[{"StationName":"南伊予" , "StationNumber":"U02-1", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/minami-iyo.pdf" },{"StationName":"伊予横田" , "StationNumber":"U03", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-yokota.pdf" },{"StationName":"鳥ノ木" , "StationNumber":"U04", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/torinoki.pdf"}]},
|
||||
{"BetweenStation" : "向井原~伊予中山" , "Datas":[{"StationName":"伊予大平" , "StationNumber":"U07", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-ohira.pdf" }]},
|
||||
{"BetweenStation" : "内子~新谷" , "Datas":[{"StationName":"五十崎" , "StationNumber":"U11", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ikazaki.pdf" },{"StationName":"喜多山" , "StationNumber":"U12", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kitayama.pdf"}]},
|
||||
{"BetweenStation" : "伊予大洲~伊予平野" , "Datas":[{"StationName":"西大洲" , "StationNumber":"U15", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nishi-ozu.pdf" }]},
|
||||
{"BetweenStation" : "伊予石城~卯之町" , "Datas":[{"StationName":"上宇和" , "StationNumber":"U21", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kami-uwa.pdf" }]},
|
||||
{"BetweenStation" : "伊予吉田~北宇和島" , "Datas":[{"StationName":"高光" , "StationNumber":"U26", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/takamitsu.pdf" }]},
|
||||
{"BetweenStation" : "向井原~伊予上灘" , "Datas":[{"StationName":"高野川" , "StationNumber":"S07", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/konokawa.pdf" }]},
|
||||
{"BetweenStation" : "伊予上灘~伊予長浜" , "Datas":[{"StationName":"下灘" , "StationNumber":"S09", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shimonada.pdf" },{"StationName":"串" , "StationNumber":"S10", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kushi.pdf"},{"StationName":"喜多灘" , "StationNumber":"S11", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kitanada.pdf"}]},
|
||||
{"BetweenStation" : "伊予長浜~伊予白滝" , "Datas":[{"StationName":"伊予出石" , "StationNumber":"S13", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-izushi.pdf" }]},
|
||||
{"BetweenStation" : "伊予白滝~伊予大洲" , "Datas":[{"StationName":"八多喜" , "StationNumber":"S15", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hataki.pdf" },{"StationName":"春賀" , "StationNumber":"S16", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/haruka.pdf"},{"StationName":"五郎" , "StationNumber":"S17", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/goro.pdf"}]},
|
||||
{"BetweenStation" : "塩入~讃岐財田" , "Datas":[{"StationName":"黒川" , "StationNumber":"D17", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kurokawa.pdf" }]},
|
||||
{"BetweenStation" : "三縄~阿波川口" , "Datas":[{"StationName":"祖谷口" , "StationNumber":"D24", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyaguchi.pdf" }]},
|
||||
{"BetweenStation" : "大田口~大杉" , "Datas":[{"StationName":"土佐穴内" , "StationNumber":"D31", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-ananai.pdf" }]},
|
||||
{"BetweenStation" : "土佐北川~繁藤" , "Datas":[{"StationName":"角茂谷" , "StationNumber":"D34", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kakumodani.pdf" }]},
|
||||
{"BetweenStation" : "土佐山田~後免" , "Datas":[{"StationName":"山田西町" , "StationNumber":"D38", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yamadanishimachi.pdf" },{"StationName":"土佐長岡" , "StationNumber":"D39", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-nagaoka.pdf"}]},
|
||||
{"BetweenStation" : "土佐大津~土佐一宮" , "Datas":[{"StationName":"布師田" , "StationNumber":"D42", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nunoshida.pdf" }]},
|
||||
{"BetweenStation" : "高知~旭" , "Datas":[{"StationName":"入明" , "StationNumber":"K01", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iriake.pdf" },{"StationName":"円行寺口" , "StationNumber":"K02", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/engyojiguchi.pdf"}]},
|
||||
{"BetweenStation" : "旭~朝倉" , "Datas":[{"StationName":"高知商業前" , "StationNumber":"K04", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kochi-shogyomae.pdf" }]},
|
||||
{"BetweenStation" : "朝倉~伊野" , "Datas":[{"StationName":"枝川" , "StationNumber":"K06", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/edagawa.pdf" }]},
|
||||
{"BetweenStation" : "伊野~日下" , "Datas":[{"StationName":"波川" , "StationNumber":"K08", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hakawa.pdf" },{"StationName":"小村神社前" , "StationNumber":"K08-1", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/omurajinjamae.pdf"}]},
|
||||
{"BetweenStation" : "日下~土佐加茂" , "Datas":[{"StationName":"岡花" , "StationNumber":"K10", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/okabana.pdf" }]},
|
||||
{"BetweenStation" : "佐川~斗賀野" , "Datas":[{"StationName":"襟野々" , "StationNumber":"K14", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/erinono.pdf" }]},
|
||||
{"BetweenStation" : "多ノ郷~須崎" , "Datas":[{"StationName":"大間" , "StationNumber":"K18", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/oma.pdf" }]},
|
||||
{"BetweenStation" : "須崎~土佐久礼" , "Datas":[{"StationName":"土佐新荘" , "StationNumber":"K20", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-shinjo.pdf" },{"StationName":"安和" , "StationNumber":"K21", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa.pdf"}]},
|
||||
{"BetweenStation" : "影野~窪川" , "Datas":[{"StationName":"六反地" , "StationNumber":"K24", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/rokutanji.pdf" },{"StationName":"仁井田" , "StationNumber":"K25", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/niida.pdf"}]},
|
||||
{"BetweenStation" : "蔵本~府中" , "Datas":[{"StationName":"鮎喰" , "StationNumber":"B03", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/akui.pdf" }]},
|
||||
{"BetweenStation" : "石井~牛島" , "Datas":[{"StationName":"下浦" , "StationNumber":"B06", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shimoura.pdf" }]},
|
||||
{"BetweenStation" : "牛島~鴨島" , "Datas":[{"StationName":"麻植塚" , "StationNumber":"B08", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/oezuka.pdf" }]},
|
||||
{"BetweenStation" : "鴨島~阿波川島" , "Datas":[{"StationName":"西麻植" , "StationNumber":"B10", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nishi-oe.pdf" }]},
|
||||
{"BetweenStation" : "山瀬~川田" , "Datas":[{"StationName":"阿波山川" , "StationNumber":"B14", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-yamakawa.pdf" }]},
|
||||
{"BetweenStation" : "貞光~江口" , "Datas":[{"StationName":"阿波半田" , "StationNumber":"B19", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-handa.pdf" }]},
|
||||
{"BetweenStation" : "江口~阿波加茂" , "Datas":[{"StationName":"三加茂" , "StationNumber":"B21", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/mikamo.pdf" }]},
|
||||
{"BetweenStation" : "鳴門~池谷" , "Datas":[{"StationName":"撫養" , "StationNumber":"N09", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/muya.pdf"},{"StationName":"金比羅前" , "StationNumber":"N08", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kompiramae.pdf"},{"StationName":"教会前" , "StationNumber":"N07", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kyokaimae.pdf"},{"StationName":"立道" , "StationNumber":"N06", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tatsumichi.pdf"},{"StationName":"阿波大谷" , "StationNumber":"N05", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-otani.pdf"}]}
|
||||
|
||||
export default [
|
||||
{"BetweenStation" : "高松~鬼無" , "Datas":[{"StationName":"香西" , "StationNumber":"Y01", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kozai.pdf" }]},
|
||||
{"BetweenStation" : "端岡~鴨川" , "Datas":[{"StationName":"国分" , "StationNumber":"Y04", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kokubu.pdf" },{"StationName":"讃岐府中" , "StationNumber":"Y05", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-fuchu.pdf"}]},
|
||||
{"BetweenStation" : "鴨川~坂出" , "Datas":[{"StationName":"八十場" , "StationNumber":"Y07", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yasoba.pdf" }]},
|
||||
{"BetweenStation" : "丸亀~多度津" , "Datas":[{"StationName":"讃岐塩屋" , "StationNumber":"Y11", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-shioya.pdf" }]},
|
||||
{"BetweenStation" : "詫間~高瀬" , "Datas":[{"StationName":"みの" , "StationNumber":"Y15", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/mino.pdf" }]},
|
||||
{"BetweenStation" : "高瀬~本山" , "Datas":[{"StationName":"比地大" , "StationNumber":"Y17", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hijidai.pdf" }]},
|
||||
{"BetweenStation" : "伊予寒川~伊予土居" , "Datas":[{"StationName":"赤星" , "StationNumber":"Y25", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/akaboshi.pdf" }]},
|
||||
{"BetweenStation" : "石鎚山~伊予小松" , "Datas":[{"StationName":"伊予氷見" , "StationNumber":"Y33", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-himi.pdf" }]},
|
||||
{"BetweenStation" : "伊予小松~壬生川" , "Datas":[{"StationName":"玉之江" , "StationNumber":"Y35", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tamanoe.pdf" }]},
|
||||
{"BetweenStation" : "伊予北条~粟井" , "Datas":[{"StationName":"柳原" , "StationNumber":"Y49", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yanagihara.pdf" }]},
|
||||
{"BetweenStation" : "粟井~堀江" , "Datas":[{"StationName":"光洋台" , "StationNumber":"Y51", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/koyodai.pdf" }]},
|
||||
{"BetweenStation" : "高松~栗林" , "Datas":[{"StationName":"昭和町" , "StationNumber":"T27", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/showacho.pdf" },{"StationName":"栗林公園北口" , "StationNumber":"T26", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ritsurinkoen-kitaguchi.pdf"}]},
|
||||
{"BetweenStation" : "栗林~屋島" , "Datas":[{"StationName":"木太町" , "StationNumber":"T24", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kitacho.pdf" }]},
|
||||
{"BetweenStation" : "屋島~八栗口" , "Datas":[{"StationName":"古高松南" , "StationNumber":"T22", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/furutakamatsu-minami.pdf"}]},
|
||||
{"BetweenStation" : "八栗口~志度" , "Datas":[{"StationName":"讃岐牟礼" , "StationNumber":"T20", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-mure.pdf" }]},
|
||||
{"BetweenStation" : "造田~讃岐津田" , "Datas":[{"StationName":"神前" , "StationNumber":"T16", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kanzaki.pdf" }]},
|
||||
{"BetweenStation" : "板野~板東" , "Datas":[{"StationName":"阿波川端" , "StationNumber":"T06", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-kawabata.pdf" }]},
|
||||
{"BetweenStation" : "北伊予~伊予市" , "Datas":[{"StationName":"南伊予" , "StationNumber":"U02-1", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/minami-iyo.pdf" },{"StationName":"伊予横田" , "StationNumber":"U03", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-yokota.pdf" },{"StationName":"鳥ノ木" , "StationNumber":"U04", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/torinoki.pdf"}]},
|
||||
{"BetweenStation" : "向井原~伊予中山" , "Datas":[{"StationName":"伊予大平" , "StationNumber":"U07", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-ohira.pdf" }]},
|
||||
{"BetweenStation" : "内子~新谷" , "Datas":[{"StationName":"五十崎" , "StationNumber":"U11", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ikazaki.pdf" },{"StationName":"喜多山" , "StationNumber":"U12", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kitayama.pdf"}]},
|
||||
{"BetweenStation" : "伊予大洲~伊予平野" , "Datas":[{"StationName":"西大洲" , "StationNumber":"U15", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nishi-ozu.pdf" }]},
|
||||
{"BetweenStation" : "伊予石城~卯之町" , "Datas":[{"StationName":"上宇和" , "StationNumber":"U21", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kami-uwa.pdf" }]},
|
||||
{"BetweenStation" : "伊予吉田~北宇和島" , "Datas":[{"StationName":"高光" , "StationNumber":"U26", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/takamitsu.pdf" }]},
|
||||
{"BetweenStation" : "向井原~伊予上灘" , "Datas":[{"StationName":"高野川" , "StationNumber":"S07", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/konokawa.pdf" }]},
|
||||
{"BetweenStation" : "伊予上灘~伊予長浜" , "Datas":[{"StationName":"下灘" , "StationNumber":"S09", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shimonada.pdf" },{"StationName":"串" , "StationNumber":"S10", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kushi.pdf"},{"StationName":"喜多灘" , "StationNumber":"S11", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kitanada.pdf"}]},
|
||||
{"BetweenStation" : "伊予長浜~伊予白滝" , "Datas":[{"StationName":"伊予出石" , "StationNumber":"S13", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-izushi.pdf" }]},
|
||||
{"BetweenStation" : "伊予白滝~伊予大洲" , "Datas":[{"StationName":"八多喜" , "StationNumber":"S15", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hataki.pdf" },{"StationName":"春賀" , "StationNumber":"S16", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/haruka.pdf"},{"StationName":"五郎" , "StationNumber":"S17", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/goro.pdf"}]},
|
||||
{"BetweenStation" : "塩入~讃岐財田" , "Datas":[{"StationName":"黒川" , "StationNumber":"D17", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kurokawa.pdf" }]},
|
||||
{"BetweenStation" : "三縄~阿波川口" , "Datas":[{"StationName":"祖谷口" , "StationNumber":"D24", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyaguchi.pdf" }]},
|
||||
{"BetweenStation" : "大田口~大杉" , "Datas":[{"StationName":"土佐穴内" , "StationNumber":"D31", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-ananai.pdf" }]},
|
||||
{"BetweenStation" : "土佐北川~繁藤" , "Datas":[{"StationName":"角茂谷" , "StationNumber":"D34", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kakumodani.pdf" }]},
|
||||
{"BetweenStation" : "土佐山田~後免" , "Datas":[{"StationName":"山田西町" , "StationNumber":"D38", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yamadanishimachi.pdf" },{"StationName":"土佐長岡" , "StationNumber":"D39", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-nagaoka.pdf"}]},
|
||||
{"BetweenStation" : "土佐大津~土佐一宮" , "Datas":[{"StationName":"布師田" , "StationNumber":"D42", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nunoshida.pdf" }]},
|
||||
{"BetweenStation" : "高知~旭" , "Datas":[{"StationName":"入明" , "StationNumber":"K01", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iriake.pdf" },{"StationName":"円行寺口" , "StationNumber":"K02", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/engyojiguchi.pdf"}]},
|
||||
{"BetweenStation" : "旭~朝倉" , "Datas":[{"StationName":"高知商業前" , "StationNumber":"K04", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kochi-shogyomae.pdf" }]},
|
||||
{"BetweenStation" : "朝倉~伊野" , "Datas":[{"StationName":"枝川" , "StationNumber":"K06", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/edagawa.pdf" }]},
|
||||
{"BetweenStation" : "伊野~日下" , "Datas":[{"StationName":"波川" , "StationNumber":"K08", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hakawa.pdf" },{"StationName":"小村神社前" , "StationNumber":"K08-1", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/omurajinjamae.pdf"}]},
|
||||
{"BetweenStation" : "日下~土佐加茂" , "Datas":[{"StationName":"岡花" , "StationNumber":"K10", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/okabana.pdf" }]},
|
||||
{"BetweenStation" : "佐川~斗賀野" , "Datas":[{"StationName":"襟野々" , "StationNumber":"K14", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/erinono.pdf" }]},
|
||||
{"BetweenStation" : "多ノ郷~須崎" , "Datas":[{"StationName":"大間" , "StationNumber":"K18", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/oma.pdf" }]},
|
||||
{"BetweenStation" : "須崎~土佐久礼" , "Datas":[{"StationName":"土佐新荘" , "StationNumber":"K20", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-shinjo.pdf" },{"StationName":"安和" , "StationNumber":"K21", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa.pdf"}]},
|
||||
{"BetweenStation" : "影野~窪川" , "Datas":[{"StationName":"六反地" , "StationNumber":"K24", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/rokutanji.pdf" },{"StationName":"仁井田" , "StationNumber":"K25", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/niida.pdf"}]},
|
||||
{"BetweenStation" : "蔵本~府中" , "Datas":[{"StationName":"鮎喰" , "StationNumber":"B03", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/akui.pdf" }]},
|
||||
{"BetweenStation" : "石井~牛島" , "Datas":[{"StationName":"下浦" , "StationNumber":"B06", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shimoura.pdf" }]},
|
||||
{"BetweenStation" : "牛島~鴨島" , "Datas":[{"StationName":"麻植塚" , "StationNumber":"B08", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/oezuka.pdf" }]},
|
||||
{"BetweenStation" : "鴨島~阿波川島" , "Datas":[{"StationName":"西麻植" , "StationNumber":"B10", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nishi-oe.pdf" }]},
|
||||
{"BetweenStation" : "山瀬~川田" , "Datas":[{"StationName":"阿波山川" , "StationNumber":"B14", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-yamakawa.pdf" }]},
|
||||
{"BetweenStation" : "貞光~江口" , "Datas":[{"StationName":"阿波半田" , "StationNumber":"B19", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-handa.pdf" }]},
|
||||
{"BetweenStation" : "江口~阿波加茂" , "Datas":[{"StationName":"三加茂" , "StationNumber":"B21", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/mikamo.pdf" }]},
|
||||
{"BetweenStation" : "鳴門~池谷" , "Datas":[{"StationName":"撫養" , "StationNumber":"N09", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/muya.pdf"},{"StationName":"金比羅前" , "StationNumber":"N08", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kompiramae.pdf"},{"StationName":"教会前" , "StationNumber":"N07", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kyokaimae.pdf"},{"StationName":"立道" , "StationNumber":"N06", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tatsumichi.pdf"},{"StationName":"阿波大谷" , "StationNumber":"N05", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-otani.pdf"}]}
|
||||
|
||||
]
|
@@ -1,29 +1,29 @@
|
||||
export default [
|
||||
{"Station_JP" : "多度津", "Station_EN" : "Tadotsu", "MyStation" : "0", "StationNumber" : "D12", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tadotsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.271088,133.756735", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/tadotsu/"},
|
||||
{"Station_JP" : "金蔵寺", "Station_EN" : "Konzōji", "MyStation" : "0", "StationNumber" : "D13", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/konzoji.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.247861,133.777594", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "善通寺", "Station_EN" : "Zentsūji", "MyStation" : "1", "StationNumber" : "D14", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/zentsuji.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.229958,133.789141", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/zentsuji/"},
|
||||
{"Station_JP" : "琴平", "Station_EN" : "Kotohira", "MyStation" : "2", "StationNumber" : "D15", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kotohira.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.191903,133.821295", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kotohira/"},
|
||||
{"Station_JP" : "塩入", "Station_EN" : "Shioiri", "MyStation" : "3", "StationNumber" : "D16", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shioiri.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.156034,133.849974", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "讃岐財田", "Station_EN" : "Sanuki-Saida", "MyStation" : "4", "StationNumber" : "D18", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-saida.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.117586,133.814181", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "坪尻", "Station_EN" : "Tsubojiri", "MyStation" : "5", "StationNumber" : "D19", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tsubojiri.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.054035,133.823675", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "箸蔵", "Station_EN" : "Hashikura", "MyStation" : "6", "StationNumber" : "D20", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hashikura.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.040343,133.848761", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "佃", "Station_EN" : "Tsukuda", "MyStation" : "7", "StationNumber" : "D21", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tsukuda.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.032458,133.857363", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "阿波池田", "Station_EN" : "Awa-Ikeda", "MyStation" : "8", "StationNumber" : "D22", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-ikeda.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.027177,133.804619", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/awaikeda/"},
|
||||
{"Station_JP" : "三縄", "Station_EN" : "Minawa", "MyStation" : "9", "StationNumber" : "D23", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/minawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.006837,133.787427", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "阿波川口", "Station_EN" : "Awa-Kawaguchi", "MyStation" : "10", "StationNumber" : "D25", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-kawaguchi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.963705,133.754617", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "小歩危", "Station_EN" : "Koboke", "MyStation" : "11", "StationNumber" : "D26", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/koboke.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.923338,133.758747", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "大歩危", "Station_EN" : "Ōboke", "MyStation" : "12", "StationNumber" : "D27", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/oboke.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.876483,133.767298", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/oboke/"},
|
||||
{"Station_JP" : "土佐岩原", "Station_EN" : "Tosa-Iwahara", "MyStation" : "13", "StationNumber" : "D28", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-iwahara.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.822635,133.788204", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "豊永", "Station_EN" : "Toyonaga", "MyStation" : "14", "StationNumber" : "D29", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/toyonaga.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.796841,133.759716", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "大田口", "Station_EN" : "Ōtaguchi", "MyStation" : "15", "StationNumber" : "D30", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/otaguchi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.785517,133.726602", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "大杉", "Station_EN" : "Ōsugi", "MyStation" : "16", "StationNumber" : "D32", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/osugi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.760938,133.664483", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "土佐北川", "Station_EN" : "Tosa-Kitagawa", "MyStation" : "17", "StationNumber" : "D33", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-kitagawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.714781,133.686312", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "繁藤", "Station_EN" : "Shigetō", "MyStation" : "18", "StationNumber" : "D35", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shigeto.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.680386,133.6902" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "新改", "Station_EN" : "Shingai", "MyStation" : "19", "StationNumber" : "D36", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shingai.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.649629,133.695788", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "土佐山田", "Station_EN" : "Tosa-Yamada", "MyStation" : "20", "StationNumber" : "D37", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-yamada.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.607099,133.684992", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/tosayamada/"},
|
||||
{"Station_JP" : "後免", "Station_EN" : "Gomen", "MyStation" : "21", "StationNumber" : "D40", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/gomen.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.579234,133.645357", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/gomen/"},
|
||||
{"Station_JP" : "土佐大津", "Station_EN" : "Tosa-Ōtsu", "MyStation" : "22", "StationNumber" : "D41", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-otsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.576384,133.611446", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "土佐一宮", "Station_EN" : "Tosa-Ikku", "MyStation" : "23", "StationNumber" : "D43", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-ikku.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.579247,133.576891", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "薊野", "Station_EN" : "Azōno", "MyStation" : "24", "StationNumber" : "D44", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/azono.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.578616,133.560692", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "高知", "Station_EN" : "Kōchi", "MyStation" : "25", "StationNumber" : "D45", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kochi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.566525,133.543638", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kochi/"}
|
||||
export default [
|
||||
{"Station_JP" : "多度津", "Station_EN" : "Tadotsu", "MyStation" : "0", "StationNumber" : "D12", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tadotsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.271088,133.756735", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/tadotsu/"},
|
||||
{"Station_JP" : "金蔵寺", "Station_EN" : "Konzōji", "MyStation" : "0", "StationNumber" : "D13", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/konzoji.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.247861,133.777594", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "善通寺", "Station_EN" : "Zentsūji", "MyStation" : "1", "StationNumber" : "D14", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/zentsuji.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.229958,133.789141", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/zentsuji/"},
|
||||
{"Station_JP" : "琴平", "Station_EN" : "Kotohira", "MyStation" : "2", "StationNumber" : "D15", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kotohira.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.191903,133.821295", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kotohira/"},
|
||||
{"Station_JP" : "塩入", "Station_EN" : "Shioiri", "MyStation" : "3", "StationNumber" : "D16", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shioiri.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.156034,133.849974", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "讃岐財田", "Station_EN" : "Sanuki-Saida", "MyStation" : "4", "StationNumber" : "D18", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-saida.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.117586,133.814181", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "坪尻", "Station_EN" : "Tsubojiri", "MyStation" : "5", "StationNumber" : "D19", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tsubojiri.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.054035,133.823675", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "箸蔵", "Station_EN" : "Hashikura", "MyStation" : "6", "StationNumber" : "D20", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hashikura.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.040343,133.848761", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "佃", "Station_EN" : "Tsukuda", "MyStation" : "7", "StationNumber" : "D21", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tsukuda.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.032458,133.857363", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "阿波池田", "Station_EN" : "Awa-Ikeda", "MyStation" : "8", "StationNumber" : "D22", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-ikeda.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.027177,133.804619", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/awaikeda/"},
|
||||
{"Station_JP" : "三縄", "Station_EN" : "Minawa", "MyStation" : "9", "StationNumber" : "D23", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/minawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.006837,133.787427", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "阿波川口", "Station_EN" : "Awa-Kawaguchi", "MyStation" : "10", "StationNumber" : "D25", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-kawaguchi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.963705,133.754617", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "小歩危", "Station_EN" : "Koboke", "MyStation" : "11", "StationNumber" : "D26", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/koboke.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.923338,133.758747", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "大歩危", "Station_EN" : "Ōboke", "MyStation" : "12", "StationNumber" : "D27", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/oboke.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.876483,133.767298", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/oboke/"},
|
||||
{"Station_JP" : "土佐岩原", "Station_EN" : "Tosa-Iwahara", "MyStation" : "13", "StationNumber" : "D28", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-iwahara.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.822635,133.788204", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "豊永", "Station_EN" : "Toyonaga", "MyStation" : "14", "StationNumber" : "D29", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/toyonaga.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.796841,133.759716", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "大田口", "Station_EN" : "Ōtaguchi", "MyStation" : "15", "StationNumber" : "D30", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/otaguchi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.785517,133.726602", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "大杉", "Station_EN" : "Ōsugi", "MyStation" : "16", "StationNumber" : "D32", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/osugi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.760938,133.664483", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "土佐北川", "Station_EN" : "Tosa-Kitagawa", "MyStation" : "17", "StationNumber" : "D33", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-kitagawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.714781,133.686312", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "繁藤", "Station_EN" : "Shigetō", "MyStation" : "18", "StationNumber" : "D35", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shigeto.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.680386,133.6902" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "新改", "Station_EN" : "Shingai", "MyStation" : "19", "StationNumber" : "D36", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shingai.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.649629,133.695788", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "土佐山田", "Station_EN" : "Tosa-Yamada", "MyStation" : "20", "StationNumber" : "D37", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-yamada.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.607099,133.684992", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/tosayamada/"},
|
||||
{"Station_JP" : "後免", "Station_EN" : "Gomen", "MyStation" : "21", "StationNumber" : "D40", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/gomen.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.579234,133.645357", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/gomen/"},
|
||||
{"Station_JP" : "土佐大津", "Station_EN" : "Tosa-Ōtsu", "MyStation" : "22", "StationNumber" : "D41", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-otsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.576384,133.611446", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "土佐一宮", "Station_EN" : "Tosa-Ikku", "MyStation" : "23", "StationNumber" : "D43", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-ikku.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.579247,133.576891", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "薊野", "Station_EN" : "Azōno", "MyStation" : "24", "StationNumber" : "D44", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/azono.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.578616,133.560692", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "高知", "Station_EN" : "Kōchi", "MyStation" : "25", "StationNumber" : "D45", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kochi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.566525,133.543638", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kochi/"}
|
||||
]
|
@@ -1,17 +1,17 @@
|
||||
export default [
|
||||
{"Station_JP" : "高知", "Station_EN" : "Kōchi", "MyStation" : "0", "StationNumber" : "K00", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kochi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.566525,133.543638", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kochi/"},
|
||||
{"Station_JP" : "旭", "Station_EN" : "Asahi", "MyStation" : "0", "StationNumber" : "K03", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/asahi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.558853,133.508817", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "朝倉", "Station_EN" : "Asakura", "MyStation" : "1", "StationNumber" : "K05", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/asakura.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.551389,133.485354", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/asakura/"},
|
||||
{"Station_JP" : "伊野", "Station_EN" : "Ino", "MyStation" : "2", "StationNumber" : "K07", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ino.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.547505,133.430131", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "日下", "Station_EN" : "Kusaka", "MyStation" : "3", "StationNumber" : "K09", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kusaka.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.53338,133.371236" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "土佐加茂", "Station_EN" : "Tosa-Kamo", "MyStation" : "4", "StationNumber" : "K11", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-kamo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.523569,133.321135", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "西佐川", "Station_EN" : "Nishi-Sakawa", "MyStation" : "5", "StationNumber" : "K12", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nishi-sakawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.512623,133.286508", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "佐川", "Station_EN" : "Sakawa", "MyStation" : "6", "StationNumber" : "K13", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sakawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.500105,133.292438", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/sakawa/"},
|
||||
{"Station_JP" : "斗賀野", "Station_EN" : "Togano", "MyStation" : "7", "StationNumber" : "K15", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/togano.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.475415,133.286372", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "吾桑", "Station_EN" : "Asō", "MyStation" : "8", "StationNumber" : "K16", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/aso.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.430181,133.295638", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "多ノ郷", "Station_EN" : "Ōnogō", "MyStation" : "9", "StationNumber" : "K17", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/onogo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.410727,133.294630", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "須崎", "Station_EN" : "Susaki", "MyStation" : "10", "StationNumber" : "K19", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/susaki.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.392624,133.293189", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/susaki/"},
|
||||
{"Station_JP" : "土佐久礼", "Station_EN" : "Tosa-Kure", "MyStation" : "11", "StationNumber" : "K22", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-kure.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.329028,133.226483", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "影野", "Station_EN" : "Kageno", "MyStation" : "12", "StationNumber" : "K23", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kageno.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.275882,133.17358" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "窪川", "Station_EN" : "Kubokawa", "MyStation" : "13", "StationNumber" : "K26", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kubokawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.212436,133.13716" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kubokawa/"}
|
||||
export default [
|
||||
{"Station_JP" : "高知", "Station_EN" : "Kōchi", "MyStation" : "0", "StationNumber" : "K00", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kochi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.566525,133.543638", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kochi/"},
|
||||
{"Station_JP" : "旭", "Station_EN" : "Asahi", "MyStation" : "0", "StationNumber" : "K03", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/asahi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.558853,133.508817", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "朝倉", "Station_EN" : "Asakura", "MyStation" : "1", "StationNumber" : "K05", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/asakura.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.551389,133.485354", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/asakura/"},
|
||||
{"Station_JP" : "伊野", "Station_EN" : "Ino", "MyStation" : "2", "StationNumber" : "K07", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ino.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.547505,133.430131", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "日下", "Station_EN" : "Kusaka", "MyStation" : "3", "StationNumber" : "K09", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kusaka.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.53338,133.371236" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "土佐加茂", "Station_EN" : "Tosa-Kamo", "MyStation" : "4", "StationNumber" : "K11", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-kamo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.523569,133.321135", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "西佐川", "Station_EN" : "Nishi-Sakawa", "MyStation" : "5", "StationNumber" : "K12", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nishi-sakawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.512623,133.286508", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "佐川", "Station_EN" : "Sakawa", "MyStation" : "6", "StationNumber" : "K13", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sakawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.500105,133.292438", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/sakawa/"},
|
||||
{"Station_JP" : "斗賀野", "Station_EN" : "Togano", "MyStation" : "7", "StationNumber" : "K15", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/togano.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.475415,133.286372", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "吾桑", "Station_EN" : "Asō", "MyStation" : "8", "StationNumber" : "K16", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/aso.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.430181,133.295638", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "多ノ郷", "Station_EN" : "Ōnogō", "MyStation" : "9", "StationNumber" : "K17", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/onogo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.410727,133.294630", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "須崎", "Station_EN" : "Susaki", "MyStation" : "10", "StationNumber" : "K19", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/susaki.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.392624,133.293189", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/susaki/"},
|
||||
{"Station_JP" : "土佐久礼", "Station_EN" : "Tosa-Kure", "MyStation" : "11", "StationNumber" : "K22", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tosa-kure.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.329028,133.226483", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "影野", "Station_EN" : "Kageno", "MyStation" : "12", "StationNumber" : "K23", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kageno.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.275882,133.17358" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "窪川", "Station_EN" : "Kubokawa", "MyStation" : "13", "StationNumber" : "K26", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kubokawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.212436,133.13716" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kubokawa/"}
|
||||
]
|
@@ -1,24 +1,24 @@
|
||||
export default [
|
||||
{"Station_JP" : "高松", "Station_EN" : "Takamatsu", "MyStation" : "0", "StationNumber" : "T28", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/takamatsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.350682,134.046938", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/takamatsu/"},
|
||||
{"Station_JP" : "栗林", "Station_EN" : "Ritsurin", "MyStation" : "0", "StationNumber" : "T25", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ritsurin.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.332203,134.053588", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/ritsurin/"},
|
||||
{"Station_JP" : "屋島", "Station_EN" : "Yashima", "MyStation" : "1", "StationNumber" : "T23", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yashima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.336655,134.109102", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/yashima/"},
|
||||
{"Station_JP" : "八栗口", "Station_EN" : "Yakuriguchi", "MyStation" : "2", "StationNumber" : "T21", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yakuriguchi.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.339097,134.136488", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "志度", "Station_EN" : "Shido", "MyStation" : "3", "StationNumber" : "T19", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shido.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.321624,134.1728" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/shido/"},
|
||||
{"Station_JP" : "オレンジタウン", "Station_EN" : "Orange-Town", "MyStation" : "4", "StationNumber" : "T18", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/orange-town.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.301827,134.180946", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "造田", "Station_EN" : "Zōda", "MyStation" : "5", "StationNumber" : "T17", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/zoda.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.282822,134.185946", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "讃岐津田", "Station_EN" : "Sanuki-Tsuda", "MyStation" : "6", "StationNumber" : "T15", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-tsuda.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.288442,134.248154", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "鶴羽", "Station_EN" : "Tsuruwa", "MyStation" : "7", "StationNumber" : "T14", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tsuruwa.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.280008,134.273842", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "丹生", "Station_EN" : "Nibu", "MyStation" : "8", "StationNumber" : "T13", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nibu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.254508,134.301487", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "三本松", "Station_EN" : "Sambommatsu", "MyStation" : "9", "StationNumber" : "T12", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sambommatsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.251538,134.334473", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/sanbonmatsu/"},
|
||||
{"Station_JP" : "讃岐白鳥", "Station_EN" : "Sanuki-Shirotori", "MyStation" : "10", "StationNumber" : "T11", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-shirotori.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.243642,134.366203", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "引田", "Station_EN" : "Hiketa", "MyStation" : "11", "StationNumber" : "T10", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hiketa.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.224467,134.402083", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "讃岐相生", "Station_EN" : "Sanuki-Aioi", "MyStation" : "12", "StationNumber" : "T09", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-aioi.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.211994,134.424534", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "阿波大宮", "Station_EN" : "Awa-Ōmiya", "MyStation" : "13", "StationNumber" : "T08", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-omiya.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.17859,134.448947" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "板野", "Station_EN" : "Itano", "MyStation" : "14", "StationNumber" : "T07", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/itano.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.142193,134.46597" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/itano/"},
|
||||
{"Station_JP" : "板東", "Station_EN" : "Bandō", "MyStation" : "15", "StationNumber" : "T05", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/bando.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.155432,134.506866", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "池谷", "Station_EN" : "Ikenotani", "MyStation" : "16", "StationNumber" : "T04", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ikenotani.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.15293,134.528905" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "勝瑞", "Station_EN" : "Shōzui", "MyStation" : "17", "StationNumber" : "T03", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shozui.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.128644,134.528267", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "吉成", "Station_EN" : "Yoshinari", "MyStation" : "18", "StationNumber" : "T02", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yoshinari.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.118511,134.530745", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "佐古", "Station_EN" : "Sako", "MyStation" : "19", "StationNumber" : "T01", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sako.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.080616,134.538576", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "徳島", "Station_EN" : "Tokushima", "MyStation" : "20", "StationNumber" : "T00", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tokushima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.074642,134.550764", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/tokushima/"}
|
||||
]
|
||||
export default [
|
||||
{"Station_JP" : "高松", "Station_EN" : "Takamatsu", "MyStation" : "0", "StationNumber" : "T28", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/takamatsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.350682,134.046938", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/takamatsu/"},
|
||||
{"Station_JP" : "栗林", "Station_EN" : "Ritsurin", "MyStation" : "0", "StationNumber" : "T25", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ritsurin.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.332203,134.053588", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/ritsurin/"},
|
||||
{"Station_JP" : "屋島", "Station_EN" : "Yashima", "MyStation" : "1", "StationNumber" : "T23", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yashima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.336655,134.109102", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/yashima/"},
|
||||
{"Station_JP" : "八栗口", "Station_EN" : "Yakuriguchi", "MyStation" : "2", "StationNumber" : "T21", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yakuriguchi.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.339097,134.136488", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "志度", "Station_EN" : "Shido", "MyStation" : "3", "StationNumber" : "T19", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shido.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.321624,134.1728" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/shido/"},
|
||||
{"Station_JP" : "オレンジタウン", "Station_EN" : "Orange-Town", "MyStation" : "4", "StationNumber" : "T18", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/orange-town.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.301827,134.180946", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "造田", "Station_EN" : "Zōda", "MyStation" : "5", "StationNumber" : "T17", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/zoda.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.282822,134.185946", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "讃岐津田", "Station_EN" : "Sanuki-Tsuda", "MyStation" : "6", "StationNumber" : "T15", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-tsuda.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.288442,134.248154", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "鶴羽", "Station_EN" : "Tsuruwa", "MyStation" : "7", "StationNumber" : "T14", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tsuruwa.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.280008,134.273842", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "丹生", "Station_EN" : "Nibu", "MyStation" : "8", "StationNumber" : "T13", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nibu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.254508,134.301487", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "三本松", "Station_EN" : "Sambommatsu", "MyStation" : "9", "StationNumber" : "T12", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sambommatsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.251538,134.334473", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/sanbonmatsu/"},
|
||||
{"Station_JP" : "讃岐白鳥", "Station_EN" : "Sanuki-Shirotori", "MyStation" : "10", "StationNumber" : "T11", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-shirotori.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.243642,134.366203", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "引田", "Station_EN" : "Hiketa", "MyStation" : "11", "StationNumber" : "T10", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hiketa.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.224467,134.402083", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "讃岐相生", "Station_EN" : "Sanuki-Aioi", "MyStation" : "12", "StationNumber" : "T09", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sanuki-aioi.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.211994,134.424534", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "阿波大宮", "Station_EN" : "Awa-Ōmiya", "MyStation" : "13", "StationNumber" : "T08", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-omiya.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.17859,134.448947" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "板野", "Station_EN" : "Itano", "MyStation" : "14", "StationNumber" : "T07", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/itano.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.142193,134.46597" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/itano/"},
|
||||
{"Station_JP" : "板東", "Station_EN" : "Bandō", "MyStation" : "15", "StationNumber" : "T05", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/bando.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.155432,134.506866", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "池谷", "Station_EN" : "Ikenotani", "MyStation" : "16", "StationNumber" : "T04", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ikenotani.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.15293,134.528905" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "勝瑞", "Station_EN" : "Shōzui", "MyStation" : "17", "StationNumber" : "T03", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shozui.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.128644,134.528267", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "吉成", "Station_EN" : "Yoshinari", "MyStation" : "18", "StationNumber" : "T02", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yoshinari.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.118511,134.530745", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "佐古", "Station_EN" : "Sako", "MyStation" : "19", "StationNumber" : "T01", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sako.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.080616,134.538576", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "徳島", "Station_EN" : "Tokushima", "MyStation" : "20", "StationNumber" : "T00", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tokushima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.074642,134.550764", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/tokushima/"}
|
||||
]
|
||||
|
11
assets/originData/lineColorList.js
Normal file
11
assets/originData/lineColorList.js
Normal file
@@ -0,0 +1,11 @@
|
||||
export default {
|
||||
Y: "#F5AC13",
|
||||
U: "#F5AC13",
|
||||
S: "#9AA7D7",
|
||||
D: "#DC4586",
|
||||
K: "#DC4586",
|
||||
B: "#366481",
|
||||
N: "#881F61",
|
||||
T: "#87CA3B",
|
||||
M: "#0071be",
|
||||
};
|
@@ -1,5 +1,5 @@
|
||||
export default [
|
||||
{"Station_JP" : "鳴門", "Station_EN" : "Naruto" , "MyStation" : "0", "StationNumber" : "N10", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/naruto.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.17925,134.608536", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/naruto/"},
|
||||
{"Station_JP" : "池谷", "Station_EN" : "Ikenotani", "MyStation" : "0", "StationNumber" : "N04", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ikenotani.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.15293,134.528905" , "JrHpUrl" : ""}
|
||||
|
||||
]
|
||||
export default [
|
||||
{"Station_JP" : "鳴門", "Station_EN" : "Naruto" , "MyStation" : "0", "StationNumber" : "N10", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/naruto.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.17925,134.608536", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/naruto/"},
|
||||
{"Station_JP" : "池谷", "Station_EN" : "Ikenotani", "MyStation" : "0", "StationNumber" : "N04", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ikenotani.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.15293,134.528905" , "JrHpUrl" : ""}
|
||||
|
||||
]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
export default [
|
||||
{"Station_JP" : "児島", "Station_EN" : "Kojima", "MyStation" : "0", "StationNumber" : " ", "DispNum" : "3", "StationTimeTable" : "http://www.jr-odekake.net/eki/timetable.php?id=0651304", "StationMap":"https://www.google.co.jp/maps/place/34.462562,133.807809", "JrHpUrl" : "http://www.jr-odekake.net/eki/top.php?id=0651304"},
|
||||
{"Station_JP" : "宇多津", "Station_EN" : "Utazu", "MyStation" : "0", "StationNumber" : "Y09", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/utazu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.306379,133.813784", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/utazu/"}
|
||||
export default [
|
||||
{"Station_JP" : "児島", "Station_EN" : "Kojima", "MyStation" : "0", "StationNumber" : " ", "DispNum" : "3", "StationTimeTable" : "http://www.jr-odekake.net/eki/timetable.php?id=0651304", "StationMap":"https://www.google.co.jp/maps/place/34.462562,133.807809", "JrHpUrl" : "http://www.jr-odekake.net/eki/top.php?id=0651304"},
|
||||
{"Station_JP" : "宇多津", "Station_EN" : "Utazu", "MyStation" : "0", "StationNumber" : "Y09", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/utazu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.306379,133.813784", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/utazu/"}
|
||||
]
|
@@ -1,21 +1,21 @@
|
||||
export default [
|
||||
{"Station_JP" : "徳島", "Station_EN" : "Tokushima", "MyStation" : "0", "StationNumber" : "T00", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tokushima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.074642,134.550764", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/tokushima/"},
|
||||
{"Station_JP" : "佐古", "Station_EN" : "Sako", "MyStation" : "0", "StationNumber" : "B01", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sako.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.080616,134.538576", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "蔵本", "Station_EN" : "Kuramoto", "MyStation" : "1", "StationNumber" : "B02", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kuramoto.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.079332,134.518705", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "府中", "Station_EN" : "Kō", "MyStation" : "2", "StationNumber" : "B04", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ko.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.074134,134.482939", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "石井", "Station_EN" : "Ishii", "MyStation" : "3", "StationNumber" : "B05", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ishii.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.070188,134.444343", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "牛島", "Station_EN" : "Ushinoshima", "MyStation" : "4", "StationNumber" : "B07", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ushinoshima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.076709,134.397553", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "鴨島", "Station_EN" : "Kamojima", "MyStation" : "5", "StationNumber" : "B09", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kamojima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.073615,134.356559", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kamojima/"},
|
||||
{"Station_JP" : "阿波川島", "Station_EN" : "Awa-Kawashima", "MyStation" : "6", "StationNumber" : "B11", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-kawashima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.061857,134.320768", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "学", "Station_EN" : "Gaku", "MyStation" : "7", "StationNumber" : "B12", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/gaku.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.057766,134.286411", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "山瀬", "Station_EN" : "Yamase", "MyStation" : "8", "StationNumber" : "B13", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yamase.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.060226,134.256297", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "川田", "Station_EN" : "Kawata", "MyStation" : "9", "StationNumber" : "B15", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kawata.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.061533,134.204329", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "穴吹", "Station_EN" : "Anabuki", "MyStation" : "10", "StationNumber" : "B16", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/anabuki.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.05615,134.163064" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/anabuki/"},
|
||||
{"Station_JP" : "小島", "Station_EN" : "Oshima", "MyStation" : "11", "StationNumber" : "B17", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/oshima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.050665,134.106521", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "貞光", "Station_EN" : "Sadamitsu", "MyStation" : "12", "StationNumber" : "B18", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sadamitsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.039354,134.058774", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "江口", "Station_EN" : "Eguchi", "MyStation" : "13", "StationNumber" : "B20", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/eguchi.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.037364,133.973229", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "阿波加茂", "Station_EN" : "Awa-Kamo", "MyStation" : "14", "StationNumber" : "B22", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-kamo.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.037063,133.926505", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "辻", "Station_EN" : "Tsuji", "MyStation" : "15", "StationNumber" : "B23", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tsuji.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.028992,133.873234", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "佃", "Station_EN" : "Tsukuda", "MyStation" : "16", "StationNumber" : "B24", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tsukuda.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.032458,133.857363", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "阿波池田", "Station_EN" : "Awa-Ikeda", "MyStation" : "17", "StationNumber" : "B25", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-ikeda.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.027177,133.804619", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/awaikeda/"}
|
||||
]
|
||||
export default [
|
||||
{"Station_JP" : "徳島", "Station_EN" : "Tokushima", "MyStation" : "0", "StationNumber" : "T00", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tokushima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.074642,134.550764", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/tokushima/"},
|
||||
{"Station_JP" : "佐古", "Station_EN" : "Sako", "MyStation" : "0", "StationNumber" : "B01", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sako.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.080616,134.538576", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "蔵本", "Station_EN" : "Kuramoto", "MyStation" : "1", "StationNumber" : "B02", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kuramoto.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.079332,134.518705", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "府中", "Station_EN" : "Kō", "MyStation" : "2", "StationNumber" : "B04", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ko.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.074134,134.482939", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "石井", "Station_EN" : "Ishii", "MyStation" : "3", "StationNumber" : "B05", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ishii.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.070188,134.444343", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "牛島", "Station_EN" : "Ushinoshima", "MyStation" : "4", "StationNumber" : "B07", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ushinoshima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.076709,134.397553", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "鴨島", "Station_EN" : "Kamojima", "MyStation" : "5", "StationNumber" : "B09", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kamojima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.073615,134.356559", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kamojima/"},
|
||||
{"Station_JP" : "阿波川島", "Station_EN" : "Awa-Kawashima", "MyStation" : "6", "StationNumber" : "B11", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-kawashima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.061857,134.320768", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "学", "Station_EN" : "Gaku", "MyStation" : "7", "StationNumber" : "B12", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/gaku.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.057766,134.286411", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "山瀬", "Station_EN" : "Yamase", "MyStation" : "8", "StationNumber" : "B13", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yamase.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.060226,134.256297", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "川田", "Station_EN" : "Kawata", "MyStation" : "9", "StationNumber" : "B15", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kawata.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.061533,134.204329", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "穴吹", "Station_EN" : "Anabuki", "MyStation" : "10", "StationNumber" : "B16", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/anabuki.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.05615,134.163064" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/anabuki/"},
|
||||
{"Station_JP" : "小島", "Station_EN" : "Oshima", "MyStation" : "11", "StationNumber" : "B17", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/oshima.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.050665,134.106521", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "貞光", "Station_EN" : "Sadamitsu", "MyStation" : "12", "StationNumber" : "B18", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sadamitsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.039354,134.058774", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "江口", "Station_EN" : "Eguchi", "MyStation" : "13", "StationNumber" : "B20", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/eguchi.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.037364,133.973229", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "阿波加茂", "Station_EN" : "Awa-Kamo", "MyStation" : "14", "StationNumber" : "B22", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-kamo.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.037063,133.926505", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "辻", "Station_EN" : "Tsuji", "MyStation" : "15", "StationNumber" : "B23", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tsuji.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.028992,133.873234", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "佃", "Station_EN" : "Tsukuda", "MyStation" : "16", "StationNumber" : "B24", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tsukuda.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.032458,133.857363", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "阿波池田", "Station_EN" : "Awa-Ikeda", "MyStation" : "17", "StationNumber" : "B25", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awa-ikeda.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.027177,133.804619", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/awaikeda/"}
|
||||
]
|
||||
|
1042
assets/originData/trainList.js
Normal file
1042
assets/originData/trainList.js
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,238 +1,238 @@
|
||||
export default [
|
||||
{"Station_JP" : "高知商業前", "Station_EN" : "Kōchi-Shōgyōmae" },
|
||||
{"Station_JP" : "古高松南", "Station_EN" : "Furutakamatsu-Minami" },
|
||||
{"Station_JP" : "高松", "Station_EN" : "Takamatsu" },
|
||||
{"Station_JP" : "香西", "Station_EN" : "Kōzai" },
|
||||
{"Station_JP" : "鬼無", "Station_EN" : "Kinashi" },
|
||||
{"Station_JP" : "端岡", "Station_EN" : "Hashioka" },
|
||||
{"Station_JP" : "国分", "Station_EN" : "Kokubu" },
|
||||
{"Station_JP" : "讃岐府中", "Station_EN" : "Sanuki-Fuchū" },
|
||||
{"Station_JP" : "鴨川", "Station_EN" : "Kamogawa" },
|
||||
{"Station_JP" : "八十場", "Station_EN" : "Yasoba" },
|
||||
{"Station_JP" : "坂出", "Station_EN" : "Sakaide" },
|
||||
{"Station_JP" : "宇多津", "Station_EN" : "Utazu" },
|
||||
{"Station_JP" : "丸亀", "Station_EN" : "Marugame" },
|
||||
{"Station_JP" : "讃岐塩屋", "Station_EN" : "Sanuki-Shioya" },
|
||||
{"Station_JP" : "多度津", "Station_EN" : "Tadotsu" },
|
||||
{"Station_JP" : "海岸寺", "Station_EN" : "Kaiganji" },
|
||||
{"Station_JP" : "詫間", "Station_EN" : "Takuma" },
|
||||
{"Station_JP" : "みの", "Station_EN" : "Mino" },
|
||||
{"Station_JP" : "高瀬", "Station_EN" : "Takase" },
|
||||
{"Station_JP" : "比地大", "Station_EN" : "Hijidai" },
|
||||
{"Station_JP" : "本山", "Station_EN" : "Motoyama" },
|
||||
{"Station_JP" : "観音寺", "Station_EN" : "Kan-onji" },
|
||||
{"Station_JP" : "豊浜", "Station_EN" : "Toyohama" },
|
||||
{"Station_JP" : "箕浦", "Station_EN" : "Minoura" },
|
||||
{"Station_JP" : "川之江", "Station_EN" : "Kawanoe" },
|
||||
{"Station_JP" : "伊予三島", "Station_EN" : "Iyo-Mishima" },
|
||||
{"Station_JP" : "伊予寒川", "Station_EN" : "Iyo-Sangawa" },
|
||||
{"Station_JP" : "赤星", "Station_EN" : "Akaboshi" },
|
||||
{"Station_JP" : "伊予土居", "Station_EN" : "Iyo-Doi" },
|
||||
{"Station_JP" : "関川", "Station_EN" : "Sekigawa" },
|
||||
{"Station_JP" : "多喜浜", "Station_EN" : "Takihama" },
|
||||
{"Station_JP" : "新居浜", "Station_EN" : "Niihama" },
|
||||
{"Station_JP" : "中萩", "Station_EN" : "Nakahagi" },
|
||||
{"Station_JP" : "伊予西条", "Station_EN" : "Iyo-Saijo" },
|
||||
{"Station_JP" : "石鎚山", "Station_EN" : "Ishizuchiyama" },
|
||||
{"Station_JP" : "伊予氷見", "Station_EN" : "Iyo-Himi" },
|
||||
{"Station_JP" : "伊予小松", "Station_EN" : "Iyo-Komatsu" },
|
||||
{"Station_JP" : "玉之江", "Station_EN" : "Tamanoe" },
|
||||
{"Station_JP" : "壬生川", "Station_EN" : "Nyūgawa" },
|
||||
{"Station_JP" : "伊予三芳", "Station_EN" : "Iyo-Miyoshi" },
|
||||
{"Station_JP" : "伊予桜井", "Station_EN" : "Iyo-Sakurai" },
|
||||
{"Station_JP" : "伊予富田", "Station_EN" : "Iyo-Tomita" },
|
||||
{"Station_JP" : "今治", "Station_EN" : "Imabari" },
|
||||
{"Station_JP" : "波止浜", "Station_EN" : "Hashihama" },
|
||||
{"Station_JP" : "波方", "Station_EN" : "Namikata" },
|
||||
{"Station_JP" : "大西", "Station_EN" : "Ōnishi" },
|
||||
{"Station_JP" : "伊予亀岡", "Station_EN" : "Iyo-kameoka" },
|
||||
{"Station_JP" : "菊間", "Station_EN" : "Kikuma" },
|
||||
{"Station_JP" : "浅海", "Station_EN" : "Asanami" },
|
||||
{"Station_JP" : "大浦", "Station_EN" : "Ōura" },
|
||||
{"Station_JP" : "伊予北条", "Station_EN" : "Iyo-Hōjō" },
|
||||
{"Station_JP" : "柳原", "Station_EN" : "Yanagihara" },
|
||||
{"Station_JP" : "粟井", "Station_EN" : "Awai" },
|
||||
{"Station_JP" : "光洋台", "Station_EN" : "Kōyōdai" },
|
||||
{"Station_JP" : "堀江", "Station_EN" : "Horie" },
|
||||
{"Station_JP" : "伊予和気", "Station_EN" : "Iyo-Wake" },
|
||||
{"Station_JP" : "三津浜", "Station_EN" : "Mitsuhama" },
|
||||
{"Station_JP" : "松山", "Station_EN" : "Matsuyama" },
|
||||
{"Station_JP" : "松山", "Station_EN" : "Matsuyama" },
|
||||
{"Station_JP" : "市坪", "Station_EN" : "Ichitsubo" },
|
||||
{"Station_JP" : "北伊予", "Station_EN" : "Kita-Iyo" },
|
||||
{"Station_JP" : "南伊予", "Station_EN" : "Minami-Iyo" },
|
||||
{"Station_JP" : "伊予横田", "Station_EN" : "Iyo-Yokota" },
|
||||
{"Station_JP" : "鳥ノ木", "Station_EN" : "Torinoki" },
|
||||
{"Station_JP" : "伊予市", "Station_EN" : "Iyoshi" },
|
||||
{"Station_JP" : "向井原", "Station_EN" : "Mukaibara" },
|
||||
{"Station_JP" : "高野川", "Station_EN" : "Kōnokawa" },
|
||||
{"Station_JP" : "伊予上灘", "Station_EN" : "Iyo-Kaminada" },
|
||||
{"Station_JP" : "下灘", "Station_EN" : "Shimonada" },
|
||||
{"Station_JP" : "串", "Station_EN" : "Kushi" },
|
||||
{"Station_JP" : "喜多灘", "Station_EN" : "Kitanada" },
|
||||
{"Station_JP" : "伊予長浜", "Station_EN" : "Iyo-Nagahama" },
|
||||
{"Station_JP" : "伊予出石", "Station_EN" : "Iyo-Izushi" },
|
||||
{"Station_JP" : "伊予白滝", "Station_EN" : "Iyo-Shirataki" },
|
||||
{"Station_JP" : "八多喜", "Station_EN" : "Hataki" },
|
||||
{"Station_JP" : "春賀", "Station_EN" : "Haruka" },
|
||||
{"Station_JP" : "五郎", "Station_EN" : "Gorō" },
|
||||
{"Station_JP" : "伊予大洲", "Station_EN" : "Iyo-Ōzu" },
|
||||
{"Station_JP" : "西大洲", "Station_EN" : "Nishi-Ōzu" },
|
||||
{"Station_JP" : "伊予平野", "Station_EN" : "Iyo-Hirano" },
|
||||
{"Station_JP" : "千丈", "Station_EN" : "Senjō" },
|
||||
{"Station_JP" : "八幡浜", "Station_EN" : "Yawatahama" },
|
||||
{"Station_JP" : "双岩", "Station_EN" : "Futaiwa" },
|
||||
{"Station_JP" : "伊予石城", "Station_EN" : "Iyo-Iwaki" },
|
||||
{"Station_JP" : "上宇和", "Station_EN" : "Kami-Uwa" },
|
||||
{"Station_JP" : "卯之町", "Station_EN" : "Unomachi" },
|
||||
{"Station_JP" : "下宇和", "Station_EN" : "Shimo-Uwa" },
|
||||
{"Station_JP" : "立間", "Station_EN" : "Tachima" },
|
||||
{"Station_JP" : "伊予吉田", "Station_EN" : "Iyo-Yoshida" },
|
||||
{"Station_JP" : "高光", "Station_EN" : "Takamitsu" },
|
||||
{"Station_JP" : "北宇和島", "Station_EN" : "Kita-Uwajima" },
|
||||
{"Station_JP" : "宇和島", "Station_EN" : "Uwajima" },
|
||||
{"Station_JP" : "佐古", "Station_EN" : "Sako" },
|
||||
{"Station_JP" : "蔵本", "Station_EN" : "Kuramoto" },
|
||||
{"Station_JP" : "鮎喰", "Station_EN" : "Akui" },
|
||||
{"Station_JP" : "府中", "Station_EN" : "Kō" },
|
||||
{"Station_JP" : "石井", "Station_EN" : "Ishii" },
|
||||
{"Station_JP" : "下浦", "Station_EN" : "Shimoura" },
|
||||
{"Station_JP" : "牛島", "Station_EN" : "Ushinoshima" },
|
||||
{"Station_JP" : "麻植塚", "Station_EN" : "Oezuka" },
|
||||
{"Station_JP" : "鴨島", "Station_EN" : "Kamojima" },
|
||||
{"Station_JP" : "西麻植", "Station_EN" : "Nishi-Oe" },
|
||||
{"Station_JP" : "阿波川島", "Station_EN" : "Awa-Kawashima" },
|
||||
{"Station_JP" : "学", "Station_EN" : "Gaku" },
|
||||
{"Station_JP" : "山瀬", "Station_EN" : "Yamase" },
|
||||
{"Station_JP" : "阿波山川", "Station_EN" : "Awa-Yamakawa" },
|
||||
{"Station_JP" : "川田", "Station_EN" : "Kawata" },
|
||||
{"Station_JP" : "穴吹", "Station_EN" : "Anabuki" },
|
||||
{"Station_JP" : "小島", "Station_EN" : "Oshima" },
|
||||
{"Station_JP" : "貞光", "Station_EN" : "Sadamitsu" },
|
||||
{"Station_JP" : "阿波半田", "Station_EN" : "Awa-Handa" },
|
||||
{"Station_JP" : "江口", "Station_EN" : "Eguchi" },
|
||||
{"Station_JP" : "三加茂", "Station_EN" : "Mikamo" },
|
||||
{"Station_JP" : "阿波加茂", "Station_EN" : "Awa-Kamo" },
|
||||
{"Station_JP" : "辻", "Station_EN" : "Tsuji" },
|
||||
{"Station_JP" : "高松", "Station_EN" : "Takamatsu" },
|
||||
{"Station_JP" : "昭和町", "Station_EN" : "Shōwachō" },
|
||||
{"Station_JP" : "栗林公園北口", "Station_EN" : "Ritsurinkōen-Kitaguchi" },
|
||||
{"Station_JP" : "栗林", "Station_EN" : "Ritsurin" },
|
||||
{"Station_JP" : "木太町", "Station_EN" : "Kitachō" },
|
||||
{"Station_JP" : "屋島", "Station_EN" : "Yashima" },
|
||||
{"Station_JP" : "八栗口", "Station_EN" : "Yakuriguchi" },
|
||||
{"Station_JP" : "讃岐牟礼", "Station_EN" : "Sanuki-Mure" },
|
||||
{"Station_JP" : "志度", "Station_EN" : "Shido" },
|
||||
{"Station_JP" : "オレンジタウン", "Station_EN" : "Orange-Town" },
|
||||
{"Station_JP" : "造田", "Station_EN" : "Zōda" },
|
||||
{"Station_JP" : "神前", "Station_EN" : "Kanzaki" },
|
||||
{"Station_JP" : "讃岐津田", "Station_EN" : "Sanuki-Tsuda" },
|
||||
{"Station_JP" : "鶴羽", "Station_EN" : "Tsuruwa" },
|
||||
{"Station_JP" : "丹生", "Station_EN" : "Nibu" },
|
||||
{"Station_JP" : "三本松", "Station_EN" : "Sambommatsu" },
|
||||
{"Station_JP" : "讃岐白鳥", "Station_EN" : "Sanuki-Shirotori" },
|
||||
{"Station_JP" : "引田", "Station_EN" : "Hiketa" },
|
||||
{"Station_JP" : "讃岐相生", "Station_EN" : "Sanuki-Aioi" },
|
||||
{"Station_JP" : "阿波大宮", "Station_EN" : "Awa-Ōmiya" },
|
||||
{"Station_JP" : "板野", "Station_EN" : "Itano" },
|
||||
{"Station_JP" : "阿波川端", "Station_EN" : "Awa-Kawabata" },
|
||||
{"Station_JP" : "板東", "Station_EN" : "Bandō" },
|
||||
{"Station_JP" : "池谷", "Station_EN" : "Ikenotani" },
|
||||
{"Station_JP" : "勝瑞", "Station_EN" : "Shōzui" },
|
||||
{"Station_JP" : "吉成", "Station_EN" : "Yoshinari" },
|
||||
{"Station_JP" : "佐古", "Station_EN" : "Sako" },
|
||||
{"Station_JP" : "徳島", "Station_EN" : "Tokushima" },
|
||||
{"Station_JP" : "多度津", "Station_EN" : "Tadotsu" },
|
||||
{"Station_JP" : "金蔵寺", "Station_EN" : "Konzōji" },
|
||||
{"Station_JP" : "善通寺", "Station_EN" : "Zentsūji" },
|
||||
{"Station_JP" : "琴平", "Station_EN" : "Kotohira" },
|
||||
{"Station_JP" : "塩入", "Station_EN" : "Shioiri" },
|
||||
{"Station_JP" : "黒川", "Station_EN" : "Kurokawa" },
|
||||
{"Station_JP" : "讃岐財田", "Station_EN" : "Sanuki-Saida" },
|
||||
{"Station_JP" : "坪尻", "Station_EN" : "Tsubojiri" },
|
||||
{"Station_JP" : "箸蔵", "Station_EN" : "Hashikura" },
|
||||
{"Station_JP" : "佃", "Station_EN" : "Tsukuda" },
|
||||
{"Station_JP" : "阿波池田", "Station_EN" : "Awa-Ikeda" },
|
||||
{"Station_JP" : "三縄", "Station_EN" : "Minawa" },
|
||||
{"Station_JP" : "祖谷口", "Station_EN" : "Iyaguchi" },
|
||||
{"Station_JP" : "阿波川口", "Station_EN" : "Awa-Kawaguchi" },
|
||||
{"Station_JP" : "小歩危", "Station_EN" : "Koboke" },
|
||||
{"Station_JP" : "大歩危", "Station_EN" : "Ōboke" },
|
||||
{"Station_JP" : "土佐岩原", "Station_EN" : "Tosa-Iwahara" },
|
||||
{"Station_JP" : "豊永", "Station_EN" : "Toyonaga" },
|
||||
{"Station_JP" : "大田口", "Station_EN" : "Ōtaguchi" },
|
||||
{"Station_JP" : "土佐穴内", "Station_EN" : "Tosa-Ananai" },
|
||||
{"Station_JP" : "大杉", "Station_EN" : "Ōsugi" },
|
||||
{"Station_JP" : "土佐北川", "Station_EN" : "Tosa-Kitagawa" },
|
||||
{"Station_JP" : "角茂谷", "Station_EN" : "Kakumodani" },
|
||||
{"Station_JP" : "繁藤", "Station_EN" : "Shigetō" },
|
||||
{"Station_JP" : "新改", "Station_EN" : "Shingai" },
|
||||
{"Station_JP" : "土佐山田", "Station_EN" : "Tosa-Yamada" },
|
||||
{"Station_JP" : "山田西町", "Station_EN" : "Yamadanishimachi" },
|
||||
{"Station_JP" : "土佐長岡", "Station_EN" : "Tosa-Nagaoka" },
|
||||
{"Station_JP" : "後免", "Station_EN" : "Gomen" },
|
||||
{"Station_JP" : "土佐大津", "Station_EN" : "Tosa-Ōtsu" },
|
||||
{"Station_JP" : "布師田", "Station_EN" : "Nunoshida" },
|
||||
{"Station_JP" : "土佐一宮", "Station_EN" : "Tosa-Ikku" },
|
||||
{"Station_JP" : "薊野", "Station_EN" : "Azōno" },
|
||||
{"Station_JP" : "高知", "Station_EN" : "Kōchi" },
|
||||
{"Station_JP" : "入明", "Station_EN" : "Iriake" },
|
||||
{"Station_JP" : "円行寺口", "Station_EN" : "Engyōjiguchi" },
|
||||
{"Station_JP" : "旭", "Station_EN" : "Asahi" },
|
||||
{"Station_JP" : "朝倉", "Station_EN" : "Asakura" },
|
||||
{"Station_JP" : "枝川", "Station_EN" : "Edagawa" },
|
||||
{"Station_JP" : "伊野", "Station_EN" : "Ino" },
|
||||
{"Station_JP" : "波川", "Station_EN" : "Hakawa" },
|
||||
{"Station_JP" : "小村神社前", "Station_EN" : "Omurajinjamae" },
|
||||
{"Station_JP" : "日下", "Station_EN" : "Kusaka" },
|
||||
{"Station_JP" : "岡花", "Station_EN" : "Okabana" },
|
||||
{"Station_JP" : "土佐加茂", "Station_EN" : "Tosa-Kamo" },
|
||||
{"Station_JP" : "西佐川", "Station_EN" : "Nishi-Sakawa" },
|
||||
{"Station_JP" : "佐川", "Station_EN" : "Sakawa" },
|
||||
{"Station_JP" : "襟野々", "Station_EN" : "Erinono" },
|
||||
{"Station_JP" : "斗賀野", "Station_EN" : "Togano" },
|
||||
{"Station_JP" : "吾桑", "Station_EN" : "Asō" },
|
||||
{"Station_JP" : "多ノ郷", "Station_EN" : "Ōnogō" },
|
||||
{"Station_JP" : "大間", "Station_EN" : "Ōma" },
|
||||
{"Station_JP" : "須崎", "Station_EN" : "Susaki" },
|
||||
{"Station_JP" : "土佐新荘", "Station_EN" : "Tosa-Shinjō" },
|
||||
{"Station_JP" : "安和", "Station_EN" : "Awa" },
|
||||
{"Station_JP" : "土佐久礼", "Station_EN" : "Tosa-Kure" },
|
||||
{"Station_JP" : "影野", "Station_EN" : "Kageno" },
|
||||
{"Station_JP" : "六反地", "Station_EN" : "Rokutanji" },
|
||||
{"Station_JP" : "仁井田", "Station_EN" : "Niida" },
|
||||
{"Station_JP" : "窪川", "Station_EN" : "Kubokawa" },
|
||||
{"Station_JP" : "児島", "Station_EN" : "Kojima" },
|
||||
{"Station_JP" : "上の町", "Station_EN" : "KaminochŌ" },
|
||||
{"Station_JP" : "木見", "Station_EN" : "Kimi" },
|
||||
{"Station_JP" : "植松", "Station_EN" : "Uematsu" },
|
||||
{"Station_JP" : "茶屋町", "Station_EN" : "Chayamachi" },
|
||||
{"Station_JP" : "久々原", "Station_EN" : "Kuguhara" },
|
||||
{"Station_JP" : "早島", "Station_EN" : "kojima" },
|
||||
{"Station_JP" : "備中箕島", "Station_EN" : "Bitchū-Mishima" },
|
||||
{"Station_JP" : "妹尾", "Station_EN" : "Senoo" },
|
||||
{"Station_JP" : "備前西市", "Station_EN" : "Bizen-Nishiichi" },
|
||||
{"Station_JP" : "大元", "Station_EN" : "Ōmoto" },
|
||||
{"Station_JP" : "岡山", "Station_EN" : "Okayama" },
|
||||
{"Station_JP" : "新谷", "Station_EN" : "Niiya" },
|
||||
{"Station_JP" : "伊予大洲", "Station_EN" : "Iyo-Ōzu" },
|
||||
{"Station_JP" : "伊予平野", "Station_EN" : "Iyo-Hirano" },
|
||||
{"Station_JP" : "内子", "Station_EN" : "Uchiko" },
|
||||
{"Station_JP" : "五十崎", "Station_EN" : "Ikazaki" },
|
||||
{"Station_JP" : "喜多山", "Station_EN" : "Kitayama" },
|
||||
{"Station_JP" : "伊予立川", "Station_EN" : "Iyo-Tachikawa" },
|
||||
{"Station_JP" : "伊予大平", "Station_EN" : "Iyo-Ōhira" },
|
||||
{"Station_JP" : "伊予中山", "Station_EN" : "Iyo-Nakayama" },
|
||||
{"Station_JP" : "中村", "Station_EN" : "Nakamura" },
|
||||
{"Station_JP" : "土佐入野", "Station_EN" : "Tosa-irino" },
|
||||
{"Station_JP" : "土佐上川口", "Station_EN" : "Tosa-kamikawaguchi" },
|
||||
{"Station_JP" : "土佐佐賀", "Station_EN" : "Tosasaga" },
|
||||
{"Station_JP" : "浮鞭", "Station_EN" : "Ukibuchi" },
|
||||
{"Station_JP" : "安芸", "Station_EN" : "Aki" },
|
||||
{"Station_JP" : "阿波大谷", "Station_EN" : "Awa-Ōtani" },
|
||||
{"Station_JP" : "立道", "Station_EN" : "Tatsumichi" },
|
||||
{"Station_JP" : "教会前", "Station_EN" : "Kyōkaimae" },
|
||||
{"Station_JP" : "金比羅前", "Station_EN" : "Kompiramae" },
|
||||
{"Station_JP" : "撫養", "Station_EN" : "Muya" },
|
||||
{"Station_JP" : "鳴門", "Station_EN" : "Naruto" }
|
||||
export default [
|
||||
{"Station_JP" : "高知商業前", "Station_EN" : "Kōchi-Shōgyōmae" },
|
||||
{"Station_JP" : "古高松南", "Station_EN" : "Furutakamatsu-Minami" },
|
||||
{"Station_JP" : "高松", "Station_EN" : "Takamatsu" },
|
||||
{"Station_JP" : "香西", "Station_EN" : "Kōzai" },
|
||||
{"Station_JP" : "鬼無", "Station_EN" : "Kinashi" },
|
||||
{"Station_JP" : "端岡", "Station_EN" : "Hashioka" },
|
||||
{"Station_JP" : "国分", "Station_EN" : "Kokubu" },
|
||||
{"Station_JP" : "讃岐府中", "Station_EN" : "Sanuki-Fuchū" },
|
||||
{"Station_JP" : "鴨川", "Station_EN" : "Kamogawa" },
|
||||
{"Station_JP" : "八十場", "Station_EN" : "Yasoba" },
|
||||
{"Station_JP" : "坂出", "Station_EN" : "Sakaide" },
|
||||
{"Station_JP" : "宇多津", "Station_EN" : "Utazu" },
|
||||
{"Station_JP" : "丸亀", "Station_EN" : "Marugame" },
|
||||
{"Station_JP" : "讃岐塩屋", "Station_EN" : "Sanuki-Shioya" },
|
||||
{"Station_JP" : "多度津", "Station_EN" : "Tadotsu" },
|
||||
{"Station_JP" : "海岸寺", "Station_EN" : "Kaiganji" },
|
||||
{"Station_JP" : "詫間", "Station_EN" : "Takuma" },
|
||||
{"Station_JP" : "みの", "Station_EN" : "Mino" },
|
||||
{"Station_JP" : "高瀬", "Station_EN" : "Takase" },
|
||||
{"Station_JP" : "比地大", "Station_EN" : "Hijidai" },
|
||||
{"Station_JP" : "本山", "Station_EN" : "Motoyama" },
|
||||
{"Station_JP" : "観音寺", "Station_EN" : "Kan-onji" },
|
||||
{"Station_JP" : "豊浜", "Station_EN" : "Toyohama" },
|
||||
{"Station_JP" : "箕浦", "Station_EN" : "Minoura" },
|
||||
{"Station_JP" : "川之江", "Station_EN" : "Kawanoe" },
|
||||
{"Station_JP" : "伊予三島", "Station_EN" : "Iyo-Mishima" },
|
||||
{"Station_JP" : "伊予寒川", "Station_EN" : "Iyo-Sangawa" },
|
||||
{"Station_JP" : "赤星", "Station_EN" : "Akaboshi" },
|
||||
{"Station_JP" : "伊予土居", "Station_EN" : "Iyo-Doi" },
|
||||
{"Station_JP" : "関川", "Station_EN" : "Sekigawa" },
|
||||
{"Station_JP" : "多喜浜", "Station_EN" : "Takihama" },
|
||||
{"Station_JP" : "新居浜", "Station_EN" : "Niihama" },
|
||||
{"Station_JP" : "中萩", "Station_EN" : "Nakahagi" },
|
||||
{"Station_JP" : "伊予西条", "Station_EN" : "Iyo-Saijo" },
|
||||
{"Station_JP" : "石鎚山", "Station_EN" : "Ishizuchiyama" },
|
||||
{"Station_JP" : "伊予氷見", "Station_EN" : "Iyo-Himi" },
|
||||
{"Station_JP" : "伊予小松", "Station_EN" : "Iyo-Komatsu" },
|
||||
{"Station_JP" : "玉之江", "Station_EN" : "Tamanoe" },
|
||||
{"Station_JP" : "壬生川", "Station_EN" : "Nyūgawa" },
|
||||
{"Station_JP" : "伊予三芳", "Station_EN" : "Iyo-Miyoshi" },
|
||||
{"Station_JP" : "伊予桜井", "Station_EN" : "Iyo-Sakurai" },
|
||||
{"Station_JP" : "伊予富田", "Station_EN" : "Iyo-Tomita" },
|
||||
{"Station_JP" : "今治", "Station_EN" : "Imabari" },
|
||||
{"Station_JP" : "波止浜", "Station_EN" : "Hashihama" },
|
||||
{"Station_JP" : "波方", "Station_EN" : "Namikata" },
|
||||
{"Station_JP" : "大西", "Station_EN" : "Ōnishi" },
|
||||
{"Station_JP" : "伊予亀岡", "Station_EN" : "Iyo-kameoka" },
|
||||
{"Station_JP" : "菊間", "Station_EN" : "Kikuma" },
|
||||
{"Station_JP" : "浅海", "Station_EN" : "Asanami" },
|
||||
{"Station_JP" : "大浦", "Station_EN" : "Ōura" },
|
||||
{"Station_JP" : "伊予北条", "Station_EN" : "Iyo-Hōjō" },
|
||||
{"Station_JP" : "柳原", "Station_EN" : "Yanagihara" },
|
||||
{"Station_JP" : "粟井", "Station_EN" : "Awai" },
|
||||
{"Station_JP" : "光洋台", "Station_EN" : "Kōyōdai" },
|
||||
{"Station_JP" : "堀江", "Station_EN" : "Horie" },
|
||||
{"Station_JP" : "伊予和気", "Station_EN" : "Iyo-Wake" },
|
||||
{"Station_JP" : "三津浜", "Station_EN" : "Mitsuhama" },
|
||||
{"Station_JP" : "松山", "Station_EN" : "Matsuyama" },
|
||||
{"Station_JP" : "松山", "Station_EN" : "Matsuyama" },
|
||||
{"Station_JP" : "市坪", "Station_EN" : "Ichitsubo" },
|
||||
{"Station_JP" : "北伊予", "Station_EN" : "Kita-Iyo" },
|
||||
{"Station_JP" : "南伊予", "Station_EN" : "Minami-Iyo" },
|
||||
{"Station_JP" : "伊予横田", "Station_EN" : "Iyo-Yokota" },
|
||||
{"Station_JP" : "鳥ノ木", "Station_EN" : "Torinoki" },
|
||||
{"Station_JP" : "伊予市", "Station_EN" : "Iyoshi" },
|
||||
{"Station_JP" : "向井原", "Station_EN" : "Mukaibara" },
|
||||
{"Station_JP" : "高野川", "Station_EN" : "Kōnokawa" },
|
||||
{"Station_JP" : "伊予上灘", "Station_EN" : "Iyo-Kaminada" },
|
||||
{"Station_JP" : "下灘", "Station_EN" : "Shimonada" },
|
||||
{"Station_JP" : "串", "Station_EN" : "Kushi" },
|
||||
{"Station_JP" : "喜多灘", "Station_EN" : "Kitanada" },
|
||||
{"Station_JP" : "伊予長浜", "Station_EN" : "Iyo-Nagahama" },
|
||||
{"Station_JP" : "伊予出石", "Station_EN" : "Iyo-Izushi" },
|
||||
{"Station_JP" : "伊予白滝", "Station_EN" : "Iyo-Shirataki" },
|
||||
{"Station_JP" : "八多喜", "Station_EN" : "Hataki" },
|
||||
{"Station_JP" : "春賀", "Station_EN" : "Haruka" },
|
||||
{"Station_JP" : "五郎", "Station_EN" : "Gorō" },
|
||||
{"Station_JP" : "伊予大洲", "Station_EN" : "Iyo-Ōzu" },
|
||||
{"Station_JP" : "西大洲", "Station_EN" : "Nishi-Ōzu" },
|
||||
{"Station_JP" : "伊予平野", "Station_EN" : "Iyo-Hirano" },
|
||||
{"Station_JP" : "千丈", "Station_EN" : "Senjō" },
|
||||
{"Station_JP" : "八幡浜", "Station_EN" : "Yawatahama" },
|
||||
{"Station_JP" : "双岩", "Station_EN" : "Futaiwa" },
|
||||
{"Station_JP" : "伊予石城", "Station_EN" : "Iyo-Iwaki" },
|
||||
{"Station_JP" : "上宇和", "Station_EN" : "Kami-Uwa" },
|
||||
{"Station_JP" : "卯之町", "Station_EN" : "Unomachi" },
|
||||
{"Station_JP" : "下宇和", "Station_EN" : "Shimo-Uwa" },
|
||||
{"Station_JP" : "立間", "Station_EN" : "Tachima" },
|
||||
{"Station_JP" : "伊予吉田", "Station_EN" : "Iyo-Yoshida" },
|
||||
{"Station_JP" : "高光", "Station_EN" : "Takamitsu" },
|
||||
{"Station_JP" : "北宇和島", "Station_EN" : "Kita-Uwajima" },
|
||||
{"Station_JP" : "宇和島", "Station_EN" : "Uwajima" },
|
||||
{"Station_JP" : "佐古", "Station_EN" : "Sako" },
|
||||
{"Station_JP" : "蔵本", "Station_EN" : "Kuramoto" },
|
||||
{"Station_JP" : "鮎喰", "Station_EN" : "Akui" },
|
||||
{"Station_JP" : "府中", "Station_EN" : "Kō" },
|
||||
{"Station_JP" : "石井", "Station_EN" : "Ishii" },
|
||||
{"Station_JP" : "下浦", "Station_EN" : "Shimoura" },
|
||||
{"Station_JP" : "牛島", "Station_EN" : "Ushinoshima" },
|
||||
{"Station_JP" : "麻植塚", "Station_EN" : "Oezuka" },
|
||||
{"Station_JP" : "鴨島", "Station_EN" : "Kamojima" },
|
||||
{"Station_JP" : "西麻植", "Station_EN" : "Nishi-Oe" },
|
||||
{"Station_JP" : "阿波川島", "Station_EN" : "Awa-Kawashima" },
|
||||
{"Station_JP" : "学", "Station_EN" : "Gaku" },
|
||||
{"Station_JP" : "山瀬", "Station_EN" : "Yamase" },
|
||||
{"Station_JP" : "阿波山川", "Station_EN" : "Awa-Yamakawa" },
|
||||
{"Station_JP" : "川田", "Station_EN" : "Kawata" },
|
||||
{"Station_JP" : "穴吹", "Station_EN" : "Anabuki" },
|
||||
{"Station_JP" : "小島", "Station_EN" : "Oshima" },
|
||||
{"Station_JP" : "貞光", "Station_EN" : "Sadamitsu" },
|
||||
{"Station_JP" : "阿波半田", "Station_EN" : "Awa-Handa" },
|
||||
{"Station_JP" : "江口", "Station_EN" : "Eguchi" },
|
||||
{"Station_JP" : "三加茂", "Station_EN" : "Mikamo" },
|
||||
{"Station_JP" : "阿波加茂", "Station_EN" : "Awa-Kamo" },
|
||||
{"Station_JP" : "辻", "Station_EN" : "Tsuji" },
|
||||
{"Station_JP" : "高松", "Station_EN" : "Takamatsu" },
|
||||
{"Station_JP" : "昭和町", "Station_EN" : "Shōwachō" },
|
||||
{"Station_JP" : "栗林公園北口", "Station_EN" : "Ritsurinkōen-Kitaguchi" },
|
||||
{"Station_JP" : "栗林", "Station_EN" : "Ritsurin" },
|
||||
{"Station_JP" : "木太町", "Station_EN" : "Kitachō" },
|
||||
{"Station_JP" : "屋島", "Station_EN" : "Yashima" },
|
||||
{"Station_JP" : "八栗口", "Station_EN" : "Yakuriguchi" },
|
||||
{"Station_JP" : "讃岐牟礼", "Station_EN" : "Sanuki-Mure" },
|
||||
{"Station_JP" : "志度", "Station_EN" : "Shido" },
|
||||
{"Station_JP" : "オレンジタウン", "Station_EN" : "Orange-Town" },
|
||||
{"Station_JP" : "造田", "Station_EN" : "Zōda" },
|
||||
{"Station_JP" : "神前", "Station_EN" : "Kanzaki" },
|
||||
{"Station_JP" : "讃岐津田", "Station_EN" : "Sanuki-Tsuda" },
|
||||
{"Station_JP" : "鶴羽", "Station_EN" : "Tsuruwa" },
|
||||
{"Station_JP" : "丹生", "Station_EN" : "Nibu" },
|
||||
{"Station_JP" : "三本松", "Station_EN" : "Sambommatsu" },
|
||||
{"Station_JP" : "讃岐白鳥", "Station_EN" : "Sanuki-Shirotori" },
|
||||
{"Station_JP" : "引田", "Station_EN" : "Hiketa" },
|
||||
{"Station_JP" : "讃岐相生", "Station_EN" : "Sanuki-Aioi" },
|
||||
{"Station_JP" : "阿波大宮", "Station_EN" : "Awa-Ōmiya" },
|
||||
{"Station_JP" : "板野", "Station_EN" : "Itano" },
|
||||
{"Station_JP" : "阿波川端", "Station_EN" : "Awa-Kawabata" },
|
||||
{"Station_JP" : "板東", "Station_EN" : "Bandō" },
|
||||
{"Station_JP" : "池谷", "Station_EN" : "Ikenotani" },
|
||||
{"Station_JP" : "勝瑞", "Station_EN" : "Shōzui" },
|
||||
{"Station_JP" : "吉成", "Station_EN" : "Yoshinari" },
|
||||
{"Station_JP" : "佐古", "Station_EN" : "Sako" },
|
||||
{"Station_JP" : "徳島", "Station_EN" : "Tokushima" },
|
||||
{"Station_JP" : "多度津", "Station_EN" : "Tadotsu" },
|
||||
{"Station_JP" : "金蔵寺", "Station_EN" : "Konzōji" },
|
||||
{"Station_JP" : "善通寺", "Station_EN" : "Zentsūji" },
|
||||
{"Station_JP" : "琴平", "Station_EN" : "Kotohira" },
|
||||
{"Station_JP" : "塩入", "Station_EN" : "Shioiri" },
|
||||
{"Station_JP" : "黒川", "Station_EN" : "Kurokawa" },
|
||||
{"Station_JP" : "讃岐財田", "Station_EN" : "Sanuki-Saida" },
|
||||
{"Station_JP" : "坪尻", "Station_EN" : "Tsubojiri" },
|
||||
{"Station_JP" : "箸蔵", "Station_EN" : "Hashikura" },
|
||||
{"Station_JP" : "佃", "Station_EN" : "Tsukuda" },
|
||||
{"Station_JP" : "阿波池田", "Station_EN" : "Awa-Ikeda" },
|
||||
{"Station_JP" : "三縄", "Station_EN" : "Minawa" },
|
||||
{"Station_JP" : "祖谷口", "Station_EN" : "Iyaguchi" },
|
||||
{"Station_JP" : "阿波川口", "Station_EN" : "Awa-Kawaguchi" },
|
||||
{"Station_JP" : "小歩危", "Station_EN" : "Koboke" },
|
||||
{"Station_JP" : "大歩危", "Station_EN" : "Ōboke" },
|
||||
{"Station_JP" : "土佐岩原", "Station_EN" : "Tosa-Iwahara" },
|
||||
{"Station_JP" : "豊永", "Station_EN" : "Toyonaga" },
|
||||
{"Station_JP" : "大田口", "Station_EN" : "Ōtaguchi" },
|
||||
{"Station_JP" : "土佐穴内", "Station_EN" : "Tosa-Ananai" },
|
||||
{"Station_JP" : "大杉", "Station_EN" : "Ōsugi" },
|
||||
{"Station_JP" : "土佐北川", "Station_EN" : "Tosa-Kitagawa" },
|
||||
{"Station_JP" : "角茂谷", "Station_EN" : "Kakumodani" },
|
||||
{"Station_JP" : "繁藤", "Station_EN" : "Shigetō" },
|
||||
{"Station_JP" : "新改", "Station_EN" : "Shingai" },
|
||||
{"Station_JP" : "土佐山田", "Station_EN" : "Tosa-Yamada" },
|
||||
{"Station_JP" : "山田西町", "Station_EN" : "Yamadanishimachi" },
|
||||
{"Station_JP" : "土佐長岡", "Station_EN" : "Tosa-Nagaoka" },
|
||||
{"Station_JP" : "後免", "Station_EN" : "Gomen" },
|
||||
{"Station_JP" : "土佐大津", "Station_EN" : "Tosa-Ōtsu" },
|
||||
{"Station_JP" : "布師田", "Station_EN" : "Nunoshida" },
|
||||
{"Station_JP" : "土佐一宮", "Station_EN" : "Tosa-Ikku" },
|
||||
{"Station_JP" : "薊野", "Station_EN" : "Azōno" },
|
||||
{"Station_JP" : "高知", "Station_EN" : "Kōchi" },
|
||||
{"Station_JP" : "入明", "Station_EN" : "Iriake" },
|
||||
{"Station_JP" : "円行寺口", "Station_EN" : "Engyōjiguchi" },
|
||||
{"Station_JP" : "旭", "Station_EN" : "Asahi" },
|
||||
{"Station_JP" : "朝倉", "Station_EN" : "Asakura" },
|
||||
{"Station_JP" : "枝川", "Station_EN" : "Edagawa" },
|
||||
{"Station_JP" : "伊野", "Station_EN" : "Ino" },
|
||||
{"Station_JP" : "波川", "Station_EN" : "Hakawa" },
|
||||
{"Station_JP" : "小村神社前", "Station_EN" : "Omurajinjamae" },
|
||||
{"Station_JP" : "日下", "Station_EN" : "Kusaka" },
|
||||
{"Station_JP" : "岡花", "Station_EN" : "Okabana" },
|
||||
{"Station_JP" : "土佐加茂", "Station_EN" : "Tosa-Kamo" },
|
||||
{"Station_JP" : "西佐川", "Station_EN" : "Nishi-Sakawa" },
|
||||
{"Station_JP" : "佐川", "Station_EN" : "Sakawa" },
|
||||
{"Station_JP" : "襟野々", "Station_EN" : "Erinono" },
|
||||
{"Station_JP" : "斗賀野", "Station_EN" : "Togano" },
|
||||
{"Station_JP" : "吾桑", "Station_EN" : "Asō" },
|
||||
{"Station_JP" : "多ノ郷", "Station_EN" : "Ōnogō" },
|
||||
{"Station_JP" : "大間", "Station_EN" : "Ōma" },
|
||||
{"Station_JP" : "須崎", "Station_EN" : "Susaki" },
|
||||
{"Station_JP" : "土佐新荘", "Station_EN" : "Tosa-Shinjō" },
|
||||
{"Station_JP" : "安和", "Station_EN" : "Awa" },
|
||||
{"Station_JP" : "土佐久礼", "Station_EN" : "Tosa-Kure" },
|
||||
{"Station_JP" : "影野", "Station_EN" : "Kageno" },
|
||||
{"Station_JP" : "六反地", "Station_EN" : "Rokutanji" },
|
||||
{"Station_JP" : "仁井田", "Station_EN" : "Niida" },
|
||||
{"Station_JP" : "窪川", "Station_EN" : "Kubokawa" },
|
||||
{"Station_JP" : "児島", "Station_EN" : "Kojima" },
|
||||
{"Station_JP" : "上の町", "Station_EN" : "KaminochŌ" },
|
||||
{"Station_JP" : "木見", "Station_EN" : "Kimi" },
|
||||
{"Station_JP" : "植松", "Station_EN" : "Uematsu" },
|
||||
{"Station_JP" : "茶屋町", "Station_EN" : "Chayamachi" },
|
||||
{"Station_JP" : "久々原", "Station_EN" : "Kuguhara" },
|
||||
{"Station_JP" : "早島", "Station_EN" : "kojima" },
|
||||
{"Station_JP" : "備中箕島", "Station_EN" : "Bitchū-Mishima" },
|
||||
{"Station_JP" : "妹尾", "Station_EN" : "Senoo" },
|
||||
{"Station_JP" : "備前西市", "Station_EN" : "Bizen-Nishiichi" },
|
||||
{"Station_JP" : "大元", "Station_EN" : "Ōmoto" },
|
||||
{"Station_JP" : "岡山", "Station_EN" : "Okayama" },
|
||||
{"Station_JP" : "新谷", "Station_EN" : "Niiya" },
|
||||
{"Station_JP" : "伊予大洲", "Station_EN" : "Iyo-Ōzu" },
|
||||
{"Station_JP" : "伊予平野", "Station_EN" : "Iyo-Hirano" },
|
||||
{"Station_JP" : "内子", "Station_EN" : "Uchiko" },
|
||||
{"Station_JP" : "五十崎", "Station_EN" : "Ikazaki" },
|
||||
{"Station_JP" : "喜多山", "Station_EN" : "Kitayama" },
|
||||
{"Station_JP" : "伊予立川", "Station_EN" : "Iyo-Tachikawa" },
|
||||
{"Station_JP" : "伊予大平", "Station_EN" : "Iyo-Ōhira" },
|
||||
{"Station_JP" : "伊予中山", "Station_EN" : "Iyo-Nakayama" },
|
||||
{"Station_JP" : "中村", "Station_EN" : "Nakamura" },
|
||||
{"Station_JP" : "土佐入野", "Station_EN" : "Tosa-irino" },
|
||||
{"Station_JP" : "土佐上川口", "Station_EN" : "Tosa-kamikawaguchi" },
|
||||
{"Station_JP" : "土佐佐賀", "Station_EN" : "Tosasaga" },
|
||||
{"Station_JP" : "浮鞭", "Station_EN" : "Ukibuchi" },
|
||||
{"Station_JP" : "安芸", "Station_EN" : "Aki" },
|
||||
{"Station_JP" : "阿波大谷", "Station_EN" : "Awa-Ōtani" },
|
||||
{"Station_JP" : "立道", "Station_EN" : "Tatsumichi" },
|
||||
{"Station_JP" : "教会前", "Station_EN" : "Kyōkaimae" },
|
||||
{"Station_JP" : "金比羅前", "Station_EN" : "Kompiramae" },
|
||||
{"Station_JP" : "撫養", "Station_EN" : "Muya" },
|
||||
{"Station_JP" : "鳴門", "Station_EN" : "Naruto" }
|
||||
]
|
@@ -1,23 +1,23 @@
|
||||
export default [
|
||||
{"Station_JP" : "松山", "Station_EN" : "Matsuyama", "MyStation" : "0", "StationNumber" : "U00", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/matsuyama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.84039,132.75139" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/matsuyama/"},
|
||||
{"Station_JP" : "市坪", "Station_EN" : "Ichitsubo", "MyStation" : "0", "StationNumber" : "U01", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ichitsubo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.809441,132.749325", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "北伊予", "Station_EN" : "Kita-Iyo", "MyStation" : "1", "StationNumber" : "U02", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kita-iyo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.787699,132.748963", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予市", "Station_EN" : "Iyoshi", "MyStation" : "2", "StationNumber" : "U05", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyoshi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.755352,132.702327", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "向井原", "Station_EN" : "Mukaibara", "MyStation" : "3", "StationNumber" : "U06", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/mukaibara.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.736043,132.695825", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予中山", "Station_EN" : "Iyo-Nakayama", "MyStation" : "4", "StationNumber" : "U08", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-nakayama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.649292,132.711857", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予立川", "Station_EN" : "Iyo-Tachikawa", "MyStation" : "5", "StationNumber" : "U09", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-tachikawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.601197,132.677898", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "内子", "Station_EN" : "Uchiko", "MyStation" : "6", "StationNumber" : "U10", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/uchiko.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.549461,132.646304", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/uchiko/"},
|
||||
{"Station_JP" : "新谷", "Station_EN" : "Niiya", "MyStation" : "7", "StationNumber" : "U13", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/niiya.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.534106,132.59904" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予大洲", "Station_EN" : "Iyo-Ōzu", "MyStation" : "8", "StationNumber" : "U14", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-ozu.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.518495,132.544878", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/iyozu/"},
|
||||
{"Station_JP" : "伊予平野", "Station_EN" : "Iyo-Hirano", "MyStation" : "9", "StationNumber" : "U16", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-hirano.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.495827,132.518108", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "千丈", "Station_EN" : "Senjō", "MyStation" : "10", "StationNumber" : "U17", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/senjo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.465646,132.457416", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "八幡浜", "Station_EN" : "Yawatahama", "MyStation" : "11", "StationNumber" : "U18", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yawatahama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.458146,132.436002", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/yawatahama/"},
|
||||
{"Station_JP" : "双岩", "Station_EN" : "Futaiwa", "MyStation" : "12", "StationNumber" : "U19", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/futaiwa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.424669,132.457934", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予石城", "Station_EN" : "Iyo-Iwaki", "MyStation" : "13", "StationNumber" : "U20", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-iwaki.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.391413,132.473259", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "卯之町", "Station_EN" : "Unomachi", "MyStation" : "14", "StationNumber" : "U22", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/unomachi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.363175,132.509959", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/unomachi/"},
|
||||
{"Station_JP" : "下宇和", "Station_EN" : "Shimo-Uwa", "MyStation" : "15", "StationNumber" : "U23", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shimo-uwa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.349786,132.531172", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "立間", "Station_EN" : "Tachima", "MyStation" : "16", "StationNumber" : "U24", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tachima.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.296721,132.539509", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予吉田", "Station_EN" : "Iyo-Yoshida", "MyStation" : "17", "StationNumber" : "U25", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-yoshida.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.273287,132.544098", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "北宇和島", "Station_EN" : "Kita-Uwajima", "MyStation" : "18", "StationNumber" : "U27", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kita-uwajima.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.238636,132.569909", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "宇和島", "Station_EN" : "Uwajima", "MyStation" : "19", "StationNumber" : "U28", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/uwajima.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.225793,132.567498", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/uwajima/"}
|
||||
]
|
||||
export default [
|
||||
{"Station_JP" : "松山", "Station_EN" : "Matsuyama", "MyStation" : "0", "StationNumber" : "U00", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/matsuyama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.84039,132.75139" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/matsuyama/"},
|
||||
{"Station_JP" : "市坪", "Station_EN" : "Ichitsubo", "MyStation" : "0", "StationNumber" : "U01", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ichitsubo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.809441,132.749325", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "北伊予", "Station_EN" : "Kita-Iyo", "MyStation" : "1", "StationNumber" : "U02", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kita-iyo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.787699,132.748963", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予市", "Station_EN" : "Iyoshi", "MyStation" : "2", "StationNumber" : "U05", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyoshi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.755352,132.702327", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "向井原", "Station_EN" : "Mukaibara", "MyStation" : "3", "StationNumber" : "U06", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/mukaibara.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.736043,132.695825", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予中山", "Station_EN" : "Iyo-Nakayama", "MyStation" : "4", "StationNumber" : "U08", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-nakayama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.649292,132.711857", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予立川", "Station_EN" : "Iyo-Tachikawa", "MyStation" : "5", "StationNumber" : "U09", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-tachikawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.601197,132.677898", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "内子", "Station_EN" : "Uchiko", "MyStation" : "6", "StationNumber" : "U10", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/uchiko.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.549461,132.646304", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/uchiko/"},
|
||||
{"Station_JP" : "新谷", "Station_EN" : "Niiya", "MyStation" : "7", "StationNumber" : "U13", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/niiya.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.534106,132.59904" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予大洲", "Station_EN" : "Iyo-Ōzu", "MyStation" : "8", "StationNumber" : "U14", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-ozu.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.518495,132.544878", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/iyozu/"},
|
||||
{"Station_JP" : "伊予平野", "Station_EN" : "Iyo-Hirano", "MyStation" : "9", "StationNumber" : "U16", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-hirano.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.495827,132.518108", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "千丈", "Station_EN" : "Senjō", "MyStation" : "10", "StationNumber" : "U17", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/senjo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.465646,132.457416", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "八幡浜", "Station_EN" : "Yawatahama", "MyStation" : "11", "StationNumber" : "U18", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/yawatahama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.458146,132.436002", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/yawatahama/"},
|
||||
{"Station_JP" : "双岩", "Station_EN" : "Futaiwa", "MyStation" : "12", "StationNumber" : "U19", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/futaiwa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.424669,132.457934", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予石城", "Station_EN" : "Iyo-Iwaki", "MyStation" : "13", "StationNumber" : "U20", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-iwaki.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.391413,132.473259", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "卯之町", "Station_EN" : "Unomachi", "MyStation" : "14", "StationNumber" : "U22", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/unomachi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.363175,132.509959", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "下宇和", "Station_EN" : "Shimo-Uwa", "MyStation" : "15", "StationNumber" : "U23", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/shimo-uwa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.349786,132.531172", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "立間", "Station_EN" : "Tachima", "MyStation" : "16", "StationNumber" : "U24", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tachima.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.296721,132.539509", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予吉田", "Station_EN" : "Iyo-Yoshida", "MyStation" : "17", "StationNumber" : "U25", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-yoshida.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.273287,132.544098", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "北宇和島", "Station_EN" : "Kita-Uwajima", "MyStation" : "18", "StationNumber" : "U27", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kita-uwajima.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.238636,132.569909", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "宇和島", "Station_EN" : "Uwajima", "MyStation" : "19", "StationNumber" : "U28", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/uwajima.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.225793,132.567498", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/uwajima/"}
|
||||
]
|
||||
|
@@ -1,7 +1,7 @@
|
||||
export default [
|
||||
{"Station_JP" : "向井原","Station_EN" : "Mukaibara", "MyStation" : "0", "StationNumber" : "S06","StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/mukaibara.pdf","StationMap":"https://www.google.co.jp/maps/place/33.736043,132.695825"},
|
||||
{"Station_JP" : "伊予上灘","Station_EN" : "Iyo-Kaminada", "MyStation" : "0", "StationNumber" : "S08","StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-kaminada.pdf","StationMap":"https://www.google.co.jp/maps/place/33.683632,132.632969"},
|
||||
{"Station_JP" : "伊予長浜","Station_EN" : "Iyo-Nagahama", "MyStation" : "1", "StationNumber" : "S12","StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-nagahama.pdf","StationMap":"https://www.google.co.jp/maps/place/33.615302,132.486828"},
|
||||
{"Station_JP" : "伊予白滝","Station_EN" : "Iyo-Shirataki", "MyStation" : "2", "StationNumber" : "S14","StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-shirataki.pdf","StationMap":"https://www.google.co.jp/maps/place/33.578588,132.526778"},
|
||||
{"Station_JP" : "伊予大洲","Station_EN" : "Iyo-Ōzu", "MyStation" : "3", "StationNumber" : "S18","StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-ozu.pdf","StationMap":"https://www.google.co.jp/maps/place/33.518495,132.544878"}
|
||||
]
|
||||
export default [
|
||||
{"Station_JP" : "向井原","Station_EN" : "Mukaibara", "MyStation" : "0", "StationNumber" : "S06","StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/mukaibara.pdf","StationMap":"https://www.google.co.jp/maps/place/33.736043,132.695825"},
|
||||
{"Station_JP" : "伊予上灘","Station_EN" : "Iyo-Kaminada", "MyStation" : "0", "StationNumber" : "S08","StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-kaminada.pdf","StationMap":"https://www.google.co.jp/maps/place/33.683632,132.632969"},
|
||||
{"Station_JP" : "伊予長浜","Station_EN" : "Iyo-Nagahama", "MyStation" : "1", "StationNumber" : "S12","StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-nagahama.pdf","StationMap":"https://www.google.co.jp/maps/place/33.615302,132.486828"},
|
||||
{"Station_JP" : "伊予白滝","Station_EN" : "Iyo-Shirataki", "MyStation" : "2", "StationNumber" : "S14","StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-shirataki.pdf","StationMap":"https://www.google.co.jp/maps/place/33.578588,132.526778"},
|
||||
{"Station_JP" : "伊予大洲","Station_EN" : "Iyo-Ōzu", "MyStation" : "3", "StationNumber" : "S18","StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-ozu.pdf","StationMap":"https://www.google.co.jp/maps/place/33.518495,132.544878"}
|
||||
]
|
||||
|
@@ -1,46 +1,46 @@
|
||||
export default [
|
||||
{"Station_JP" : "高松", "Station_EN" : "Takamatsu", "MyStation" : "0", "StationNumber" : "Y00", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/takamatsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.350682,134.046938", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/takamatsu/"},
|
||||
{"Station_JP" : "鬼無", "Station_EN" : "Kinashi", "MyStation" : "0", "StationNumber" : "Y02", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kinashi.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.325494,133.993861", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "端岡", "Station_EN" : "Hashioka", "MyStation" : "1", "StationNumber" : "Y03", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hashioka.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.305027,133.967643", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "鴨川", "Station_EN" : "Kamogawa", "MyStation" : "2", "StationNumber" : "Y06", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kamogawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.306877,133.905229", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "坂出", "Station_EN" : "Sakaide", "MyStation" : "3", "StationNumber" : "Y08", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sakaide.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.313222,133.856325", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/sakaide/"},
|
||||
{"Station_JP" : "宇多津", "Station_EN" : "Utazu", "MyStation" : "4", "StationNumber" : "Y09", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/utazu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.306379,133.813784", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/utazu/"},
|
||||
{"Station_JP" : "丸亀", "Station_EN" : "Marugame", "MyStation" : "5", "StationNumber" : "Y10", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/marugame.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.292006,133.793175", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/marugame/"},
|
||||
{"Station_JP" : "多度津", "Station_EN" : "Tadotsu", "MyStation" : "6", "StationNumber" : "Y12", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tadotsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.271088,133.756735", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/tadotsu/"},
|
||||
{"Station_JP" : "海岸寺", "Station_EN" : "Kaiganji", "MyStation" : "7", "StationNumber" : "Y13", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kaiganji.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.253932,133.729307", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "詫間", "Station_EN" : "Takuma", "MyStation" : "8", "StationNumber" : "Y14", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/takuma.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.220826,133.692737", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/takuma/"},
|
||||
{"Station_JP" : "高瀬", "Station_EN" : "Takase", "MyStation" : "9", "StationNumber" : "Y16", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/takase.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.184083,133.711397", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "本山", "Station_EN" : "Motoyama", "MyStation" : "10", "StationNumber" : "Y18", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/motoyama.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.146075,133.686473", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "観音寺", "Station_EN" : "Kan-onji", "MyStation" : "11", "StationNumber" : "Y19", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kan-onji.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.124478,133.655709", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kanonji/"},
|
||||
{"Station_JP" : "豊浜", "Station_EN" : "Toyohama", "MyStation" : "12", "StationNumber" : "Y20", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/toyohama.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.079775,133.644206", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "箕浦", "Station_EN" : "Minoura", "MyStation" : "13", "StationNumber" : "Y21", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/minoura.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.048043,133.618998", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "川之江", "Station_EN" : "Kawanoe", "MyStation" : "14", "StationNumber" : "Y22", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kawanoe.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.014209,133.575856", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kawanoe/"},
|
||||
{"Station_JP" : "伊予三島", "Station_EN" : "Iyo-Mishima", "MyStation" : "15", "StationNumber" : "Y23", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-mishima.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.979583,133.541984", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/iyomishima/"},
|
||||
{"Station_JP" : "伊予寒川", "Station_EN" : "Iyo-Sangawa", "MyStation" : "16", "StationNumber" : "Y24", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-sangawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.967803,133.500153", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予土居", "Station_EN" : "Iyo-Doi", "MyStation" : "17", "StationNumber" : "Y26", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-doi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.959024,133.428294", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "関川", "Station_EN" : "Sekigawa", "MyStation" : "18", "StationNumber" : "Y27", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sekigawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.955777,133.392567", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "多喜浜", "Station_EN" : "Takihama", "MyStation" : "19", "StationNumber" : "Y28", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/takihama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.970564,133.32415" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "新居浜", "Station_EN" : "Niihama", "MyStation" : "20", "StationNumber" : "Y29", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/niihama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.947996,133.294341", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/niihama/"},
|
||||
{"Station_JP" : "中萩", "Station_EN" : "Nakahagi", "MyStation" : "21", "StationNumber" : "Y30", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nakahagi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.926168,133.253391", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予西条", "Station_EN" : "Iyo-Saijo", "MyStation" : "22", "StationNumber" : "Y31", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-saijo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.912492,133.187578", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/iyosaijo/index.html"},
|
||||
{"Station_JP" : "石鎚山", "Station_EN" : "Ishizuchiyama", "MyStation" : "23", "StationNumber" : "Y32", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ishizuchiyama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.895746,133.157257", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予小松", "Station_EN" : "Iyo-Komatsu", "MyStation" : "24", "StationNumber" : "Y34", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-komatsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.897567,133.116717", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "壬生川", "Station_EN" : "Nyūgawa", "MyStation" : "25", "StationNumber" : "Y36", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nyugawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.929851,133.08552" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/nyugawa/"},
|
||||
{"Station_JP" : "伊予三芳", "Station_EN" : "Iyo-Miyoshi", "MyStation" : "26", "StationNumber" : "Y37", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-miyoshi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.954251,133.06422" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予桜井", "Station_EN" : "Iyo-Sakurai", "MyStation" : "27", "StationNumber" : "Y38", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-sakurai.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.012073,133.03593" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予富田", "Station_EN" : "Iyo-Tomita", "MyStation" : "28", "StationNumber" : "Y39", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-tomita.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.036447,133.008989", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "今治", "Station_EN" : "Imabari", "MyStation" : "29", "StationNumber" : "Y40", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/imabari.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.064167,132.993655", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/imabari/"},
|
||||
{"Station_JP" : "波止浜", "Station_EN" : "Hashihama", "MyStation" : "30", "StationNumber" : "Y41", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hashihama.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.098067,132.968786", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "波方", "Station_EN" : "Namikata", "MyStation" : "31", "StationNumber" : "Y42", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/namikata.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.095134,132.941888", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "大西", "Station_EN" : "Ōnishi", "MyStation" : "32", "StationNumber" : "Y43", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/onishi.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.066125,132.929367", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予亀岡", "Station_EN" : "Iyo-kameoka", "MyStation" : "33", "StationNumber" : "Y44", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-kameoka.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.053886,132.874104", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "菊間", "Station_EN" : "Kikuma", "MyStation" : "34", "StationNumber" : "Y45", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kikuma.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.033421,132.840883", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "浅海", "Station_EN" : "Asanami", "MyStation" : "35", "StationNumber" : "Y46", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/asanami.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.010028,132.802691", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "大浦", "Station_EN" : "Ōura", "MyStation" : "36", "StationNumber" : "Y47", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/oura.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.999461,132.77555" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予北条", "Station_EN" : "Iyo-Hōjō", "MyStation" : "37", "StationNumber" : "Y48", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-hojo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.972595,132.775097", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/iyohojo/"},
|
||||
{"Station_JP" : "粟井", "Station_EN" : "Awai", "MyStation" : "38", "StationNumber" : "Y50", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awai.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.942729,132.77044" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "堀江", "Station_EN" : "Horie", "MyStation" : "39", "StationNumber" : "Y52", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/horie.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.905558,132.753212", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予和気", "Station_EN" : "Iyo-Wake", "MyStation" : "40", "StationNumber" : "Y53", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-wake.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.889798,132.740708", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "三津浜", "Station_EN" : "Mitsuhama", "MyStation" : "41", "StationNumber" : "Y54", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/mitsuhama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.861165,132.728612", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "松山", "Station_EN" : "Matsuyama", "MyStation" : "42", "StationNumber" : "Y55", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/matsuyama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.84039,132.75139" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/matsuyama/"}
|
||||
export default [
|
||||
{"Station_JP" : "高松", "Station_EN" : "Takamatsu", "MyStation" : "0", "StationNumber" : "Y00", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/takamatsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.350682,134.046938", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/takamatsu/"},
|
||||
{"Station_JP" : "鬼無", "Station_EN" : "Kinashi", "MyStation" : "0", "StationNumber" : "Y02", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kinashi.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.325494,133.993861", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "端岡", "Station_EN" : "Hashioka", "MyStation" : "1", "StationNumber" : "Y03", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hashioka.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.305027,133.967643", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "鴨川", "Station_EN" : "Kamogawa", "MyStation" : "2", "StationNumber" : "Y06", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kamogawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.306877,133.905229", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "坂出", "Station_EN" : "Sakaide", "MyStation" : "3", "StationNumber" : "Y08", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sakaide.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.313222,133.856325", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/sakaide/"},
|
||||
{"Station_JP" : "宇多津", "Station_EN" : "Utazu", "MyStation" : "4", "StationNumber" : "Y09", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/utazu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.306379,133.813784", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/utazu/"},
|
||||
{"Station_JP" : "丸亀", "Station_EN" : "Marugame", "MyStation" : "5", "StationNumber" : "Y10", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/marugame.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.292006,133.793175", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/marugame/"},
|
||||
{"Station_JP" : "多度津", "Station_EN" : "Tadotsu", "MyStation" : "6", "StationNumber" : "Y12", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/tadotsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.271088,133.756735", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/tadotsu/"},
|
||||
{"Station_JP" : "海岸寺", "Station_EN" : "Kaiganji", "MyStation" : "7", "StationNumber" : "Y13", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kaiganji.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.253932,133.729307", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "詫間", "Station_EN" : "Takuma", "MyStation" : "8", "StationNumber" : "Y14", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/takuma.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.220826,133.692737", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/takuma/"},
|
||||
{"Station_JP" : "高瀬", "Station_EN" : "Takase", "MyStation" : "9", "StationNumber" : "Y16", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/takase.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.184083,133.711397", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "本山", "Station_EN" : "Motoyama", "MyStation" : "10", "StationNumber" : "Y18", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/motoyama.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.146075,133.686473", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "観音寺", "Station_EN" : "Kan-onji", "MyStation" : "11", "StationNumber" : "Y19", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kan-onji.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.124478,133.655709", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kanonji/"},
|
||||
{"Station_JP" : "豊浜", "Station_EN" : "Toyohama", "MyStation" : "12", "StationNumber" : "Y20", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/toyohama.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.079775,133.644206", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "箕浦", "Station_EN" : "Minoura", "MyStation" : "13", "StationNumber" : "Y21", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/minoura.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.048043,133.618998", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "川之江", "Station_EN" : "Kawanoe", "MyStation" : "14", "StationNumber" : "Y22", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kawanoe.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.014209,133.575856", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/kawanoe/"},
|
||||
{"Station_JP" : "伊予三島", "Station_EN" : "Iyo-Mishima", "MyStation" : "15", "StationNumber" : "Y23", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-mishima.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.979583,133.541984", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/iyomishima/"},
|
||||
{"Station_JP" : "伊予寒川", "Station_EN" : "Iyo-Sangawa", "MyStation" : "16", "StationNumber" : "Y24", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-sangawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.967803,133.500153", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予土居", "Station_EN" : "Iyo-Doi", "MyStation" : "17", "StationNumber" : "Y26", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-doi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.959024,133.428294", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "関川", "Station_EN" : "Sekigawa", "MyStation" : "18", "StationNumber" : "Y27", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/sekigawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.955777,133.392567", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "多喜浜", "Station_EN" : "Takihama", "MyStation" : "19", "StationNumber" : "Y28", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/takihama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.970564,133.32415" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "新居浜", "Station_EN" : "Niihama", "MyStation" : "20", "StationNumber" : "Y29", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/niihama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.947996,133.294341", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/niihama/"},
|
||||
{"Station_JP" : "中萩", "Station_EN" : "Nakahagi", "MyStation" : "21", "StationNumber" : "Y30", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nakahagi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.926168,133.253391", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予西条", "Station_EN" : "Iyo-Saijo", "MyStation" : "22", "StationNumber" : "Y31", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-saijo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.912492,133.187578", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/iyosaijo/index.html"},
|
||||
{"Station_JP" : "石鎚山", "Station_EN" : "Ishizuchiyama", "MyStation" : "23", "StationNumber" : "Y32", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/ishizuchiyama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.895746,133.157257", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予小松", "Station_EN" : "Iyo-Komatsu", "MyStation" : "24", "StationNumber" : "Y34", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-komatsu.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.897567,133.116717", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "壬生川", "Station_EN" : "Nyūgawa", "MyStation" : "25", "StationNumber" : "Y36", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/nyugawa.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.929851,133.08552" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/nyugawa/"},
|
||||
{"Station_JP" : "伊予三芳", "Station_EN" : "Iyo-Miyoshi", "MyStation" : "26", "StationNumber" : "Y37", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-miyoshi.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.954251,133.06422" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予桜井", "Station_EN" : "Iyo-Sakurai", "MyStation" : "27", "StationNumber" : "Y38", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-sakurai.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.012073,133.03593" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予富田", "Station_EN" : "Iyo-Tomita", "MyStation" : "28", "StationNumber" : "Y39", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-tomita.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.036447,133.008989", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "今治", "Station_EN" : "Imabari", "MyStation" : "29", "StationNumber" : "Y40", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/imabari.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.064167,132.993655", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/imabari/"},
|
||||
{"Station_JP" : "波止浜", "Station_EN" : "Hashihama", "MyStation" : "30", "StationNumber" : "Y41", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/hashihama.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.098067,132.968786", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "波方", "Station_EN" : "Namikata", "MyStation" : "31", "StationNumber" : "Y42", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/namikata.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.095134,132.941888", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "大西", "Station_EN" : "Ōnishi", "MyStation" : "32", "StationNumber" : "Y43", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/onishi.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.066125,132.929367", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予亀岡", "Station_EN" : "Iyo-kameoka", "MyStation" : "33", "StationNumber" : "Y44", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-kameoka.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.053886,132.874104", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "菊間", "Station_EN" : "Kikuma", "MyStation" : "34", "StationNumber" : "Y45", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/kikuma.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.033421,132.840883", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "浅海", "Station_EN" : "Asanami", "MyStation" : "35", "StationNumber" : "Y46", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/asanami.pdf", "StationMap":"https://www.google.co.jp/maps/place/34.010028,132.802691", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "大浦", "Station_EN" : "Ōura", "MyStation" : "36", "StationNumber" : "Y47", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/oura.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.999461,132.77555" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予北条", "Station_EN" : "Iyo-Hōjō", "MyStation" : "37", "StationNumber" : "Y48", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-hojo.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.972595,132.775097", "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/iyohojo/"},
|
||||
{"Station_JP" : "粟井", "Station_EN" : "Awai", "MyStation" : "38", "StationNumber" : "Y50", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/awai.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.942729,132.77044" , "JrHpUrl" : ""},
|
||||
{"Station_JP" : "堀江", "Station_EN" : "Horie", "MyStation" : "39", "StationNumber" : "Y52", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/horie.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.905558,132.753212", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "伊予和気", "Station_EN" : "Iyo-Wake", "MyStation" : "40", "StationNumber" : "Y53", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/iyo-wake.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.889798,132.740708", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "三津浜", "Station_EN" : "Mitsuhama", "MyStation" : "41", "StationNumber" : "Y54", "DispNum" : "2", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/mitsuhama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.861165,132.728612", "JrHpUrl" : ""},
|
||||
{"Station_JP" : "松山", "Station_EN" : "Matsuyama", "MyStation" : "42", "StationNumber" : "Y55", "DispNum" : "3", "StationTimeTable" : "http://www.jr-shikoku.co.jp/01_trainbus/jikoku/pdf/matsuyama.pdf", "StationMap":"https://www.google.co.jp/maps/place/33.84039,132.75139" , "JrHpUrl" : "http://www.jr-shikoku.co.jp/01_trainbus/kakueki/matsuyama/"}
|
||||
]
|
BIN
assets/雑.png
Normal file
BIN
assets/雑.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
714
components/ActionSheetComponents/EachTrainInfo.js
Normal file
714
components/ActionSheetComponents/EachTrainInfo.js
Normal file
@@ -0,0 +1,714 @@
|
||||
import React, { useEffect, useState } from "react";
|
||||
import {
|
||||
View,
|
||||
LayoutAnimation,
|
||||
ScrollView,
|
||||
Linking,
|
||||
Text,
|
||||
TouchableOpacity,
|
||||
TouchableWithoutFeedback,
|
||||
TouchableHighlight,
|
||||
Platform,
|
||||
} from "react-native";
|
||||
import { Ionicons, MaterialCommunityIcons } from "@expo/vector-icons";
|
||||
import ActionSheet from "react-native-actions-sheet";
|
||||
import { AS } from "../../storageControl";
|
||||
import LottieView from "lottie-react-native";
|
||||
import trainList from "../../assets/originData/trainList";
|
||||
import { lineList } from "../../lib/getStationList";
|
||||
import {
|
||||
heightPercentageToDP,
|
||||
widthPercentageToDP,
|
||||
} from "react-native-responsive-screen";
|
||||
import lineColorList from "../../assets/originData/lineColorList";
|
||||
|
||||
export const EachTrainInfo = ({
|
||||
setRef,
|
||||
data,
|
||||
navigate,
|
||||
originalStationList,
|
||||
openStationACFromEachTrainInfo,
|
||||
from,
|
||||
}) => {
|
||||
const [trainData, setTrainData] = useState([]);
|
||||
const [isTop, setIsTop] = useState(true);
|
||||
const [currentPosition, setCurrentPosition] = useState([]);
|
||||
|
||||
const [trainPositionSwitch, setTrainPositionSwitch] = useState("false");
|
||||
|
||||
useEffect(() => {
|
||||
//列車現在地アイコン表示スイッチ
|
||||
AS.getItem("trainPositionSwitch")
|
||||
.then((d) => {
|
||||
if (d) {
|
||||
setTrainPositionSwitch(d);
|
||||
} else {
|
||||
}
|
||||
})
|
||||
.catch((d) => AS.setItem("trainPositionSwitch", "false"));
|
||||
}, []);
|
||||
|
||||
const getStationData = (stationName) => {
|
||||
const Stations = stationList.map((a) =>
|
||||
a.filter((d) => d.StationName == stationName)
|
||||
);
|
||||
const Station =
|
||||
Stations &&
|
||||
Stations.reduce((newArray, e) => {
|
||||
return newArray.concat(e);
|
||||
}, []);
|
||||
if (!Station[0]) return [];
|
||||
return Station.map((d) => d.StationNumber)[0];
|
||||
};
|
||||
useEffect(() => {
|
||||
//data.trainData.Pos = "鴨川~端岡"; //test
|
||||
if (!data.trainData?.Pos) return;
|
||||
if (data.trainData?.Pos.match("~")) {
|
||||
const pos = data.trainData?.Pos.replace("(下り)", "")
|
||||
.replace("(上り)", "")
|
||||
.split("~");
|
||||
setCurrentPosition([getStationData(pos[0]), getStationData(pos[1])]);
|
||||
} else {
|
||||
setCurrentPosition([getStationData(data.trainData?.Pos)]);
|
||||
}
|
||||
}, [data.trainData]);
|
||||
|
||||
const stationList =
|
||||
originalStationList &&
|
||||
lineList.map((d) =>
|
||||
originalStationList[d].map((a) => ({
|
||||
StationNumber: a.StationNumber,
|
||||
StationName: a.Station_JP,
|
||||
}))
|
||||
);
|
||||
const stopStationIDList = trainData.map((i, index) => {
|
||||
const [station, se, time] = i.split(",");
|
||||
const Stations = stationList.map((a) =>
|
||||
a.filter((d) => d.StationName == station)
|
||||
);
|
||||
const StationNumbers =
|
||||
Stations &&
|
||||
Stations.reduce((newArray, e) => {
|
||||
return newArray.concat(e);
|
||||
}, [])
|
||||
.filter((d) => d.StationNumber)
|
||||
.map((d) => d.StationNumber);
|
||||
return StationNumbers[0];
|
||||
});
|
||||
function findReversalPoints(array) {
|
||||
// arrayは現在位置の駅ID(駅在宅の場合は1つの配列、駅間の場合は2つの配列)
|
||||
// stopStationIDListは停車駅の駅IDの配列
|
||||
if (!stopStationIDList.length) return [];
|
||||
const arrayNumber = array.map((d) => ({
|
||||
line: d
|
||||
.split("")
|
||||
.filter((s) => "A" < s && s < "Z")
|
||||
.join(""),
|
||||
ID: d
|
||||
.split("")
|
||||
.filter((s) => "0" <= s && s <= "9")
|
||||
.join(""),
|
||||
}));
|
||||
const stopStationIDListNumber = stopStationIDList.map((d) => {
|
||||
if (!d) return { line: [], ID: [] };
|
||||
return {
|
||||
line: d
|
||||
.split("")
|
||||
.filter((s) => "A" < s && s < "Z")
|
||||
.join(""),
|
||||
ID: d
|
||||
.split("")
|
||||
.filter((s) => "0" <= s && s <= "9")
|
||||
.join(""),
|
||||
};
|
||||
});
|
||||
// 完全一致
|
||||
if (array.length == 1) {
|
||||
const index = stopStationIDList.indexOf(array[0]);
|
||||
if (index != -1) return [index];
|
||||
// 通過駅の場合
|
||||
for (let i = 0; i < stopStationIDListNumber.length - 1; i++) {
|
||||
if (stopStationIDListNumber[i].ID < arrayNumber[0].ID) {
|
||||
if (stopStationIDListNumber[i + 1].ID > arrayNumber[0].ID) {
|
||||
return [i + 1];
|
||||
}
|
||||
}
|
||||
if (stopStationIDListNumber[i].ID > arrayNumber[0].ID) {
|
||||
if (stopStationIDListNumber[i + 1].ID < arrayNumber[0].ID) {
|
||||
return [i + 1];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// 駅間の場合
|
||||
if (array.length == 2) {
|
||||
const index1 = stopStationIDList.indexOf(array[0]);
|
||||
const index2 = stopStationIDList.indexOf(array[1]);
|
||||
if (index1 != -1 && index2 != -1) {
|
||||
// 駅間で通過駅も無い場合
|
||||
if (index1 < index2) {
|
||||
if (index1 + 1 == index2) {
|
||||
return [index2];
|
||||
} else {
|
||||
const returnArray = [];
|
||||
for (let i = index1 + 1; i <= index2; i++) {
|
||||
returnArray.push(i);
|
||||
}
|
||||
return returnArray;
|
||||
}
|
||||
}
|
||||
if (index1 > index2) {
|
||||
if (index2 + 1 == index1) return [index1];
|
||||
else {
|
||||
const returnArray = [];
|
||||
for (let i = index2 + 1; i <= index1; i++) {
|
||||
returnArray.push(i);
|
||||
}
|
||||
return returnArray;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
const getNearStationID = (stationID) => {
|
||||
for (let i = 0; i <= stopStationIDListNumber.length; i++) {
|
||||
if (stopStationIDListNumber[i].ID < stationID) {
|
||||
if (stopStationIDListNumber[i + 1].ID > stationID) {
|
||||
return i + 1;
|
||||
}
|
||||
}
|
||||
if (stopStationIDListNumber[i].ID > stationID) {
|
||||
if (stopStationIDListNumber[i + 1].ID < stationID) {
|
||||
return i + 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
let newIndex1 = index1;
|
||||
let newIndex2 = index2;
|
||||
if (index1 == -1) {
|
||||
newIndex1 = getNearStationID(arrayNumber[0].ID);
|
||||
}
|
||||
if (index2 == -1) {
|
||||
newIndex2 = getNearStationID(arrayNumber[1].ID);
|
||||
}
|
||||
if (newIndex1 && newIndex2) {
|
||||
return [newIndex1, newIndex2];
|
||||
}
|
||||
|
||||
// 通過駅の場合
|
||||
}
|
||||
|
||||
return [];
|
||||
}
|
||||
}
|
||||
// 使用例
|
||||
const points =
|
||||
trainPositionSwitch == "true" ? findReversalPoints(currentPosition) : [];
|
||||
|
||||
useEffect(() => {
|
||||
setIsTop(true);
|
||||
if (!data.trainNum) return;
|
||||
const TD = trainList[data.trainNum];
|
||||
if (!TD) {
|
||||
setTrainData([]);
|
||||
return;
|
||||
}
|
||||
setTrainData(TD.split("#").filter((d) => d != ""));
|
||||
}, [data]);
|
||||
const getType = (string) => {
|
||||
switch (string) {
|
||||
case "express":
|
||||
return "特急";
|
||||
case "rapid":
|
||||
return "快速";
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
};
|
||||
|
||||
const migrateTrainName = (string) => {
|
||||
return string
|
||||
.replace("マリン", "マリンライナー")
|
||||
.replace("ライナーライナー", "ライナー");
|
||||
};
|
||||
|
||||
return (
|
||||
<ActionSheet
|
||||
ref={setRef}
|
||||
gestureEnabled={isTop}
|
||||
CustomHeaderComponent={<></>}
|
||||
>
|
||||
<View
|
||||
style={{
|
||||
backgroundColor: "#0099CC",
|
||||
borderRadius: 5,
|
||||
borderColor: "dark",
|
||||
borderWidth: 1,
|
||||
}}
|
||||
>
|
||||
<View style={{ height: 26, width: "100%" }}>
|
||||
<View
|
||||
style={{
|
||||
height: 6,
|
||||
width: 45,
|
||||
borderRadius: 100,
|
||||
backgroundColor: "#f0f0f0",
|
||||
marginVertical: 10,
|
||||
alignSelf: "center",
|
||||
}}
|
||||
/>
|
||||
</View>
|
||||
<View
|
||||
style={{ padding: 10, flexDirection: "row", alignItems: "center" }}
|
||||
>
|
||||
<Text style={{ fontSize: 20, fontWeight: "bold", color: "white" }}>
|
||||
{data.limited
|
||||
? getType(data.limited.split(":")[0]) +
|
||||
migrateTrainName(
|
||||
data.limited.split(":")[1] ||
|
||||
(trainData.length > 0
|
||||
? trainData[trainData.length - 1].split(",")[0] + "行き"
|
||||
: " ")
|
||||
)
|
||||
: ""}
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text style={{ fontSize: 20, fontWeight: "bold", color: "white" }}>
|
||||
{data.trainNum}
|
||||
</Text>
|
||||
{data.limited != undefined &&
|
||||
getType(data.limited.split(":")[0]) &&
|
||||
!data.limited.split(":")[1].match("サンポート") && (
|
||||
<Ionicons
|
||||
name="subway"
|
||||
color="white"
|
||||
size={30}
|
||||
style={{ margin: 5 }}
|
||||
onPress={() => {
|
||||
LayoutAnimation.easeInEaseOut(); //setLoadingDelayData(true);
|
||||
navigate("trainbase", {
|
||||
info: "train.html?tn=" + data.trainNum,
|
||||
from,
|
||||
});
|
||||
setRef.current?.hide();
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
</View>
|
||||
<ScrollView
|
||||
style={{
|
||||
flexDirection: "row",
|
||||
//width: widthPercentageToDP("200%"),
|
||||
minHeight: 200,
|
||||
height: heightPercentageToDP("20%"),
|
||||
}}
|
||||
horizontal
|
||||
pagingEnabled
|
||||
>
|
||||
<View
|
||||
style={{
|
||||
flexDirection: "row",
|
||||
minHeight: 200,
|
||||
height: heightPercentageToDP("20%"),
|
||||
width: widthPercentageToDP("100%"),
|
||||
}}
|
||||
>
|
||||
<View
|
||||
style={{
|
||||
flex: 1,
|
||||
backgroundColor: "white",
|
||||
borderRadius: 10,
|
||||
padding: 10,
|
||||
margin: 10,
|
||||
}}
|
||||
>
|
||||
<Text style={{ fontSize: 15, color: "#0099CC" }}>
|
||||
現在地 {currentPosition.toString()}
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
{data.trainData?.Pos && data.trainData?.Pos.match("~") ? (
|
||||
<>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 28,
|
||||
color: "#0099CC",
|
||||
textAlign: "right",
|
||||
}}
|
||||
>
|
||||
{
|
||||
data.trainData?.Pos.replace("(下り)", "")
|
||||
.replace("(上り)", "")
|
||||
.split("~")[0]
|
||||
}
|
||||
</Text>
|
||||
<Text style={{ color: "#0099CC", textAlign: "right" }}>
|
||||
~
|
||||
</Text>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 28,
|
||||
color: "#0099CC",
|
||||
textAlign: "right",
|
||||
}}
|
||||
>
|
||||
{
|
||||
data.trainData?.Pos.replace("(下り)", "")
|
||||
.replace("(上り)", "")
|
||||
.split("~")[1]
|
||||
}
|
||||
</Text>
|
||||
</>
|
||||
) : (
|
||||
<Text
|
||||
style={{ fontSize: 28, color: "#0099CC", textAlign: "right" }}
|
||||
>
|
||||
{data.trainData?.Pos}
|
||||
</Text>
|
||||
)}
|
||||
</View>
|
||||
<View style={{ flex: 1, flexDirection: "column" }}>
|
||||
<View
|
||||
style={{
|
||||
flex: 1,
|
||||
backgroundColor: "white",
|
||||
borderRadius: 10,
|
||||
padding: 10,
|
||||
margin: 10,
|
||||
}}
|
||||
>
|
||||
<Text style={{ fontSize: 15, color: "#0099CC" }}>
|
||||
{isNaN(data.trainData?.delay) ? "状態" : "遅延時分"}
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 32,
|
||||
color: "#0099CC",
|
||||
textAlign: "right",
|
||||
}}
|
||||
>
|
||||
{data.trainData?.delay}
|
||||
{isNaN(data.trainData?.delay) ? "" : "分"}
|
||||
</Text>
|
||||
</View>
|
||||
<View
|
||||
style={{
|
||||
flex: 1,
|
||||
backgroundColor: "white",
|
||||
borderRadius: 10,
|
||||
padding: 10,
|
||||
margin: 10,
|
||||
}}
|
||||
>
|
||||
<Text style={{ fontSize: 15, color: "#0099CC" }}>列番</Text>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 32,
|
||||
color: "#0099CC",
|
||||
textAlign: "right",
|
||||
}}
|
||||
>
|
||||
{data.trainData?.num}
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
{/* <View
|
||||
style={{
|
||||
flexDirection: "column",
|
||||
height: heightPercentageToDP("20%"),
|
||||
flex: 1,
|
||||
width: widthPercentageToDP("100%"),
|
||||
}}
|
||||
>
|
||||
<View style={{ flex: 1, flexDirection: "row" }}>
|
||||
<View
|
||||
style={{
|
||||
flex: 1,
|
||||
backgroundColor: "white",
|
||||
borderRadius: 10,
|
||||
padding: 10,
|
||||
margin: 10,
|
||||
}}
|
||||
>
|
||||
<Text style={{ fontSize: 15, color: "#0099CC" }}>行先</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 20,
|
||||
color: "#0099CC",
|
||||
textAlign: "right",
|
||||
}}
|
||||
>
|
||||
岡山
|
||||
</Text>
|
||||
</View>
|
||||
|
||||
<View
|
||||
style={{
|
||||
flex: 3,
|
||||
backgroundColor: "white",
|
||||
borderRadius: 10,
|
||||
padding: 10,
|
||||
margin: 10,
|
||||
}}
|
||||
>
|
||||
<Text style={{ fontSize: 15, color: "#0099CC" }}>車両案内</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 20,
|
||||
color: "#0099CC",
|
||||
textAlign: "right",
|
||||
}}
|
||||
>
|
||||
宇多津でうずしお号と連結
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
<View style={{ flex: 1, flexDirection: "row" }}>
|
||||
<View
|
||||
style={{
|
||||
flex: 1,
|
||||
backgroundColor: "white",
|
||||
borderRadius: 10,
|
||||
padding: 10,
|
||||
margin: 10,
|
||||
}}
|
||||
>
|
||||
<Text style={{ fontSize: 15, color: "#0099CC" }}>
|
||||
編成(使用車両:2700系)
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 20,
|
||||
color: "#0099CC",
|
||||
textAlign: "left",
|
||||
}}
|
||||
>
|
||||
{"[<自][自>][アン自|指>][アン指|G>]"}
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View> */}
|
||||
</ScrollView>
|
||||
<ScrollView
|
||||
style={{ maxHeight: heightPercentageToDP("55%") }}
|
||||
nestedScrollEnabled
|
||||
onScroll={(e) => {
|
||||
if (!Platform.OS !== "android") return;
|
||||
setIsTop(e.nativeEvent.contentOffset.y < 0);
|
||||
}}
|
||||
>
|
||||
<View
|
||||
style={{
|
||||
padding: 10,
|
||||
backgroundColor: "white",
|
||||
borderBottomLeftRadius: 5,
|
||||
borderBottomRightRadius: 5,
|
||||
}}
|
||||
>
|
||||
<View style={{ alignItems: "center" }}>
|
||||
{/* <LottieView
|
||||
autoPlay
|
||||
loop
|
||||
style={{ width: 150, height: 150, backgroundColor: "#fff" }}
|
||||
source={require("../../assets/51690-loading-diamonds.json")}
|
||||
/>
|
||||
<Text>ほげほげふがふが</Text> */}
|
||||
<View style={{ flexDirection: "row" }}>
|
||||
<View
|
||||
style={{
|
||||
padding: 8,
|
||||
flexDirection: "row",
|
||||
borderBottomWidth: 1,
|
||||
borderBottomColor: "#f0f0f0",
|
||||
flex: 1,
|
||||
}}
|
||||
>
|
||||
<Text style={{ fontSize: 20 }}>停車駅</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
<View style={{ flexDirection: "row" }}>
|
||||
{!isNaN(data.trainData?.delay) &&
|
||||
data.trainData?.delay != 0 && (
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 15,
|
||||
color: "black",
|
||||
position: "absolute",
|
||||
right: 110,
|
||||
textAlign: "right",
|
||||
textDecorationLine: "line-through",
|
||||
}}
|
||||
>
|
||||
(定刻)
|
||||
</Text>
|
||||
)}
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 20,
|
||||
color: isNaN(data.trainData?.delay)
|
||||
? "black"
|
||||
: data.trainData?.delay == 0
|
||||
? "black"
|
||||
: "red",
|
||||
width: 60,
|
||||
}}
|
||||
>
|
||||
見込
|
||||
</Text>
|
||||
<Text style={{ fontSize: 20, width: 50 }}></Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
{trainData.map((i, index) => {
|
||||
const [station, se, time] = i.split(",");
|
||||
const Stations = stationList.map((a) =>
|
||||
a.filter((d) => d.StationName == station)
|
||||
);
|
||||
const StationNumbers =
|
||||
Stations &&
|
||||
Stations.reduce((newArray, e) => {
|
||||
return newArray.concat(e);
|
||||
}, [])
|
||||
.filter((d) => d.StationNumber)
|
||||
.map((d) => d.StationNumber);
|
||||
|
||||
const colorIDs =
|
||||
StationNumbers != null
|
||||
? StationNumbers.map((d) => {
|
||||
return d.split("").filter((s) => "A" < s && s < "Z");
|
||||
}).reduce((newArray, e) => {
|
||||
return newArray.concat(e);
|
||||
}, [])
|
||||
: [];
|
||||
const EachIDs =
|
||||
StationNumbers != null
|
||||
? StationNumbers.map((d) => {
|
||||
return d
|
||||
.split("")
|
||||
.filter((s) => "0" <= s && s <= "9")
|
||||
.join("");
|
||||
})
|
||||
: [];
|
||||
const date = new Date();
|
||||
if (time) {
|
||||
date.setHours(time.split(":")[0], time.split(":")[1]);
|
||||
}
|
||||
if (!isNaN(data.trainData?.delay)) {
|
||||
date.setMinutes(date.getMinutes() + data.trainData?.delay);
|
||||
}
|
||||
const timeString = date.toTimeString().split(" ")[0].split(":");
|
||||
return (
|
||||
<TouchableWithoutFeedback
|
||||
onPress={() => openStationACFromEachTrainInfo(station)}
|
||||
key={station}
|
||||
>
|
||||
<View style={{ flexDirection: "row" }}>
|
||||
<View
|
||||
style={{
|
||||
width: 35,
|
||||
position: "relative",
|
||||
marginHorizontal: 15,
|
||||
flexDirection: "row",
|
||||
height: "101%",
|
||||
}}
|
||||
>
|
||||
{colorIDs.map((color, index) => (
|
||||
<View
|
||||
style={{
|
||||
backgroundColor: lineColorList[color],
|
||||
flex: 1,
|
||||
}}
|
||||
key={color}
|
||||
>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{
|
||||
color: "white",
|
||||
textAlign: "center",
|
||||
fontSize: 10,
|
||||
fontWeight: "bold",
|
||||
}}
|
||||
>
|
||||
{colorIDs[index]}
|
||||
</Text>
|
||||
<Text
|
||||
style={{
|
||||
color: "white",
|
||||
textAlign: "center",
|
||||
fontSize: 10,
|
||||
fontWeight: "bold",
|
||||
}}
|
||||
>
|
||||
{EachIDs[index]}
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</View>
|
||||
))}
|
||||
</View>
|
||||
<View
|
||||
style={{
|
||||
padding: 8,
|
||||
flexDirection: "row",
|
||||
borderBottomWidth: 1,
|
||||
borderBottomColor: "#f0f0f0",
|
||||
flex: 1,
|
||||
}}
|
||||
>
|
||||
<Text style={{ fontSize: 20 }}>{station}</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
{points.findIndex((d) => d == index) >= 0 ? (
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 20,
|
||||
marginRight: 70,
|
||||
}}
|
||||
>
|
||||
🚊
|
||||
</Text>
|
||||
) : null}
|
||||
{!isNaN(data.trainData?.delay) &&
|
||||
data.trainData?.delay != 0 && (
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 15,
|
||||
color: "black",
|
||||
width: 60,
|
||||
position: "absolute",
|
||||
right: 120,
|
||||
textAlign: "right",
|
||||
textDecorationLine: "line-through",
|
||||
}}
|
||||
>
|
||||
{time}
|
||||
</Text>
|
||||
)}
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 20,
|
||||
color: isNaN(data.trainData?.delay)
|
||||
? "black"
|
||||
: data.trainData?.delay == 0
|
||||
? "black"
|
||||
: "red",
|
||||
width: 60,
|
||||
}}
|
||||
>
|
||||
{timeString[0]}:{timeString[1]}
|
||||
</Text>
|
||||
<Text style={{ fontSize: 18, width: 50 }}>
|
||||
{se?.replace("発", "出発").replace("着", "到着")}
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</TouchableWithoutFeedback>
|
||||
);
|
||||
})}
|
||||
</View>
|
||||
</View>
|
||||
</ScrollView>
|
||||
</View>
|
||||
</ActionSheet>
|
||||
);
|
||||
};
|
@@ -1,7 +1,5 @@
|
||||
import React, { Component, useRef, useState, useEffect } from "react";
|
||||
import React from "react";
|
||||
import {
|
||||
StatusBar,
|
||||
Platform,
|
||||
View,
|
||||
LayoutAnimation,
|
||||
ScrollView,
|
||||
@@ -9,30 +7,9 @@ import {
|
||||
Text,
|
||||
TouchableOpacity,
|
||||
} from "react-native";
|
||||
import Image from "react-native-remote-svg";
|
||||
import Constants from "expo-constants";
|
||||
import { List, ListItem } from "native-base";
|
||||
import Icon from "react-native-vector-icons/Entypo";
|
||||
import * as Location from "expo-location";
|
||||
import StatusbarDetect from "../../StatusbarDetect";
|
||||
var Status = StatusbarDetect();
|
||||
import { useNavigation } from "@react-navigation/native";
|
||||
import AutoHeightImage from "react-native-auto-height-image";
|
||||
import {
|
||||
widthPercentageToDP as wp,
|
||||
heightPercentageToDP as hp,
|
||||
} from "react-native-responsive-screen";
|
||||
import {
|
||||
FontAwesome,
|
||||
Fontisto,
|
||||
Foundation,
|
||||
Ionicons,
|
||||
MaterialCommunityIcons,
|
||||
} from "@expo/vector-icons";
|
||||
import * as WebBrowser from "expo-web-browser";
|
||||
import { Ionicons, MaterialCommunityIcons } from "@expo/vector-icons";
|
||||
import ActionSheet from "react-native-actions-sheet";
|
||||
import LottieView from "lottie-react-native";
|
||||
import SvgUri from "react-native-svg-uri";
|
||||
export const JRSTraInfo = (props) => {
|
||||
const {
|
||||
JRSTraInfoEXAcSR,
|
||||
@@ -45,7 +22,7 @@ export const JRSTraInfo = (props) => {
|
||||
<ActionSheet
|
||||
ref={JRSTraInfoEXAcSR}
|
||||
gestureEnabled
|
||||
CustomHeaderComponent={() => { }}
|
||||
CustomHeaderComponent={<></>}
|
||||
>
|
||||
<View
|
||||
style={{
|
||||
@@ -80,8 +57,8 @@ export const JRSTraInfo = (props) => {
|
||||
<Text style={{ fontSize: 30, fontWeight: "bold", color: "white" }}>
|
||||
{getTime
|
||||
? getTime.toLocaleTimeString("ja-JP").split(":")[0] +
|
||||
":" +
|
||||
getTime.toLocaleTimeString("ja-JP").split(":")[1]
|
||||
":" +
|
||||
getTime.toLocaleTimeString("ja-JP").split(":")[1]
|
||||
: NaN}{" "}
|
||||
</Text>
|
||||
<Ionicons
|
||||
@@ -116,7 +93,7 @@ export const JRSTraInfo = (props) => {
|
||||
delayData.map((d) => {
|
||||
let data = d.split(" ");
|
||||
return (
|
||||
<View style={{ flexDirection: "row" }}>
|
||||
<View style={{ flexDirection: "row" }} key={data[1]}>
|
||||
<Text style={{ flex: 15, fontSize: 20 }}>
|
||||
{data[0].replace("\n", "")}
|
||||
</Text>
|
||||
|
@@ -1,21 +1,59 @@
|
||||
import React from "react";
|
||||
import { View, ScrollView, Linking } from "react-native";
|
||||
import StatusbarDetect from "../../StatusbarDetect";
|
||||
var Status = StatusbarDetect();
|
||||
import React, { useState, useEffect } from "react";
|
||||
import {
|
||||
StatusBar,
|
||||
View,
|
||||
LayoutAnimation,
|
||||
ScrollView,
|
||||
Linking,
|
||||
Text,
|
||||
TouchableOpacity,
|
||||
} from "react-native";
|
||||
import AutoHeightImage from "react-native-auto-height-image";
|
||||
import { FontAwesome, Foundation, Ionicons } from "@expo/vector-icons";
|
||||
import ActionSheet from "react-native-actions-sheet";
|
||||
import Sign from "../../components/駅名表/Sign";
|
||||
import { useInterval } from "../../lib/useInterval";
|
||||
|
||||
import { TicketBox } from "../atom/TicketBox";
|
||||
import {
|
||||
widthPercentageToDP as wp,
|
||||
heightPercentageToDP as hp,
|
||||
} from "react-native-responsive-screen";
|
||||
import lineColorList from "../../assets/originData/lineColorList";
|
||||
import { getPDFViewURL } from "../../lib/getPdfViewURL";
|
||||
|
||||
export const StationDeteilView = (props) => {
|
||||
const { StationBoardAcSR, currentStation, originalStationList } = props;
|
||||
|
||||
const {
|
||||
StationBoardAcSR,
|
||||
currentStation,
|
||||
originalStationList,
|
||||
favoriteStation,
|
||||
setFavoriteStation,
|
||||
busAndTrainData,
|
||||
navigate,
|
||||
onExit,
|
||||
} = props;
|
||||
const [trainBus, setTrainBus] = useState();
|
||||
useEffect(() => {
|
||||
if (!currentStation) return () => {};
|
||||
const data = busAndTrainData.filter((d) => {
|
||||
return d.name === currentStation[0].Station_JP;
|
||||
});
|
||||
if (data.length == 0) {
|
||||
setTrainBus();
|
||||
}
|
||||
setTrainBus(data[0]);
|
||||
}, [currentStation]);
|
||||
const info =
|
||||
currentStation &&
|
||||
(currentStation[0].StationTimeTable.match(".pdf")
|
||||
? getPDFViewURL(currentStation[0].StationTimeTable)
|
||||
: currentStation[0].StationTimeTable);
|
||||
return (
|
||||
<ActionSheet
|
||||
ref={StationBoardAcSR}
|
||||
gestureEnabled
|
||||
CustomHeaderComponent={() => {}}
|
||||
CustomHeaderComponent={<></>}
|
||||
>
|
||||
<View
|
||||
key={currentStation}
|
||||
@@ -40,12 +78,59 @@ export const StationDeteilView = (props) => {
|
||||
</View>
|
||||
<View>
|
||||
{currentStation && (
|
||||
<Sign
|
||||
currentStation={currentStation}
|
||||
originalStationList={originalStationList}
|
||||
oP={() => Linking.openURL(currentStation[0].StationTimeTable)}
|
||||
/>
|
||||
<View
|
||||
style={{
|
||||
margin: 10,
|
||||
marginHorizontal: wp("10%"),
|
||||
}}
|
||||
>
|
||||
<Sign
|
||||
currentStation={currentStation}
|
||||
originalStationList={originalStationList}
|
||||
favoriteStation={favoriteStation}
|
||||
setFavoriteStation={setFavoriteStation}
|
||||
oP={() => {
|
||||
navigate("howto", {
|
||||
info,
|
||||
onExit,
|
||||
});
|
||||
StationBoardAcSR.current?.hide();
|
||||
}}
|
||||
oLP={() => Linking.openURL(currentStation[0].StationTimeTable)}
|
||||
/>
|
||||
</View>
|
||||
)}
|
||||
{currentStation &&
|
||||
currentStation.map((d) => (
|
||||
<NexPreStationLine
|
||||
currentStation={d}
|
||||
originalStationList={originalStationList}
|
||||
favoriteStation={favoriteStation}
|
||||
setFavoriteStation={setFavoriteStation}
|
||||
/>
|
||||
))}
|
||||
{currentStation &&
|
||||
currentStation[0].JrHpUrl &&
|
||||
currentStation[0].StationNumber != "M12" && (
|
||||
<駅構内図 //高松/阿波池田&後免&須崎kounai.png児島例外/
|
||||
oP={() => {
|
||||
navigate("howto", {
|
||||
info:
|
||||
currentStation[0].JrHpUrl.replace("/index.html", "/") +
|
||||
"/kounai_map.html",
|
||||
onExit,
|
||||
});
|
||||
StationBoardAcSR.current?.hide();
|
||||
}}
|
||||
oLP={() => {
|
||||
Linking.openURL(
|
||||
currentStation[0].JrHpUrl.replace("/index.html", "/") +
|
||||
"/kounai_map.html"
|
||||
);
|
||||
}}
|
||||
uri={currentStation[0].JrHpUrl.replace("/index.html", "/")}
|
||||
/>
|
||||
)}
|
||||
{currentStation && (
|
||||
<View style={{ flexDirection: "row" }}>
|
||||
{!currentStation[0].JrHpUrl || (
|
||||
@@ -53,7 +138,14 @@ export const StationDeteilView = (props) => {
|
||||
backgroundColor={"#AD7FA8"}
|
||||
icon={<Foundation name="web" color="white" size={50} />}
|
||||
flex={1}
|
||||
onPressButton={() =>
|
||||
onPressButton={() => {
|
||||
navigate("howto", {
|
||||
info: currentStation[0].JrHpUrl,
|
||||
onExit,
|
||||
});
|
||||
StationBoardAcSR.current?.hide();
|
||||
}}
|
||||
onLongPressButton={() =>
|
||||
Linking.openURL(currentStation[0].JrHpUrl)
|
||||
}
|
||||
>
|
||||
@@ -65,7 +157,14 @@ export const StationDeteilView = (props) => {
|
||||
backgroundColor={"#8F5902"}
|
||||
icon={<FontAwesome name="table" color="white" size={50} />}
|
||||
flex={1}
|
||||
onPressButton={() =>
|
||||
onPressButton={() => {
|
||||
navigate("howto", {
|
||||
info,
|
||||
onExit,
|
||||
});
|
||||
StationBoardAcSR.current?.hide();
|
||||
}}
|
||||
onLongPressButton={() =>
|
||||
Linking.openURL(currentStation[0].StationTimeTable)
|
||||
}
|
||||
>
|
||||
@@ -81,7 +180,24 @@ export const StationDeteilView = (props) => {
|
||||
Linking.openURL(currentStation[0].StationMap)
|
||||
}
|
||||
>
|
||||
GoogleMap
|
||||
Map
|
||||
</TicketBox>
|
||||
)}
|
||||
{!trainBus || (
|
||||
<TicketBox
|
||||
backgroundColor={"#CE5C00"}
|
||||
icon={<Ionicons name="bus" color="white" size={50} />}
|
||||
flex={1}
|
||||
onPressButton={() => {
|
||||
navigate("howto", {
|
||||
info: trainBus.address,
|
||||
onExit,
|
||||
});
|
||||
StationBoardAcSR.current?.hide();
|
||||
}}
|
||||
onLongPressButton={() => Linking.openURL(trainBus.address)}
|
||||
>
|
||||
並行バス
|
||||
</TicketBox>
|
||||
)}
|
||||
</View>
|
||||
@@ -91,3 +207,286 @@ export const StationDeteilView = (props) => {
|
||||
</ActionSheet>
|
||||
);
|
||||
};
|
||||
|
||||
const StationName = (props) => {
|
||||
const { stringData, ss } = props;
|
||||
return (
|
||||
<View style={ss}>
|
||||
<Text style={styleSheet.下枠駅名}>{stringData.Station_JP}</Text>
|
||||
<Text style={styleSheet.下枠駅名}>{stringData.Station_EN}</Text>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
const NexPreStationLine = ({
|
||||
currentStation,
|
||||
originalStationList,
|
||||
oP,
|
||||
favoriteStation,
|
||||
setFavoriteStation,
|
||||
}) => {
|
||||
const [preStation, setPreStation] = useState();
|
||||
const [nexStation, setNexStation] = useState();
|
||||
const [lineName, setLineName] = useState();
|
||||
|
||||
useEffect(() => {
|
||||
getPreNextStation(currentStation);
|
||||
}, [currentStation]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!currentStation) return () => {};
|
||||
getPreNextStation(currentStation);
|
||||
}, []);
|
||||
const getPreNextStation = (now) => {
|
||||
const lineList = [
|
||||
"予讃線(高松-松山間)[Y]",
|
||||
"予讃線(松山-宇和島間)[U]",
|
||||
"予讃線/愛ある伊予灘線(向井原-伊予大洲間)[S]",
|
||||
"土讃線(多度津-高知間)[D]",
|
||||
"土讃線(高知-窪川間)[K]",
|
||||
"高徳線(高松-徳島間)[T]",
|
||||
"徳島線(徳島-阿波池田)[B]",
|
||||
"鳴門線(池谷-鳴門間)[N]",
|
||||
"瀬戸大橋線(宇多津-児島間)[M]",
|
||||
];
|
||||
let returnData;
|
||||
lineList.forEach((d) => {
|
||||
let cache = originalStationList[d].findIndex(
|
||||
(data) => data.StationNumber == now.StationNumber
|
||||
);
|
||||
if (cache != -1) {
|
||||
returnData = [
|
||||
originalStationList[d][cache - 1],
|
||||
originalStationList[d][cache + 1],
|
||||
d,
|
||||
];
|
||||
}
|
||||
});
|
||||
setPreStation(returnData[0]);
|
||||
setNexStation(returnData[1]);
|
||||
setLineName(returnData[2]);
|
||||
};
|
||||
return (
|
||||
<View
|
||||
style={{
|
||||
height: 50,
|
||||
backgroundColor: lineName
|
||||
? lineColorList[lineName.split("[")[1].replace("]", "")]
|
||||
: "red",
|
||||
flexDirection: "row",
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
}}
|
||||
>
|
||||
<View style={styleSheet.下枠フレーム}>
|
||||
{preStation ? (
|
||||
<>
|
||||
<Text style={styleSheet.下枠左右マーク}>◀</Text>
|
||||
{preStation.StationNumber ? (
|
||||
<View style={styleSheet.下枠駅ナンバー}>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{
|
||||
fontSize: parseInt("10%"),
|
||||
color: "white",
|
||||
}}
|
||||
>
|
||||
{preStation.StationNumber}
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</View>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
<StationName
|
||||
stringData={preStation}
|
||||
ss={{ flex: 1, alignItems: "flex-start" }}
|
||||
/>
|
||||
</>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
</View>
|
||||
|
||||
<Text
|
||||
style={{
|
||||
fontSize: parseInt("10%"),
|
||||
color: "white",
|
||||
textAlign: "center",
|
||||
}}
|
||||
>
|
||||
{lineName &&
|
||||
lineName
|
||||
.split("(")
|
||||
.map((d, index) => (index == 1 ? "(" + d : d))
|
||||
.join("\n")}
|
||||
</Text>
|
||||
<View style={styleSheet.下枠フレーム}>
|
||||
{nexStation ? (
|
||||
<>
|
||||
<StationName
|
||||
stringData={nexStation}
|
||||
ss={{ flex: 1, alignItems: "flex-end" }}
|
||||
/>
|
||||
{nexStation.StationNumber ? (
|
||||
<View style={styleSheet.下枠駅ナンバー}>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text style={{ fontSize: parseInt("15%"), color: "white" }}>
|
||||
{nexStation.StationNumber}
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</View>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
<Text style={styleSheet.下枠左右マーク}>▶</Text>
|
||||
</>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
const 駅構内図 = (props) => {
|
||||
const [open, setOpen] = useState(false);
|
||||
return (
|
||||
<>
|
||||
<TouchableOpacity
|
||||
style={{
|
||||
height: 50,
|
||||
backgroundColor: "#888A85",
|
||||
flexDirection: "column",
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
margin: 2,
|
||||
}}
|
||||
onPress={props.oP}
|
||||
onLongPress={props.oLP}
|
||||
//onPress={() => setOpen(!open)}
|
||||
>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{
|
||||
color: "white",
|
||||
textAlign: "center",
|
||||
textAlignVertical: "center",
|
||||
flex: 1,
|
||||
}}
|
||||
>
|
||||
{open ? "駅構内図を非表示" : "駅構内図を表示"}
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</TouchableOpacity>
|
||||
<View>
|
||||
{open && (
|
||||
<>
|
||||
<AutoHeightImage
|
||||
source={{ uri: props.uri + "images/kounai.gif" }}
|
||||
resizeMode="contain"
|
||||
width={wp("100%")}
|
||||
/>
|
||||
<AutoHeightImage
|
||||
source={{ uri: props.uri + "images/kounai.png" }}
|
||||
resizeMode="contain"
|
||||
width={wp("100%")}
|
||||
/>
|
||||
<AutoHeightImage
|
||||
source={{ uri: props.uri + "images/kounai_1f.gif" }}
|
||||
resizeMode="contain"
|
||||
width={wp("100%")}
|
||||
/>
|
||||
<AutoHeightImage
|
||||
source={{ uri: props.uri + "images/kounai_2f.png" }}
|
||||
resizeMode="contain"
|
||||
width={wp("100%")}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</View>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
const styleSheet = {
|
||||
外枠: {
|
||||
width: wp("80%"),
|
||||
height: (wp("80%") / 20) * 9,
|
||||
borderColor: "#2E94BB",
|
||||
borderWidth: 1,
|
||||
backgroundColor: "white",
|
||||
},
|
||||
下帯: {
|
||||
position: "absolute",
|
||||
bottom: "0%",
|
||||
left: "0%",
|
||||
width: "100%",
|
||||
height: "30%",
|
||||
backgroundColor: "#2E94BB",
|
||||
},
|
||||
JRStyle: {
|
||||
position: "absolute",
|
||||
top: "2%",
|
||||
left: "2%",
|
||||
fontWeight: "bold",
|
||||
fontSize: parseInt("30%"),
|
||||
color: "#2E94BB",
|
||||
},
|
||||
stationNameAreaOverWrap: {
|
||||
position: "absolute",
|
||||
top: "10%",
|
||||
alignContent: "center",
|
||||
flexDirection: "row",
|
||||
},
|
||||
Station_JP: {
|
||||
fontWeight: "bold",
|
||||
fontSize: parseInt("40%"),
|
||||
color: "#005170",
|
||||
},
|
||||
Station_EN: {
|
||||
fontWeight: "bold",
|
||||
fontSize: parseInt("15%"),
|
||||
color: "#005170",
|
||||
},
|
||||
下帯内容: {
|
||||
position: "absolute",
|
||||
bottom: "0%",
|
||||
height: "30%",
|
||||
width: "100%",
|
||||
alignItems: "center",
|
||||
flexDirection: "column",
|
||||
},
|
||||
下枠フレーム: {
|
||||
flex: 1,
|
||||
flexDirection: "row",
|
||||
alignContent: "center",
|
||||
height: wp("10%"),
|
||||
},
|
||||
下枠左右マーク: {
|
||||
fontWeight: "bold",
|
||||
fontSize: parseInt("20%"),
|
||||
color: "white",
|
||||
paddingHorizontal: 10,
|
||||
textAlignVertical: "center",
|
||||
},
|
||||
下枠駅ナンバー: {
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
width: wp("8%"),
|
||||
height: wp("8%"),
|
||||
margin: wp("1%"),
|
||||
borderColor: "white",
|
||||
borderWidth: parseInt("2%"),
|
||||
borderRadius: parseInt("100%"),
|
||||
},
|
||||
下枠駅名: {
|
||||
fontWeight: "bold",
|
||||
fontSize: parseInt("15%"),
|
||||
color: "white",
|
||||
flex: 1,
|
||||
paddingHorizontal: 0,
|
||||
marginVertical: 0,
|
||||
textAlignVertical: "center",
|
||||
},
|
||||
};
|
||||
|
111
components/FavoriteList.js
Normal file
111
components/FavoriteList.js
Normal file
@@ -0,0 +1,111 @@
|
||||
import React, { Component, useRef, useState, useEffect } from "react";
|
||||
import { View, Text, TouchableOpacity, ScrollView } from "react-native";
|
||||
import { WebView } from "react-native-webview";
|
||||
import { ListItem } from "native-base";
|
||||
import Icon from "react-native-vector-icons/Entypo";
|
||||
import StatusbarDetect from "../StatusbarDetect";
|
||||
import { AS } from "../storageControl";
|
||||
import { news } from "../config/newsUpdate";
|
||||
import { getStationList, lineList } from "../lib/getStationList";
|
||||
var Status = StatusbarDetect();
|
||||
export default function FavoriteList({
|
||||
navigation,
|
||||
webview,
|
||||
stationData,
|
||||
favoriteStation,
|
||||
setFavoriteStation,
|
||||
}) {
|
||||
const { navigate } = navigation;
|
||||
|
||||
return (
|
||||
<View style={{ height: "100%", backgroundColor: "#0099CC" }}>
|
||||
<Text
|
||||
style={{
|
||||
textAlign: "center",
|
||||
fontSize: 25,
|
||||
color: "white",
|
||||
fontWeight: "bold",
|
||||
paddingVertical: 10,
|
||||
}}
|
||||
>
|
||||
位置情報クイック移動メニュー
|
||||
</Text>
|
||||
<ScrollView style={{ height: "100%", backgroundColor: "white" }}>
|
||||
{favoriteStation
|
||||
.filter((d) => d[0].StationMap)
|
||||
.map((currentStation) => {
|
||||
return (
|
||||
<ListItem
|
||||
onPress={() => {
|
||||
const getStationLine = (now) => {
|
||||
const returnData = Object.keys(stationData).filter((d) => {
|
||||
const cache = stationData[d].findIndex(
|
||||
(data) => data.Station_JP == now.Station_JP
|
||||
);
|
||||
return cache != -1;
|
||||
});
|
||||
return returnData[0];
|
||||
};
|
||||
const lineName = getStationLine(currentStation[0]);
|
||||
|
||||
webview.current?.injectJavaScript(
|
||||
`MoveDisplayStation('${lineName}_${currentStation[0].MyStation}_${currentStation[0].Station_JP}')`
|
||||
);
|
||||
navigate("Apps");
|
||||
}}
|
||||
>
|
||||
<Text style={{ fontSize: 20, flex: 2 }}>
|
||||
{currentStation
|
||||
.map((d) => d.StationNumber)
|
||||
.filter((d) => d !== null)
|
||||
.join("/")}
|
||||
</Text>
|
||||
<Text style={{ fontSize: 20, flex: 3 }}>
|
||||
{currentStation[0].Station_JP}
|
||||
</Text>
|
||||
<View
|
||||
style={{
|
||||
flex: 2,
|
||||
flexDirection: "row",
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
}}
|
||||
>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text style={{ fontSize: 20 }}>移動する</Text>
|
||||
<Icon name="chevron-right" size={20} />
|
||||
</View>
|
||||
</ListItem>
|
||||
);
|
||||
})}
|
||||
</ScrollView>
|
||||
<Text
|
||||
style={{
|
||||
backgroundColor: "white",
|
||||
borderWidth: 1,
|
||||
borderStyle: "solid",
|
||||
}}
|
||||
>
|
||||
お気に入り登録した駅のうち、位置情報システムで移動可能な駅が表示されています。タップすることで位置情報システムの当該の駅に移動します。
|
||||
</Text>
|
||||
<TouchableOpacity
|
||||
style={{
|
||||
padding: 10,
|
||||
flexDirection: "row",
|
||||
borderColor: "white",
|
||||
borderWidth: 1,
|
||||
margin: 10,
|
||||
borderRadius: 5,
|
||||
alignItems: "center",
|
||||
}}
|
||||
onPress={() => navigation.goBack()}
|
||||
>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text style={{ fontSize: 25, fontWeight: "bold", color: "white" }}>
|
||||
閉じる
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
);
|
||||
}
|
@@ -1,7 +1,14 @@
|
||||
import { TouchableOpacity, Text } from "react-native";
|
||||
|
||||
export const TicketBox = (props) => {
|
||||
const { icon, backgroundColor, flex, onPressButton, children } = props;
|
||||
const {
|
||||
icon,
|
||||
backgroundColor,
|
||||
flex,
|
||||
onPressButton,
|
||||
children,
|
||||
onLongPressButton,
|
||||
} = props;
|
||||
return (
|
||||
<TouchableOpacity
|
||||
style={{
|
||||
@@ -14,6 +21,7 @@ export const TicketBox = (props) => {
|
||||
alignItems: "center",
|
||||
}}
|
||||
onPress={onPressButton}
|
||||
onLongPress={onLongPressButton}
|
||||
>
|
||||
<Text style={{ color: "white", fontWeight: "bold", fontSize: 18 }}>
|
||||
{children}
|
||||
|
@@ -2,7 +2,6 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
switch (TrainNumber) {
|
||||
//しおかぜメイン
|
||||
//8000 ノーマル
|
||||
case "2M":
|
||||
case "4M":
|
||||
case "6M":
|
||||
case "14M":
|
||||
@@ -27,10 +26,18 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
trainNumDistance: 0,
|
||||
info: "いしづちと併結 / 8000系で運転",
|
||||
};
|
||||
case "2M":
|
||||
return {
|
||||
type: "LTDEXP",
|
||||
trainName: "しおかぜ",
|
||||
trainIcon: "http://www.trainfrontview.net/b/s8000nr.png",
|
||||
trainNumDistance: 0,
|
||||
info: "8000系で運転",
|
||||
};
|
||||
//8000 アンパン
|
||||
case "10M":
|
||||
case "22M":
|
||||
case "9M":
|
||||
case "10M":
|
||||
case "21M":
|
||||
return {
|
||||
type: "LTDEXP",
|
||||
@@ -158,22 +165,36 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
|
||||
//南風 2700ノーマル
|
||||
case "34D":
|
||||
case "58D":
|
||||
case "31D":
|
||||
case "51D":
|
||||
return {
|
||||
type: "LTDEXP",
|
||||
trainName: "南風",
|
||||
trainIcon: "http://www.trainfrontview.net/b/s2700.png",
|
||||
trainNumDistance: 30,
|
||||
info: "しまんとと併結 / 2700系で運転",
|
||||
};
|
||||
case "52D":
|
||||
case "53D":
|
||||
return {
|
||||
type: "LTDEXP",
|
||||
trainName: "南風",
|
||||
trainIcon: "http://www.trainfrontview.net/b/s2700.png",
|
||||
trainNumDistance: 30,
|
||||
info: "うずしおと併結 / 2700系で運転",
|
||||
};
|
||||
case "38D":
|
||||
case "40D":
|
||||
case "42D":
|
||||
case "46D":
|
||||
case "50D":
|
||||
case "52D":
|
||||
case "54D":
|
||||
case "58D":
|
||||
case "31D":
|
||||
case "35D":
|
||||
case "39D":
|
||||
case "41D":
|
||||
case "43D":
|
||||
case "47D":
|
||||
case "51D":
|
||||
case "53D":
|
||||
case "55D":
|
||||
return {
|
||||
type: "LTDEXP",
|
||||
@@ -182,14 +203,22 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
trainNumDistance: 30,
|
||||
info: "2700系で運転",
|
||||
};
|
||||
|
||||
//2700アンパン
|
||||
case "32D":
|
||||
case "36D":
|
||||
case "37D":
|
||||
return {
|
||||
type: "LTDEXP",
|
||||
trainName: "南風",
|
||||
trainIcon: "http://www.trainfrontview.net/f/s2700apr.png",
|
||||
trainNumDistance: 30,
|
||||
info: "うずしおと連結 / アンパンマン列車で運転",
|
||||
};
|
||||
case "32D":
|
||||
case "44D":
|
||||
case "48D":
|
||||
case "56D":
|
||||
case "33D":
|
||||
case "37D":
|
||||
case "45D":
|
||||
case "49D":
|
||||
case "57D":
|
||||
@@ -200,7 +229,6 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
trainNumDistance: 30,
|
||||
info: "アンパンマン列車で運転",
|
||||
};
|
||||
break;
|
||||
|
||||
//うずしお
|
||||
//2700
|
||||
@@ -213,7 +241,7 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
trainName: "うずしお",
|
||||
trainIcon: "http://www.trainfrontview.net/b/s2700_uzu.png",
|
||||
trainNumDistance: 5000,
|
||||
info: "南風と宇多津で併結 / 高松-宇多津間進行方向逆転 / 2700系で運転",
|
||||
info: "南風と併結 / 高松-宇多津間進行方向逆転 / 2700系で運転",
|
||||
};
|
||||
case "3002D":
|
||||
case "3004D":
|
||||
@@ -384,7 +412,9 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
case "1052D":
|
||||
case "1056D":
|
||||
case "1058D":
|
||||
case "1062D":
|
||||
case "1064D":
|
||||
case "1068D":
|
||||
case "1070D":
|
||||
case "1074D":
|
||||
case "1076D":
|
||||
@@ -392,7 +422,10 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
case "1080D":
|
||||
case "1082D":
|
||||
case "1051D":
|
||||
case "1053D":
|
||||
case "1057D":
|
||||
case "1059D":
|
||||
case "1063D":
|
||||
case "1065D":
|
||||
case "1069D":
|
||||
case "1071D":
|
||||
@@ -400,7 +433,6 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
case "1075D":
|
||||
case "1077D":
|
||||
case "1079D":
|
||||
case "1053D":
|
||||
return {
|
||||
type: "LTDEXP",
|
||||
trainName: "宇和海",
|
||||
@@ -411,14 +443,10 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
//2000 アンパン込み
|
||||
case "1054D":
|
||||
case "1060D":
|
||||
case "1062D":
|
||||
case "1066D":
|
||||
case "1068D":
|
||||
case "1072D":
|
||||
case "1055D":
|
||||
case "1057D":
|
||||
case "1061D":
|
||||
case "1063D":
|
||||
case "1067D":
|
||||
case "1081D":
|
||||
return {
|
||||
@@ -430,13 +458,9 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
};
|
||||
//しまんと
|
||||
case "2002D":
|
||||
case "2004D":
|
||||
case "2006D":
|
||||
case "2008D":
|
||||
case "2001D":
|
||||
case "2003D":
|
||||
case "2005D":
|
||||
case "2007D":
|
||||
return {
|
||||
type: "LTDEXP",
|
||||
trainName: "しまんと",
|
||||
@@ -444,6 +468,17 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
trainNumDistance: 2000,
|
||||
info: "2700系で運転",
|
||||
};
|
||||
case "2004D":
|
||||
case "2006D":
|
||||
case "2003D":
|
||||
case "2007D":
|
||||
return {
|
||||
type: "LTDEXP",
|
||||
trainName: "しまんと",
|
||||
trainIcon: "http://www.trainfrontview.net/b/s2700_smn.png",
|
||||
trainNumDistance: 2000,
|
||||
info: "南風と併結 / 2700系で運転",
|
||||
};
|
||||
|
||||
//あしずり 2000
|
||||
case "2074D":
|
||||
@@ -537,10 +572,10 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
};
|
||||
|
||||
//伊予灘ものがたり
|
||||
case "8901D":
|
||||
case "8903D":
|
||||
case "8902D":
|
||||
case "8904D":
|
||||
case "8091D":
|
||||
case "8093D":
|
||||
case "8092D":
|
||||
case "8094D":
|
||||
return {
|
||||
type: "LTDEXP",
|
||||
trainName: "伊予灘ものがたり",
|
||||
@@ -584,3 +619,37 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
break;
|
||||
}
|
||||
};
|
||||
export const getJRF = (num) => {
|
||||
switch (num) {
|
||||
case "71":
|
||||
return "東京(タ)→高松(タ)\\n";
|
||||
case "73":
|
||||
case "75":
|
||||
return "大阪(タ)→高松(タ)\\n";
|
||||
case "3079":
|
||||
return "高松(タ)→伊予三島\\n";
|
||||
case "3071":
|
||||
case "3077":
|
||||
return "高松(タ)→新居浜\\n";
|
||||
case "3073":
|
||||
return "高松(タ)→松山貨物\\n";
|
||||
case "70":
|
||||
return "高松(タ)→東京(タ)\\n";
|
||||
case "74":
|
||||
case "76":
|
||||
return "高松(タ)→大阪(タ)\\n";
|
||||
case "3078":
|
||||
return "伊予三島→高松(タ)\\n";
|
||||
case "3070":
|
||||
return "新居浜→高松(タ)\\n";
|
||||
case "3076":
|
||||
return "新居浜→高松(タ)\\n";
|
||||
case "3072":
|
||||
return "松山貨物→高松(タ)\\n";
|
||||
case "9070":
|
||||
return "臨時貨物\\n";
|
||||
default:
|
||||
JRF = true;
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
@@ -2,7 +2,7 @@ import React from "react";
|
||||
import { View, Text, TouchableOpacity } from "react-native";
|
||||
import { WebView } from "react-native-webview";
|
||||
import StatusbarDetect from "../StatusbarDetect";
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
import { AS } from "../storageControl";
|
||||
import { news } from "../config/newsUpdate";
|
||||
var Status = StatusbarDetect();
|
||||
export default function News(props) {
|
||||
@@ -30,7 +30,7 @@ export default function News(props) {
|
||||
alignItems: "center",
|
||||
}}
|
||||
onPress={() => {
|
||||
AsyncStorage.setItem("status", news);
|
||||
AS.setItem("status", news);
|
||||
navigate("Apps");
|
||||
}}
|
||||
>
|
||||
|
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from "react";
|
||||
import { View, Text, TouchableOpacity } from "react-native";
|
||||
import * as Updates from "expo-updates";
|
||||
import StatusbarDetect from "../StatusbarDetect";
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
import { AS } from "../storageControl";
|
||||
var Status = StatusbarDetect();
|
||||
import { Switch } from "react-native-elements";
|
||||
|
||||
@@ -13,10 +13,14 @@ export default function Setting(props) {
|
||||
const [iconSetting, setIconSetting] = useState(undefined);
|
||||
const [mapSwitch, setMapSwitch] = useState(undefined);
|
||||
const [stationMenu, setStationMenu] = useState(undefined);
|
||||
const [trainMenu, setTrainMenu] = useState(undefined);
|
||||
const [trainPosition, setTrainPosition] = useState(undefined);
|
||||
useEffect(() => {
|
||||
AsyncStorage.getItem("iconSwitch").then(setIconSetting);
|
||||
AsyncStorage.getItem("mapSwitch").then(setMapSwitch);
|
||||
AsyncStorage.getItem("stationSwitch").then(setStationMenu);
|
||||
AS.getItem("iconSwitch").then(setIconSetting);
|
||||
AS.getItem("mapSwitch").then(setMapSwitch);
|
||||
AS.getItem("stationSwitch").then(setStationMenu);
|
||||
AS.getItem("trainSwitch").then(setTrainMenu);
|
||||
AS.getItem("trainPositionSwitch").then(setTrainPosition);
|
||||
}, []);
|
||||
return (
|
||||
<View style={{ height: "100%", backgroundColor: "#0099CC" }}>
|
||||
@@ -83,7 +87,7 @@ export default function Setting(props) {
|
||||
textAlignVertical: "center",
|
||||
}}
|
||||
>
|
||||
駅メニューを表示(beta)
|
||||
駅メニューを表示
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Switch
|
||||
@@ -102,7 +106,45 @@ export default function Setting(props) {
|
||||
textAlignVertical: "center",
|
||||
}}
|
||||
>
|
||||
内部バージョン: 4.4.2.3
|
||||
列車メニュー
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Switch
|
||||
value={trainMenu == "true" ? true : false}
|
||||
color={trainMenu == "true" ? "red" : null}
|
||||
onValueChange={(value) => setTrainMenu(value.toString())}
|
||||
/>
|
||||
</View>
|
||||
<View style={{ flexDirection: "row", padding: 10 }}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 25,
|
||||
alignItems: "center",
|
||||
alignContent: "center",
|
||||
textAlign: "center",
|
||||
textAlignVertical: "center",
|
||||
}}
|
||||
>
|
||||
→列車現在位置表示(alpha)
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Switch
|
||||
value={trainPosition == "true" ? true : false}
|
||||
color={trainPosition == "true" ? "red" : null}
|
||||
onValueChange={(value) => setTrainPosition(value.toString())}
|
||||
/>
|
||||
</View>
|
||||
<View style={{ flexDirection: "row", padding: 10 }}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 25,
|
||||
alignItems: "center",
|
||||
alignContent: "center",
|
||||
textAlign: "center",
|
||||
textAlignVertical: "center",
|
||||
}}
|
||||
>
|
||||
内部バージョン: 4.5 beta-2
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</View>
|
||||
@@ -134,9 +176,11 @@ export default function Setting(props) {
|
||||
}}
|
||||
onPress={() => {
|
||||
Promise.all([
|
||||
AsyncStorage.setItem("iconSwitch", iconSetting.toString()),
|
||||
AsyncStorage.setItem("mapSwitch", mapSwitch.toString()),
|
||||
AsyncStorage.setItem("stationSwitch", stationMenu.toString()),
|
||||
AS.setItem("iconSwitch", iconSetting.toString()),
|
||||
AS.setItem("mapSwitch", mapSwitch.toString()),
|
||||
AS.setItem("stationSwitch", stationMenu.toString()),
|
||||
AS.setItem("trainSwitch", trainMenu.toString()),
|
||||
AS.setItem("trainPositionSwitch", trainPosition.toString()),
|
||||
]).then(() => {
|
||||
Updates.reloadAsync();
|
||||
});
|
||||
|
@@ -1,22 +1,11 @@
|
||||
import React, { useState, useEffect, useRef } from "react";
|
||||
import React, { useRef } from "react";
|
||||
import { View, Text, TouchableOpacity, Linking } from "react-native";
|
||||
import { WebView } from "react-native-webview";
|
||||
import StatusbarDetect from "../StatusbarDetect";
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
import MapView, { Marker, Geojson, PROVIDER_GOOGLE } from "react-native-maps";
|
||||
import {
|
||||
FontAwesome,
|
||||
Fontisto,
|
||||
Foundation,
|
||||
Ionicons,
|
||||
MaterialCommunityIcons,
|
||||
} from "@expo/vector-icons";
|
||||
var Status = StatusbarDetect();
|
||||
export default function trainMenu({
|
||||
route: {
|
||||
params: { webview, stationData },
|
||||
},
|
||||
import MapView, { Marker } from "react-native-maps";
|
||||
import { MaterialCommunityIcons } from "@expo/vector-icons";
|
||||
export default function TrainMenu({
|
||||
navigation: { navigate },
|
||||
webview,
|
||||
stationData,
|
||||
}) {
|
||||
const mapRef = useRef();
|
||||
return (
|
||||
@@ -54,7 +43,6 @@ export default function trainMenu({
|
||||
longitude: parseFloat(latlng[1]),
|
||||
}}
|
||||
onPress={() => {
|
||||
console.log(stationData);
|
||||
webview.current?.injectJavaScript(
|
||||
`MoveDisplayStation('${d}_${D.MyStation}_${D.Station_JP}')`
|
||||
);
|
||||
@@ -70,7 +58,11 @@ export default function trainMenu({
|
||||
backgroundColor={"#F89038"}
|
||||
icon="train-car"
|
||||
flex={1}
|
||||
onPressButton={() => navigate("howto")}
|
||||
onPressButton={() =>
|
||||
navigate("howto", {
|
||||
info: "https://train.jr-shikoku.co.jp/usage.htm",
|
||||
})
|
||||
}
|
||||
>
|
||||
使い方
|
||||
</UsefulBox>
|
||||
@@ -78,12 +70,7 @@ export default function trainMenu({
|
||||
backgroundColor={"#EA4752"}
|
||||
icon="star"
|
||||
flex={1}
|
||||
onPressButton={() =>
|
||||
/* Linking.openURL(
|
||||
"https://www.jr-shikoku.co.jp/01_trainbus/jikoku/sp/#mainprice-box"
|
||||
) */
|
||||
alert("お気に入り駅登録機能は現在開発中です!レイアウト募集中!")
|
||||
}
|
||||
onPressButton={() => navigate("favoriteList")}
|
||||
>
|
||||
お気に入り
|
||||
</UsefulBox>
|
||||
@@ -110,10 +97,7 @@ export default function trainMenu({
|
||||
borderRadius: 5,
|
||||
alignItems: "center",
|
||||
}}
|
||||
onPress={() => {
|
||||
AsyncStorage.setItem("status", "2022/04/14");
|
||||
navigate("Apps");
|
||||
}}
|
||||
onPress={() => navigate("Apps")}
|
||||
>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text style={{ fontSize: 25, fontWeight: "bold", color: "white" }}>
|
||||
|
@@ -1,20 +1,16 @@
|
||||
import React, { Component, useRef, useState, useEffect } from "react";
|
||||
import {
|
||||
StatusBar,
|
||||
View,
|
||||
LayoutAnimation,
|
||||
ScrollView,
|
||||
Linking,
|
||||
Text,
|
||||
TouchableOpacity,
|
||||
} from "react-native";
|
||||
import React, { useState, useEffect } from "react";
|
||||
import { View, Text, TouchableOpacity } from "react-native";
|
||||
import { Switch } from "react-native-elements";
|
||||
import {
|
||||
widthPercentageToDP as wp,
|
||||
heightPercentageToDP as hp,
|
||||
} from "react-native-responsive-screen";
|
||||
import { widthPercentageToDP as wp } from "react-native-responsive-screen";
|
||||
import LottieView from "lottie-react-native";
|
||||
import { Ionicons, MaterialCommunityIcons } from "@expo/vector-icons";
|
||||
import { customTrainDataDetector } from "../custom-train-data";
|
||||
import { useInterval } from "../../lib/useInterval";
|
||||
import { objectIsEmpty } from "../../lib/objectIsEmpty";
|
||||
import { getTrainType } from "../../lib/getTrainType";
|
||||
import { HeaderConfig } from "../../lib/HeaderConfig";
|
||||
import { getTrainDelayStatus } from "../../lib/getTrainDelayStatus";
|
||||
import { checkDuplicateTrainData } from "../../lib/checkDuplicateTrainData";
|
||||
|
||||
let diagramData = undefined;
|
||||
|
||||
@@ -48,71 +44,80 @@ let diagramData = undefined;
|
||||
* 9062D 四国まんなか千年ものがたり(臨時?)
|
||||
*/
|
||||
export default function LED_vision(props) {
|
||||
const HeaderConfig = {
|
||||
headers: {
|
||||
referer: "https://train.jr-shikoku.co.jp/sp.html",
|
||||
},
|
||||
};
|
||||
const [trainDiagram, setTrainDiagram] = useState(null);
|
||||
const [stationDiagram, setStationDiagram] = useState(null);
|
||||
const [currentTrain, setCurrentTrain] = useState(null);
|
||||
const {
|
||||
station,
|
||||
setTrainInfo,
|
||||
EachTrainInfoAsSR,
|
||||
trainDiagram,
|
||||
currentTrainState,
|
||||
currentTrainLoadingState,
|
||||
getCurrentTrain,
|
||||
} = props;
|
||||
const { currentTrain, setCurrentTrain } = currentTrainState;
|
||||
const { currentTrainLoading, setCurrentTrainLoading } =
|
||||
currentTrainLoadingState;
|
||||
const [stationDiagram, setStationDiagram] = useState({}); //当該駅の全時刻表
|
||||
const [finalSwitch, setFinalSwitch] = useState(false);
|
||||
const [trainIDSwitch, setTrainIDSwitch] = useState(false);
|
||||
const [trainDescriptionSwitch, setTrainDescriptionSwitch] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
fetch(
|
||||
"https://train.jr-shikoku.co.jp/g?arg1=station&arg2=traintimeinfo&arg3=dia",
|
||||
HeaderConfig
|
||||
)
|
||||
.then((response) => response.text())
|
||||
.then((d) => {
|
||||
const val = d.replace("[\r\n", "").split(",\r\n");
|
||||
let trainDiagram = {};
|
||||
val.forEach((element) => {
|
||||
try {
|
||||
let data = JSON.parse(element);
|
||||
Object.keys(data).forEach((key) => (trainDiagram[key] = data[key]));
|
||||
} catch (e) {}
|
||||
});
|
||||
setTrainDiagram(trainDiagram);
|
||||
return trainDiagram;
|
||||
})
|
||||
.then((trainDiagram) => {
|
||||
let returnData = {};
|
||||
if (!trainDiagram) {
|
||||
setStationDiagram(returnData);
|
||||
return;
|
||||
}
|
||||
Object.keys(trainDiagram).forEach((key) => {
|
||||
if (trainDiagram[key].match(props.station.Station_JP)) {
|
||||
returnData[key] = trainDiagram[key];
|
||||
}
|
||||
});
|
||||
setStationDiagram(returnData);
|
||||
});
|
||||
}, []);
|
||||
|
||||
const getTime = () => {
|
||||
const returnData = [];
|
||||
Object.keys(stationDiagram).forEach((d) => {
|
||||
let a = {};
|
||||
stationDiagram[d].split("#").forEach((data) => {
|
||||
if (data.match("着")) {
|
||||
a.lastStation = data.split(",着,")[0];
|
||||
}
|
||||
if (data.match(props.station.Station_JP)) {
|
||||
if (data.match(",発,")) {
|
||||
a.time = data.split(",発,")[1];
|
||||
} else {
|
||||
a.time = data.split(",着,")[1];
|
||||
a.lastStation = "当駅止";
|
||||
}
|
||||
}
|
||||
});
|
||||
returnData.push({ train: d, time: a.time, lastStation: a.lastStation });
|
||||
// 現在の駅に停車するダイヤを作成する副作用[列車ダイヤと現在駅情報]
|
||||
if (!trainDiagram) {
|
||||
setStationDiagram({});
|
||||
return;
|
||||
}
|
||||
let returnData = {};
|
||||
Object.keys(trainDiagram).forEach((key) => {
|
||||
if (trainDiagram[key].match(station.Station_JP + ",")) {
|
||||
returnData[key] = trainDiagram[key];
|
||||
}
|
||||
});
|
||||
setStationDiagram(returnData);
|
||||
}, [trainDiagram, station]);
|
||||
|
||||
const [trainTimeAndNumber, setTrainTimeAndNumber] = useState(null);
|
||||
|
||||
useEffect(() => {
|
||||
//現在の駅に停車する列車から時刻を切り出してLEDベースにフォーマット
|
||||
if (objectIsEmpty(stationDiagram)) return () => {};
|
||||
const getTimeData = getTime(stationDiagram, station);
|
||||
setTrainTimeAndNumber(getTimeData);
|
||||
}, [stationDiagram]);
|
||||
|
||||
const [selectedTrain, setSelectedTrain] = useState([]);
|
||||
useEffect(() => {
|
||||
if (!trainTimeAndNumber) return () => {};
|
||||
if (!currentTrain) return () => {};
|
||||
const data = trainTimeAndNumber
|
||||
.filter((d) => currentTrain.map((m) => m.num).includes(d.train))
|
||||
.filter(timeFiltering)
|
||||
.filter((d) => !!finalSwitch || d.lastStation != "当駅止");
|
||||
setSelectedTrain(data);
|
||||
}, [trainTimeAndNumber, currentTrain, finalSwitch]);
|
||||
|
||||
const getTime = (stationDiagram, station) => {
|
||||
const returnData = Object.keys(stationDiagram).map((trainNum) => {
|
||||
let trainData = {};
|
||||
stationDiagram[trainNum].split("#").forEach((data) => {
|
||||
if (data.match("着")) {
|
||||
trainData.lastStation = data.split(",着,")[0];
|
||||
}
|
||||
if (data.split(",")[0] === station.Station_JP) {
|
||||
if (data.match(",発,")) {
|
||||
trainData.time = data.split(",発,")[1];
|
||||
} else {
|
||||
trainData.time = data.split(",着,")[1];
|
||||
trainData.lastStation = "当駅止";
|
||||
}
|
||||
}
|
||||
});
|
||||
return {
|
||||
train: trainNum,
|
||||
time: trainData.time,
|
||||
lastStation: trainData.lastStation,
|
||||
};
|
||||
});
|
||||
return returnData.sort((a, b) => {
|
||||
switch (true) {
|
||||
case parseInt(a.time.split(":")[0]) < parseInt(b.time.split(":")[0]):
|
||||
@@ -126,19 +131,6 @@ export default function LED_vision(props) {
|
||||
}
|
||||
});
|
||||
};
|
||||
const trainTimeAndNumber = stationDiagram != null ? getTime() : null;
|
||||
const getCurrentTrain = () =>
|
||||
fetch(
|
||||
"https://train.jr-shikoku.co.jp/g?arg1=train&arg2=train",
|
||||
HeaderConfig
|
||||
)
|
||||
.then((response) => response.json())
|
||||
.then((d) => d.map((x) => ({ num: x.TrainNum, delay: x.delay })))
|
||||
.then(setCurrentTrain);
|
||||
|
||||
useEffect(getCurrentTrain, []);
|
||||
|
||||
useInterval(getCurrentTrain, 15000);
|
||||
|
||||
const timeFiltering = (d) => {
|
||||
const date = new Date();
|
||||
@@ -156,6 +148,7 @@ export default function LED_vision(props) {
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
return (
|
||||
<View
|
||||
style={{
|
||||
@@ -166,206 +159,283 @@ export default function LED_vision(props) {
|
||||
marginHorizontal: wp("1%"),
|
||||
}}
|
||||
>
|
||||
<View
|
||||
style={{
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
width: "100%",
|
||||
marginVertical: 10,
|
||||
flexDirection: "row",
|
||||
}}
|
||||
>
|
||||
<View style={{ flex: 1 }}></View>
|
||||
<View style={{}}>
|
||||
<Text style={{ fontSize: 25, color: "white", fontWeight: "bold" }}>
|
||||
次の列車
|
||||
</Text>
|
||||
<Text style={{ fontSize: 15, color: "white" }}>Next Train</Text>
|
||||
</View>
|
||||
<View style={{ flex: 1 }}></View>
|
||||
</View>
|
||||
{trainTimeAndNumber
|
||||
? currentTrain &&
|
||||
trainTimeAndNumber
|
||||
.filter((d) => currentTrain.map((m) => m.num).includes(d.train))
|
||||
.filter(timeFiltering)
|
||||
.filter((d) => !!finalSwitch || d.lastStation != "当駅止")
|
||||
.map((d, index) => {
|
||||
const train = customTrainDataDetector(d.train);
|
||||
return [
|
||||
<View
|
||||
style={{
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
width: "94%",
|
||||
marginVertical: 5,
|
||||
marginHorizontal: "3%",
|
||||
backgroundColor: "#000",
|
||||
flexDirection: "row",
|
||||
}}
|
||||
>
|
||||
<View style={{ flex: 9 }}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: train.trainName.length > 6 ? 15 : 20,
|
||||
color: (() => {
|
||||
switch (train.type) {
|
||||
case "Rapid":
|
||||
return "aqua";
|
||||
case "LTDEXP":
|
||||
return "red";
|
||||
case "NightLTDEXP":
|
||||
return "red";
|
||||
case "Normal":
|
||||
return "white";
|
||||
}
|
||||
})(),
|
||||
fontWeight: "bold",
|
||||
}}
|
||||
>
|
||||
{trainIDSwitch
|
||||
? d.train
|
||||
: (() => {
|
||||
switch (train.type) {
|
||||
case "Rapid":
|
||||
return "快速";
|
||||
case "LTDEXP":
|
||||
return "特急";
|
||||
case "NightLTDEXP":
|
||||
return "寝台特急";
|
||||
case "Normal":
|
||||
return "普通列車";
|
||||
}
|
||||
})() +
|
||||
" " +
|
||||
train.trainName +
|
||||
(train.trainNumDistance == undefined
|
||||
? ""
|
||||
: parseInt(
|
||||
d.train.replace("M", "").replace("D", "")
|
||||
) -
|
||||
train.trainNumDistance +
|
||||
"号")}
|
||||
</Text>
|
||||
</View>
|
||||
<View style={{ flex: 4, flexDirection: "row" }}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: d.lastStation.length > 4 ? 15 : 20,
|
||||
color: "white",
|
||||
fontWeight: "bold",
|
||||
}}
|
||||
>
|
||||
{d.lastStation}
|
||||
</Text>
|
||||
</View>
|
||||
<View style={{ flex: 3 }}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 20,
|
||||
color: "white",
|
||||
fontWeight: "bold",
|
||||
}}
|
||||
>
|
||||
{d.time}
|
||||
</Text>
|
||||
</View>
|
||||
<View style={{ flex: 4 }}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 20,
|
||||
color: "white",
|
||||
fontWeight: "bold",
|
||||
}}
|
||||
>
|
||||
{(() => {
|
||||
const delay = currentTrain.filter(
|
||||
(a) => a.num == d.train
|
||||
)[0].delay;
|
||||
switch (true) {
|
||||
case isNaN(delay):
|
||||
return delay;
|
||||
case delay == 0:
|
||||
return "定刻通り";
|
||||
default:
|
||||
return delay + "分遅れ";
|
||||
}
|
||||
})()}
|
||||
</Text>
|
||||
</View>
|
||||
</View>,
|
||||
trainDescriptionSwitch && !!train.info && (
|
||||
<View
|
||||
style={{
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
width: "94%",
|
||||
marginVertical: 5,
|
||||
marginHorizontal: "3%",
|
||||
backgroundColor: "#000",
|
||||
flexDirection: "row",
|
||||
}}
|
||||
>
|
||||
<View style={{ flex: 4 }}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 20,
|
||||
color: "green",
|
||||
fontWeight: "bold",
|
||||
}}
|
||||
>
|
||||
{" "}
|
||||
> {train.info}
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
),
|
||||
];
|
||||
})
|
||||
: null}
|
||||
<View style={{ flexDirection: "row", padding: 10 }}>
|
||||
<Text
|
||||
style={{
|
||||
alignItems: "center",
|
||||
alignContent: "center",
|
||||
textAlign: "center",
|
||||
textAlignVertical: "center",
|
||||
color: "white",
|
||||
}}
|
||||
>
|
||||
種別名 / 列番
|
||||
</Text>
|
||||
<Switch value={trainIDSwitch} onValueChange={setTrainIDSwitch} />
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{
|
||||
alignItems: "center",
|
||||
alignContent: "center",
|
||||
textAlign: "center",
|
||||
textAlignVertical: "center",
|
||||
color: "white",
|
||||
}}
|
||||
>
|
||||
列車情報
|
||||
</Text>
|
||||
<Switch
|
||||
value={trainDescriptionSwitch}
|
||||
onValueChange={setTrainDescriptionSwitch}
|
||||
<Header
|
||||
currentTrainLoading={currentTrainLoading}
|
||||
setCurrentTrainLoading={setCurrentTrainLoading}
|
||||
getCurrentTrain={getCurrentTrain}
|
||||
/>
|
||||
{selectedTrain.map((d, index) => (
|
||||
<EachData
|
||||
d={d}
|
||||
trainIDSwitch={trainIDSwitch}
|
||||
trainDescriptionSwitch={trainDescriptionSwitch}
|
||||
station={station}
|
||||
currentTrain={currentTrain}
|
||||
customTrainDataDetector={customTrainDataDetector}
|
||||
setTrainInfo={setTrainInfo}
|
||||
EachTrainInfoAsSR={EachTrainInfoAsSR}
|
||||
/>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{
|
||||
alignItems: "center",
|
||||
alignContent: "center",
|
||||
textAlign: "center",
|
||||
textAlignVertical: "center",
|
||||
color: "white",
|
||||
}}
|
||||
>
|
||||
当駅止表示
|
||||
</Text>
|
||||
<Switch value={finalSwitch} onValueChange={setFinalSwitch} />
|
||||
</View>
|
||||
))}
|
||||
<Footer
|
||||
trainIDSwitch={trainIDSwitch}
|
||||
setTrainIDSwitch={setTrainIDSwitch}
|
||||
trainDescriptionSwitch={trainDescriptionSwitch}
|
||||
setTrainDescriptionSwitch={setTrainDescriptionSwitch}
|
||||
finalSwitch={finalSwitch}
|
||||
setFinalSwitch={setFinalSwitch}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
const Header = ({
|
||||
currentTrainLoading,
|
||||
setCurrentTrainLoading,
|
||||
getCurrentTrain,
|
||||
}) => (
|
||||
<View
|
||||
style={{
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
width: "100%",
|
||||
marginVertical: 10,
|
||||
flexDirection: "row",
|
||||
}}
|
||||
>
|
||||
<View style={{ flex: 1 }}></View>
|
||||
<View style={{}}>
|
||||
<Text style={{ fontSize: 25, color: "white", fontWeight: "bold" }}>
|
||||
次の列車
|
||||
</Text>
|
||||
<Text style={{ fontSize: 15, color: "white" }}>Next Train</Text>
|
||||
</View>
|
||||
<View style={{ flex: 1, flexDirection: "row-reverse" }}>
|
||||
{currentTrainLoading == "loading" ? (
|
||||
<LottieView
|
||||
autoPlay
|
||||
loop
|
||||
style={{ width: 40, height: 40, marginRight: 30 }}
|
||||
source={require("../../assets/51690-loading-diamonds.json")}
|
||||
/>
|
||||
) : currentTrainLoading == "error" ? (
|
||||
<Ionicons
|
||||
name="reload"
|
||||
color="white"
|
||||
size={30}
|
||||
style={{ marginRight: 30 }}
|
||||
onPress={() => {
|
||||
setCurrentTrainLoading("loading");
|
||||
getCurrentTrain();
|
||||
}}
|
||||
/>
|
||||
) : null}
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
|
||||
const Footer = (props) => {
|
||||
const {
|
||||
trainIDSwitch,
|
||||
setTrainIDSwitch,
|
||||
trainDescriptionSwitch,
|
||||
setTrainDescriptionSwitch,
|
||||
finalSwitch,
|
||||
setFinalSwitch,
|
||||
} = props;
|
||||
|
||||
const textStyle = {
|
||||
alignItems: "center",
|
||||
alignContent: "center",
|
||||
textAlign: "center",
|
||||
textAlignVertical: "center",
|
||||
color: "white",
|
||||
};
|
||||
|
||||
return (
|
||||
<View style={{ flexDirection: "row", padding: 10, alignItems: "center" }}>
|
||||
<Text style={textStyle}>種別名 / 列番</Text>
|
||||
<Switch value={trainIDSwitch} onValueChange={setTrainIDSwitch} />
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text style={textStyle}>列車情報</Text>
|
||||
<Switch
|
||||
value={trainDescriptionSwitch}
|
||||
onValueChange={setTrainDescriptionSwitch}
|
||||
/>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text style={textStyle}>当駅止表示</Text>
|
||||
<Switch value={finalSwitch} onValueChange={setFinalSwitch} />
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
const EachData = ({
|
||||
d,
|
||||
trainIDSwitch,
|
||||
trainDescriptionSwitch,
|
||||
station,
|
||||
currentTrain,
|
||||
customTrainDataDetector,
|
||||
setTrainInfo,
|
||||
EachTrainInfoAsSR,
|
||||
}) => {
|
||||
const openTrainInfo = (d) => {
|
||||
let TrainNumber = "";
|
||||
if (train.trainNumDistance != undefined) {
|
||||
const timeInfo =
|
||||
parseInt(d.train.replace("M", "").replace("D", "")) -
|
||||
train.trainNumDistance;
|
||||
TrainNumber = timeInfo + "号";
|
||||
}
|
||||
setTrainInfo({
|
||||
trainNum: d.train,
|
||||
limited: `${getTrainType(train.type).data}:${
|
||||
train.trainName
|
||||
}${TrainNumber}`,
|
||||
trainData: checkDuplicateTrainData(
|
||||
currentTrain.filter((a) => a.num == d.train)
|
||||
),
|
||||
});
|
||||
EachTrainInfoAsSR.current?.show();
|
||||
};
|
||||
const [train, setTrain] = useState(customTrainDataDetector(d.train));
|
||||
useEffect(() => {
|
||||
setTrain(customTrainDataDetector(d.train));
|
||||
}, [currentTrain, d.train, trainDescriptionSwitch]);
|
||||
// 土讃線複数存在対策
|
||||
const trainDelayStatus = getTrainDelayStatus(
|
||||
checkDuplicateTrainData(currentTrain.filter((a) => a.num == d.train)),
|
||||
station.Station_JP
|
||||
);
|
||||
return (
|
||||
<>
|
||||
<TouchableOpacity
|
||||
style={{
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
width: "94%",
|
||||
marginVertical: 5,
|
||||
marginHorizontal: "3%",
|
||||
backgroundColor: "#000",
|
||||
flexDirection: "row",
|
||||
}}
|
||||
onPress={() => openTrainInfo(d)}
|
||||
>
|
||||
<TrainName
|
||||
trainName={train.trainName}
|
||||
trainNumDistance={train.trainNumDistance}
|
||||
trainIDSwitch={trainIDSwitch}
|
||||
trainID={d.train}
|
||||
type={train.type}
|
||||
/>
|
||||
<LastStation lastStation={d.lastStation} />
|
||||
<DependTime time={d.time} />
|
||||
<StatusAndDelay trainDelayStatus={trainDelayStatus} />
|
||||
</TouchableOpacity>
|
||||
{trainDescriptionSwitch && !!train.info && (
|
||||
<Description info={train.info} />
|
||||
)}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
const TrainName = ({
|
||||
trainName,
|
||||
trainNumDistance,
|
||||
trainIDSwitch,
|
||||
trainID,
|
||||
type,
|
||||
}) => {
|
||||
const { name, color } = getTrainType(type);
|
||||
let TrainNumber =
|
||||
trainNumDistance != undefined
|
||||
? `${
|
||||
parseInt(trainID.replace("M", "").replace("D", "")) - trainNumDistance
|
||||
}号`
|
||||
: "";
|
||||
return (
|
||||
<View style={{ flex: 9 }}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: trainName.length > 6 ? parseInt("13%") : parseInt("18%"),
|
||||
color: color,
|
||||
fontWeight: "bold",
|
||||
}}
|
||||
>
|
||||
{trainIDSwitch ? trainID : `${name} ${trainName}${TrainNumber}`}
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
const LastStation = ({ lastStation }) => {
|
||||
return (
|
||||
<View style={{ flex: 4, flexDirection: "row" }}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: lastStation.length > 4 ? parseInt("13%") : parseInt("18%"),
|
||||
color: "white",
|
||||
fontWeight: "bold",
|
||||
}}
|
||||
>
|
||||
{lastStation}
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
const DependTime = ({ time }) => (
|
||||
<View style={{ flex: 3 }}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: parseInt("18%"),
|
||||
color: "white",
|
||||
fontWeight: "bold",
|
||||
}}
|
||||
>
|
||||
{time}
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
|
||||
const StatusAndDelay = ({ trainDelayStatus }) => {
|
||||
return (
|
||||
<View style={{ flex: 4 }}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: parseInt("18%"),
|
||||
color: "white",
|
||||
fontWeight: "bold",
|
||||
paddingLeft: 1,
|
||||
}}
|
||||
>
|
||||
{trainDelayStatus}
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
const Description = ({ info }) => (
|
||||
<View
|
||||
style={{
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
width: "94%",
|
||||
marginVertical: 5,
|
||||
marginHorizontal: "3%",
|
||||
backgroundColor: "#000",
|
||||
flexDirection: "row",
|
||||
}}
|
||||
>
|
||||
<View style={{ flex: 4 }}>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: parseInt("18%"),
|
||||
color: "green",
|
||||
fontWeight: "bold",
|
||||
}}
|
||||
>
|
||||
{" "}
|
||||
> {info}
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
|
@@ -12,21 +12,68 @@ import {
|
||||
widthPercentageToDP as wp,
|
||||
heightPercentageToDP as hp,
|
||||
} from "react-native-responsive-screen";
|
||||
import LottieView from "lottie-react-native";
|
||||
import { useInterval } from "../../lib/useInterval";
|
||||
import { AS } from "../../storageControl";
|
||||
|
||||
export default function Sign(props) {
|
||||
const { currentStation, originalStationList, oP } = props;
|
||||
const {
|
||||
currentStation,
|
||||
originalStationList,
|
||||
oP,
|
||||
oLP,
|
||||
favoriteStation,
|
||||
setFavoriteStation,
|
||||
} = props;
|
||||
const [nexPrePosition, setNexPrePosition] = useState(0);
|
||||
|
||||
const [preStation, setPreStation] = useState();
|
||||
const [nexStation, setNexStation] = useState();
|
||||
const [testButtonStatus, setTestButtonStatus] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
const isFavorite = favoriteStation.filter((d) => {
|
||||
const compare = JSON.stringify(d);
|
||||
const current = JSON.stringify(currentStation);
|
||||
if (compare === current) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
setTestButtonStatus(isFavorite.length != 0);
|
||||
}, [favoriteStation, currentStation]);
|
||||
|
||||
useInterval(() => {
|
||||
if (currentStation.length == 1) {
|
||||
setNexPrePosition(0);
|
||||
return () => {};
|
||||
}
|
||||
setNexPrePosition(
|
||||
nexPrePosition + 1 == currentStation.length ? 0 : nexPrePosition + 1
|
||||
);
|
||||
}, 2000);
|
||||
|
||||
useEffect(() => {
|
||||
setNexPrePosition(0);
|
||||
getPreNextStation(currentStation[0]);
|
||||
}, [currentStation]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!currentStation[nexPrePosition]) return () => {};
|
||||
getPreNextStation(currentStation[nexPrePosition]);
|
||||
}, [nexPrePosition]);
|
||||
const getPreNextStation = (now) => {
|
||||
const lineList = [
|
||||
"予讃線",
|
||||
"松宇線",
|
||||
"伊予灘線",
|
||||
"土讃線",
|
||||
"窪川線",
|
||||
"高徳線",
|
||||
"徳島線",
|
||||
"鳴門線",
|
||||
"瀬戸大橋線",
|
||||
"予讃線(高松-松山間)[Y]",
|
||||
"予讃線(松山-宇和島間)[U]",
|
||||
"予讃線/愛ある伊予灘線(向井原-伊予大洲間)[S]",
|
||||
"土讃線(多度津-高知間)[D]",
|
||||
"土讃線(高知-窪川間)[K]",
|
||||
"高徳線(高松-徳島間)[T]",
|
||||
"徳島線(徳島-阿波池田)[B]",
|
||||
"鳴門線(池谷-鳴門間)[N]",
|
||||
"瀬戸大橋線(宇多津-児島間)[M]",
|
||||
];
|
||||
let returnData;
|
||||
lineList.forEach((d) => {
|
||||
@@ -40,101 +87,163 @@ export default function Sign(props) {
|
||||
];
|
||||
}
|
||||
});
|
||||
return returnData;
|
||||
setPreStation(returnData[0]);
|
||||
setNexStation(returnData[1]);
|
||||
};
|
||||
const [nexPrePosition, setNexPrePosition] = useState(0);
|
||||
useInterval(() => {
|
||||
if (currentStation.length == 1) return;
|
||||
LayoutAnimation.easeInEaseOut();
|
||||
setNexPrePosition(
|
||||
nexPrePosition + 1 == currentStation.length ? 0 : nexPrePosition + 1
|
||||
);
|
||||
}, 2000);
|
||||
const lottieRef = useRef();
|
||||
return (
|
||||
<TouchableOpacity style={styleSheet.外枠} onPress={oP}>
|
||||
<TouchableOpacity style={styleSheet.外枠} onPress={oP} onLongPress={oLP}>
|
||||
<StationNumberMaker currentStation={currentStation} />
|
||||
<StationNameArea currentStation={currentStation} />
|
||||
<TouchableOpacity
|
||||
style={{ position: "absolute", right: -15, top: -20 }}
|
||||
onPress={() => {
|
||||
if (testButtonStatus) {
|
||||
const otherData = favoriteStation.filter((d) => {
|
||||
const compare = JSON.stringify(d);
|
||||
const current = JSON.stringify(currentStation);
|
||||
if (compare !== current) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
AS.setItem("favoriteStation", JSON.stringify(otherData));
|
||||
setFavoriteStation(otherData);
|
||||
} else {
|
||||
let ret = favoriteStation;
|
||||
ret.push(currentStation);
|
||||
AS.setItem("favoriteStation", JSON.stringify(ret));
|
||||
setFavoriteStation(ret);
|
||||
}
|
||||
setTestButtonStatus(!testButtonStatus);
|
||||
}}
|
||||
>
|
||||
<LottieDelayView
|
||||
progress={testButtonStatus ? 1 : 0}
|
||||
speed={1.4}
|
||||
style={{ width: 80, height: 80 }}
|
||||
source={require("../../assets/939-star.json")}
|
||||
lottieRef={lottieRef}
|
||||
loop={false}
|
||||
/>
|
||||
</TouchableOpacity>
|
||||
|
||||
<Text style={styleSheet.JRStyle}>JR</Text>
|
||||
<View style={styleSheet.下帯} />
|
||||
<View style={styleSheet.下帯内容}>
|
||||
{(() => {
|
||||
let [preStation, nexStation] = getPreNextStation(
|
||||
currentStation[nexPrePosition]
|
||||
);
|
||||
return (
|
||||
<View style={styleSheet.下枠フレーム}>
|
||||
<View style={styleSheet.下枠フレーム}>
|
||||
{preStation && (
|
||||
<>
|
||||
<Text style={styleSheet.下枠左右マーク}>◀</Text>
|
||||
{preStation.StationNumber && (
|
||||
<View style={styleSheet.下枠駅ナンバー}>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{
|
||||
fontSize: parseInt("10%"),
|
||||
color: "white",
|
||||
}}
|
||||
>
|
||||
{preStation.StationNumber}
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</View>
|
||||
)}
|
||||
<StationName
|
||||
stringData={preStation}
|
||||
ss={{ flex: 1, alignItems: "flex-start" }}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</View>
|
||||
<View style={styleSheet.下枠フレーム}>
|
||||
{nexStation && (
|
||||
<>
|
||||
<StationName
|
||||
stringData={nexStation}
|
||||
ss={{ flex: 1, alignItems: "flex-end" }}
|
||||
/>
|
||||
{nexStation.StationNumber && (
|
||||
<View style={styleSheet.下枠駅ナンバー}>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{ fontSize: parseInt("10%"), color: "white" }}
|
||||
>
|
||||
{nexStation.StationNumber}
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</View>
|
||||
)}
|
||||
<Text style={styleSheet.下枠左右マーク}>▶</Text>
|
||||
</>
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
})()}
|
||||
<NexPreStationLine preStation={preStation} nexStation={nexStation} />
|
||||
</View>
|
||||
</TouchableOpacity>
|
||||
);
|
||||
}
|
||||
|
||||
const LottieDelayView = ({
|
||||
progress,
|
||||
speed,
|
||||
style,
|
||||
source,
|
||||
lottieRef,
|
||||
loop,
|
||||
}) => {
|
||||
const [progressState, setProgressState] = useState(undefined);
|
||||
useEffect(() => {
|
||||
if (progress == 0) {
|
||||
lottieRef.current.play(progressState !== undefined ? 35 : 7, 7);
|
||||
} else {
|
||||
lottieRef.current.play(progressState !== undefined ? 7 : 35, 35);
|
||||
}
|
||||
}, [progress]);
|
||||
return (
|
||||
<LottieView
|
||||
progress={progressState}
|
||||
speed={speed}
|
||||
style={style}
|
||||
source={source}
|
||||
ref={lottieRef}
|
||||
loop={loop}
|
||||
onAnimationFinish={(isCanceled) => {
|
||||
setProgressState(progress);
|
||||
}}
|
||||
/>
|
||||
);
|
||||
};
|
||||
const NexPreStationLine = ({ nexStation, preStation }) => {
|
||||
return (
|
||||
<View style={styleSheet.下枠フレーム}>
|
||||
<View style={styleSheet.下枠フレーム}>
|
||||
{preStation ? (
|
||||
<>
|
||||
<Text style={styleSheet.下枠左右マーク}>◀</Text>
|
||||
{preStation.StationNumber ? (
|
||||
<View style={styleSheet.下枠駅ナンバー}>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text
|
||||
style={{
|
||||
fontSize: parseInt("10%"),
|
||||
color: "white",
|
||||
}}
|
||||
>
|
||||
{preStation.StationNumber}
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</View>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
<StationName
|
||||
stringData={preStation}
|
||||
ss={{ flex: 1, alignItems: "flex-start" }}
|
||||
/>
|
||||
</>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
</View>
|
||||
<View style={styleSheet.下枠フレーム}>
|
||||
{nexStation ? (
|
||||
<>
|
||||
<StationName
|
||||
stringData={nexStation}
|
||||
ss={{ flex: 1, alignItems: "flex-end" }}
|
||||
/>
|
||||
{nexStation.StationNumber ? (
|
||||
<View style={styleSheet.下枠駅ナンバー}>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text style={{ fontSize: parseInt("10%"), color: "white" }}>
|
||||
{nexStation.StationNumber}
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</View>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
<Text style={styleSheet.下枠左右マーク}>▶</Text>
|
||||
</>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
const StationNumberMaker = (props) => {
|
||||
const getTop = (array, index) => {
|
||||
if (array.length == 1) return 20;
|
||||
else if (index == 0) return 5;
|
||||
else if (index == 1) return 35;
|
||||
else return 20;
|
||||
};
|
||||
return props.currentStation
|
||||
.filter((d) => (d.StationNumber ? true : false))
|
||||
.map((d, index, array) => (
|
||||
<View
|
||||
key={d + index}
|
||||
style={{
|
||||
position: "absolute",
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
top:
|
||||
(() => {
|
||||
if (array.length == 1) return 20;
|
||||
else if (index == 0) return 5;
|
||||
else if (index == 1) return 35;
|
||||
else return 20;
|
||||
})() + "%",
|
||||
top: getTop(array, index) + "%",
|
||||
right: "10%",
|
||||
width: wp("10%"),
|
||||
height: wp("10%"),
|
||||
@@ -185,8 +294,7 @@ const styleSheet = {
|
||||
height: (wp("80%") / 20) * 9,
|
||||
borderColor: "#2E94BB",
|
||||
borderWidth: 1,
|
||||
margin: 10,
|
||||
marginHorizontal: wp("10%"),
|
||||
backgroundColor: "white",
|
||||
},
|
||||
下帯: {
|
||||
position: "absolute",
|
||||
@@ -232,6 +340,7 @@ const styleSheet = {
|
||||
flex: 1,
|
||||
flexDirection: "row",
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
},
|
||||
下枠左右マーク: {
|
||||
fontWeight: "bold",
|
||||
|
@@ -1 +1 @@
|
||||
export const news = "2022-9-30";
|
||||
export const news = "2023-7-16";
|
||||
|
6
eas.json
6
eas.json
@@ -15,6 +15,12 @@
|
||||
},
|
||||
"production": {
|
||||
"releaseChannel": "aliexpress"
|
||||
},
|
||||
"beta4.5": {
|
||||
"releaseChannel": "base"
|
||||
},
|
||||
"production4.5": {
|
||||
"releaseChannel": "buyma"
|
||||
}
|
||||
},
|
||||
"submit": {
|
||||
|
54
howto.js
54
howto.js
@@ -2,29 +2,31 @@ const WEBVIEW = "WEBVIEW";
|
||||
import React, { Component } from "react";
|
||||
import { StatusBar, View, TouchableOpacity, Text } from "react-native";
|
||||
import { WebView } from "react-native-webview";
|
||||
export default ({ navigation: { navigate } }) => (
|
||||
<View style={{ height: "100%", backgroundColor: "#0099CC" }}>
|
||||
<WebView
|
||||
useWebKit={true}
|
||||
source={{ uri: "https://train.jr-shikoku.co.jp/usage.htm" }}
|
||||
/>
|
||||
<TouchableOpacity
|
||||
style={{
|
||||
padding: 10,
|
||||
flexDirection: "row",
|
||||
borderColor: "white",
|
||||
borderWidth: 1,
|
||||
margin: 10,
|
||||
borderRadius: 5,
|
||||
alignItems: "center",
|
||||
}}
|
||||
onPress={() => navigate("Apps")}
|
||||
>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text style={{ fontSize: 25, fontWeight: "bold", color: "white" }}>
|
||||
閉じる
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
);
|
||||
export default ({ navigation: { navigate }, route }) => {
|
||||
const { info, onExit = () => navigate("Apps") } = route.params;
|
||||
|
||||
return (
|
||||
<View style={styles.View}>
|
||||
<WebView useWebKit source={{ uri: info }} />
|
||||
<TouchableOpacity style={styles.touch} onPress={onExit}>
|
||||
<View style={{ flex: 1 }} />
|
||||
<Text style={{ fontSize: 25, fontWeight: "bold", color: "white" }}>
|
||||
閉じる
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
const styles = {
|
||||
View: { height: "100%", backgroundColor: "#0099CC" },
|
||||
touch: {
|
||||
padding: 10,
|
||||
flexDirection: "row",
|
||||
borderColor: "white",
|
||||
borderWidth: 1,
|
||||
margin: 10,
|
||||
borderRadius: 5,
|
||||
alignItems: "center",
|
||||
},
|
||||
};
|
||||
|
5
lib/HeaderConfig.js
Normal file
5
lib/HeaderConfig.js
Normal file
@@ -0,0 +1,5 @@
|
||||
export const HeaderConfig = {
|
||||
headers: {
|
||||
referer: "https://train.jr-shikoku.co.jp/sp.html",
|
||||
},
|
||||
};
|
6
lib/checkDuplicateTrainData.js
Normal file
6
lib/checkDuplicateTrainData.js
Normal file
@@ -0,0 +1,6 @@
|
||||
export const checkDuplicateTrainData = (currentTrainArray) => {
|
||||
const notNyujoData = currentTrainArray.filter((d) => d.delay !== "入線");
|
||||
if (currentTrainArray.length == 1) return currentTrainArray[0];
|
||||
if (notNyujoData.length == 0) return currentTrainArray[0];
|
||||
else return notNyujoData[0];
|
||||
};
|
7
lib/getPdfViewURL.js
Normal file
7
lib/getPdfViewURL.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Platform } from "react-native";
|
||||
|
||||
export const getPDFViewURL = (url) => {
|
||||
if (Platform.OS == "ios") return url;
|
||||
else
|
||||
return `https://docs.google.com/viewer?url=${encodeURI(url)}&embedded=true`;
|
||||
};
|
@@ -18,14 +18,21 @@ import train_lang from "../assets/originData/train_lang";
|
||||
|
||||
let status = undefined;
|
||||
|
||||
export const lineList = [
|
||||
"予讃線(高松-松山間)[Y]",
|
||||
"予讃線(松山-宇和島間)[U]",
|
||||
"予讃線/愛ある伊予灘線(向井原-伊予大洲間)[S]",
|
||||
"土讃線(多度津-高知間)[D]",
|
||||
"土讃線(高知-窪川間)[K]",
|
||||
"高徳線(高松-徳島間)[T]",
|
||||
"徳島線(徳島-阿波池田)[B]",
|
||||
"鳴門線(池谷-鳴門間)[N]",
|
||||
"瀬戸大橋線(宇多津-児島間)[M]",
|
||||
];
|
||||
|
||||
export const getStationList = async (props) => {
|
||||
if (status) return status;
|
||||
//駅リストイニシャライズ
|
||||
const HeaderConfig = {
|
||||
headers: {
|
||||
referer: "https://train.jr-shikoku.co.jp/sp.html",
|
||||
},
|
||||
};
|
||||
return await Promise.all([
|
||||
yosan,
|
||||
uwajima,
|
||||
@@ -41,15 +48,15 @@ export const getStationList = async (props) => {
|
||||
]).then((values) => {
|
||||
let stationList = {};
|
||||
[
|
||||
stationList.予讃線,
|
||||
stationList.松宇線,
|
||||
stationList.伊予灘線,
|
||||
stationList.土讃線,
|
||||
stationList.窪川線,
|
||||
stationList.高徳線,
|
||||
stationList.徳島線,
|
||||
stationList.鳴門線,
|
||||
stationList.瀬戸大橋線,
|
||||
stationList["予讃線(高松-松山間)[Y]"],
|
||||
stationList["予讃線(松山-宇和島間)[U]"],
|
||||
stationList["予讃線/愛ある伊予灘線(向井原-伊予大洲間)[S]"],
|
||||
stationList["土讃線(多度津-高知間)[D]"],
|
||||
stationList["土讃線(高知-窪川間)[K]"],
|
||||
stationList["高徳線(高松-徳島間)[T]"],
|
||||
stationList["徳島線(徳島-阿波池田)[B]"],
|
||||
stationList["鳴門線(池谷-鳴門間)[N]"],
|
||||
stationList["瀬戸大橋線(宇多津-児島間)[M]"],
|
||||
stationList.駅間リスト,
|
||||
stationList.日英対応表,
|
||||
] = values;
|
||||
@@ -103,52 +110,55 @@ export const getStationList = async (props) => {
|
||||
return data;
|
||||
});
|
||||
};
|
||||
stationList.予讃線 = addStationPosition(
|
||||
concatBetweenStations(stationList.予讃線),
|
||||
stationList["予讃線(高松-松山間)[Y]"] = addStationPosition(
|
||||
concatBetweenStations(stationList["予讃線(高松-松山間)[Y]"]),
|
||||
予讃線,
|
||||
stationList.日英対応表
|
||||
);
|
||||
stationList.松宇線 = addStationPosition(
|
||||
concatBetweenStations(stationList.松宇線),
|
||||
stationList["予讃線(松山-宇和島間)[U]"] = addStationPosition(
|
||||
concatBetweenStations(stationList["予讃線(松山-宇和島間)[U]"]),
|
||||
予讃線,
|
||||
stationList.日英対応表
|
||||
);
|
||||
stationList.伊予灘線 = addStationPosition(
|
||||
concatBetweenStations(stationList.伊予灘線),
|
||||
予讃線,
|
||||
stationList.日英対応表
|
||||
);
|
||||
stationList.土讃線 = addStationPosition(
|
||||
concatBetweenStations(stationList.土讃線),
|
||||
stationList["予讃線/愛ある伊予灘線(向井原-伊予大洲間)[S]"] =
|
||||
addStationPosition(
|
||||
concatBetweenStations(
|
||||
stationList["予讃線/愛ある伊予灘線(向井原-伊予大洲間)[S]"]
|
||||
),
|
||||
予讃線,
|
||||
stationList.日英対応表
|
||||
);
|
||||
stationList["土讃線(多度津-高知間)[D]"] = addStationPosition(
|
||||
concatBetweenStations(stationList["土讃線(多度津-高知間)[D]"]),
|
||||
土讃線,
|
||||
stationList.日英対応表
|
||||
);
|
||||
stationList.窪川線 = addStationPosition(
|
||||
concatBetweenStations(stationList.窪川線),
|
||||
stationList["土讃線(高知-窪川間)[K]"] = addStationPosition(
|
||||
concatBetweenStations(stationList["土讃線(高知-窪川間)[K]"]),
|
||||
土讃線,
|
||||
stationList.日英対応表
|
||||
);
|
||||
stationList.高徳線 = addStationPosition(
|
||||
concatBetweenStations(stationList.高徳線),
|
||||
stationList["高徳線(高松-徳島間)[T]"] = addStationPosition(
|
||||
concatBetweenStations(stationList["高徳線(高松-徳島間)[T]"]),
|
||||
高徳線,
|
||||
stationList.日英対応表
|
||||
);
|
||||
stationList.鳴門線 = addStationPosition(
|
||||
concatBetweenStations(stationList.鳴門線),
|
||||
stationList["鳴門線(池谷-鳴門間)[N]"] = addStationPosition(
|
||||
concatBetweenStations(stationList["鳴門線(池谷-鳴門間)[N]"]),
|
||||
鳴門線,
|
||||
stationList.日英対応表
|
||||
);
|
||||
const tokushimaCurrent = addStationPosition(
|
||||
concatBetweenStations(stationList.徳島線),
|
||||
concatBetweenStations(stationList["徳島線(徳島-阿波池田)[B]"]),
|
||||
徳島線,
|
||||
stationList.日英対応表
|
||||
);
|
||||
stationList.徳島線 = [
|
||||
stationList["徳島線(徳島-阿波池田)[B]"] = [
|
||||
tokushimaCurrent[tokushimaCurrent.length - 1],
|
||||
...tokushimaCurrent,
|
||||
];
|
||||
stationList.徳島線.pop();
|
||||
stationList.瀬戸大橋線 = [
|
||||
stationList["徳島線(徳島-阿波池田)[B]"].pop();
|
||||
stationList["瀬戸大橋線(宇多津-児島間)[M]"] = [
|
||||
{
|
||||
Station_JP: "坂出",
|
||||
Station_EN: "Sakaide",
|
||||
|
18
lib/getTrainDelayStatus.js
Normal file
18
lib/getTrainDelayStatus.js
Normal file
@@ -0,0 +1,18 @@
|
||||
export const getTrainDelayStatus = (current, Station_JP) => {
|
||||
if (!current) return () => {};
|
||||
const delay = current.delay;
|
||||
switch (true) {
|
||||
case delay === "入線":
|
||||
if (current.Pos === Station_JP) {
|
||||
return "当駅始発";
|
||||
} else {
|
||||
return "発車前";
|
||||
}
|
||||
case isNaN(delay):
|
||||
return delay;
|
||||
case delay === 0:
|
||||
return "定刻通り";
|
||||
default:
|
||||
return delay + "分遅れ";
|
||||
}
|
||||
};
|
14
lib/getTrainType.js
Normal file
14
lib/getTrainType.js
Normal file
@@ -0,0 +1,14 @@
|
||||
export const getTrainType = (nameString) => {
|
||||
switch (nameString) {
|
||||
case "Rapid":
|
||||
return { color: "aqua", name: "快速", data: "rapid" };
|
||||
case "LTDEXP":
|
||||
return { color: "red", name: "特急", data: "express" };
|
||||
case "NightLTDEXP":
|
||||
return { color: "red", name: "寝台特急", data: "express" };
|
||||
case "Normal":
|
||||
return { color: "white", name: "普通列車", data: "normal" };
|
||||
default:
|
||||
return { color: "white", name: "その他", data: "normal" };
|
||||
}
|
||||
};
|
3
lib/objectIsEmpty.js
Normal file
3
lib/objectIsEmpty.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export const objectIsEmpty = (obj) => {
|
||||
return !Object.keys(obj).length;
|
||||
};
|
11
lib/parseAllTrainDiagram.js
Normal file
11
lib/parseAllTrainDiagram.js
Normal file
@@ -0,0 +1,11 @@
|
||||
export const parseAllTrainDiagram = (text) => {
|
||||
const val = text.replace("[\r\n", "").split(",\r\n");
|
||||
let trainDiagram = {};
|
||||
val.forEach((element) => {
|
||||
try {
|
||||
let data = JSON.parse(element);
|
||||
Object.keys(data).forEach((key) => (trainDiagram[key] = data[key]));
|
||||
} catch (e) {}
|
||||
});
|
||||
return trainDiagram;
|
||||
};
|
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,7 @@
|
||||
import React, { Component } from "react";
|
||||
import { StatusBar, View, Linking, Platform, Text } from "react-native";
|
||||
import React from "react";
|
||||
import { View, Platform } from "react-native";
|
||||
import { WebView } from "react-native-webview";
|
||||
import Constants from "expo-constants";
|
||||
import { TouchableOpacity } from "react-native-gesture-handler";
|
||||
export default function tndView() {
|
||||
return (
|
||||
<View
|
||||
|
12485
package-lock.json
generated
12485
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
35
package.json
35
package.json
@@ -8,42 +8,43 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@expo/vector-icons": "^13.0.0",
|
||||
"@react-native-async-storage/async-storage": "~1.17.3",
|
||||
"@react-native-async-storage/async-storage": "1.17.11",
|
||||
"@react-native-community/masked-view": "0.1.10",
|
||||
"@react-navigation/bottom-tabs": "^5.11.11",
|
||||
"@react-navigation/native": "^5.9.4",
|
||||
"@react-navigation/stack": "^5.14.5",
|
||||
"expo": "^45.0.0",
|
||||
"expo-font": "~10.1.0",
|
||||
"expo-location": "~14.2.2",
|
||||
"expo-updates": "~0.13.4",
|
||||
"expo-web-browser": "~10.2.1",
|
||||
"expo": "^48.0.0",
|
||||
"expo-font": "~11.1.1",
|
||||
"expo-location": "~15.1.1",
|
||||
"expo-updates": "~0.16.3",
|
||||
"expo-web-browser": "~12.1.1",
|
||||
"firebase": "8.2.3",
|
||||
"lottie-react-native": "5.0.1",
|
||||
"lottie-react-native": "5.1.4",
|
||||
"native-base": "^2.15.2",
|
||||
"npm": "^7.18.1",
|
||||
"pushy-react-native": "^1.0.18",
|
||||
"react": "17.0.2",
|
||||
"react-native": "0.68.2",
|
||||
"react": "18.2.0",
|
||||
"react-native": "0.71.3",
|
||||
"react-native-actions-sheet": "^0.4.9",
|
||||
"react-native-auto-height-image": "^3.2.4",
|
||||
"react-native-elements": "^3.4.2",
|
||||
"react-native-gesture-handler": "~2.2.1",
|
||||
"react-native-maps": "0.30.2",
|
||||
"react-native-reanimated": "~2.8.0",
|
||||
"react-native-gesture-handler": "~2.9.0",
|
||||
"react-native-maps": "1.3.2",
|
||||
"react-native-reanimated": "~2.14.4",
|
||||
"react-native-remote-svg": "^2.0.6",
|
||||
"react-native-responsive-screen": "^1.4.2",
|
||||
"react-native-router-flux": "^4.3.1",
|
||||
"react-native-safe-area-context": "4.2.4",
|
||||
"react-native-screens": "~3.11.1",
|
||||
"react-native-safe-area-context": "4.5.0",
|
||||
"react-native-screens": "~3.20.0",
|
||||
"react-native-snap-carousel": "^3.9.1",
|
||||
"react-native-storage": "^1.0.1",
|
||||
"react-native-svg": "12.3.0",
|
||||
"react-native-svg": "13.4.0",
|
||||
"react-native-svg-uri": "^1.2.3",
|
||||
"react-native-vector-icons": "^8.1.0",
|
||||
"react-native-webview": "11.18.1"
|
||||
"react-native-webview": "11.26.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-preset-expo": "~9.1.0"
|
||||
"babel-preset-expo": "^9.3.0"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
|
27
storageConfig.js
Normal file
27
storageConfig.js
Normal file
@@ -0,0 +1,27 @@
|
||||
import Storage from "react-native-storage";
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
|
||||
const storage = new Storage({
|
||||
// maximum capacity, default 1000 key-ids
|
||||
size: 10000,
|
||||
|
||||
// Use AsyncStorage for RN apps, or window.localStorage for web apps.
|
||||
// If storageBackend is not set, data will be lost after reload.
|
||||
storageBackend: AsyncStorage, // for web: window.localStorage
|
||||
|
||||
// expire time, default: 1 day (1000 * 3600 * 24 milliseconds).
|
||||
// can be null, which means never expire.
|
||||
defaultExpires: null,
|
||||
|
||||
// cache data in the memory. default is true.
|
||||
enableCache: true,
|
||||
|
||||
// if data was not found in storage or expired data was found,
|
||||
// the corresponding sync method will be invoked returning
|
||||
// the latest data.
|
||||
sync: {
|
||||
// we'll talk about the details later.
|
||||
},
|
||||
});
|
||||
|
||||
export default storage;
|
14
storageControl.js
Normal file
14
storageControl.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import storage from "./storageConfig.js";
|
||||
|
||||
export const AS = {
|
||||
getItem: (key) => storage.load({ key }),
|
||||
setItem: (key, data) =>
|
||||
storage.save({
|
||||
key, // Note: Do not use underscore("_") in key!
|
||||
data,
|
||||
|
||||
// if expires not specified, the defaultExpires will be applied instead.
|
||||
// if set to null, then it will never expire.
|
||||
expires: null,
|
||||
}),
|
||||
};
|
@@ -1,9 +1,17 @@
|
||||
import React, { Component, useRef } from "react";
|
||||
import { StatusBar, Platform, View } from "react-native";
|
||||
import {
|
||||
StatusBar,
|
||||
Platform,
|
||||
View,
|
||||
TouchableOpacity,
|
||||
Text,
|
||||
} from "react-native";
|
||||
import { WebView } from "react-native-webview";
|
||||
import { Ionicons, MaterialCommunityIcons } from "@expo/vector-icons";
|
||||
|
||||
export default function TrainBase({ route }) {
|
||||
const { info } = route.params;
|
||||
export default function TrainBase({ route, navigation }) {
|
||||
const { info, from } = route.params;
|
||||
const { navigate } = navigation;
|
||||
const webview = useRef();
|
||||
const jss = `document.getElementById('Footer').style.display = 'none';
|
||||
${
|
||||
@@ -28,6 +36,27 @@ export default function TrainBase({ route }) {
|
||||
setSupportMultipleWindows={false}
|
||||
onMessage={(event) => {}}
|
||||
/>
|
||||
{from == "LED" && (
|
||||
<TouchableOpacity
|
||||
style={{
|
||||
padding: 10,
|
||||
flexDirection: "row",
|
||||
borderColor: "black",
|
||||
borderWidth: 1,
|
||||
margin: 10,
|
||||
borderRadius: 5,
|
||||
alignItems: "center",
|
||||
}}
|
||||
onPress={() => navigate("menu")}
|
||||
>
|
||||
<View style={{ flex: 1 }} />
|
||||
<MaterialCommunityIcons name="close" color="black" size={30} />
|
||||
<Text style={{ fontSize: 25, fontWeight: "bold", color: "black" }}>
|
||||
閉じる
|
||||
</Text>
|
||||
<View style={{ flex: 1 }} />
|
||||
</TouchableOpacity>
|
||||
)}
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user