地図をピンかられっちゃに変更

This commit is contained in:
harukin-expo-dev-env 2024-05-31 11:53:26 +00:00
parent 00aaaeff20
commit 08abc1de7e
3 changed files with 2 additions and 1 deletions

BIN
assets/reccha-small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
assets/reccha.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

View File

@ -49,7 +49,7 @@ export default function TrainMenu({ style }) {
latitude: parseFloat(latlng[0]), latitude: parseFloat(latlng[0]),
longitude: parseFloat(latlng[1]), longitude: parseFloat(latlng[1]),
})), })),
{ edgePadding: { top: 100, bottom: 100, left: 50, right: 50 } } // Add margin values here { edgePadding: { top: 80, bottom: 120, left: 50, right: 50 } } // Add margin values here
); );
}, [stationPin]); }, [stationPin]);
return ( return (
@ -243,6 +243,7 @@ const MapPin = ({ index, indexBase, latlng, D, d, navigate, webview }) => {
); );
if (navigate) navigate("Apps"); if (navigate) navigate("Apps");
}} }}
image={require("../assets/reccha-small.png")}
></Marker> ></Marker>
); );
}; };