mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 02:10:18 +01:00
Fix carte qui ne charge pas quand on a pas la position
This commit is contained in:
@@ -84,7 +84,7 @@ export function LiveMap({ ...props }) {
|
||||
export function PlacementMap({ ...props }) {
|
||||
const { currentPosition, startingArea } = useGame();
|
||||
return (
|
||||
<MapContainer {...props} className='min-h-full w-full z-0' scrollWheelZoom={true}>
|
||||
<MapContainer {...props} className='min-h-full w-full z-0' center={[0, 0]} zoom={0} scrollWheelZoom={true}>
|
||||
<TileLayer
|
||||
attribution='© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
||||
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
||||
|
||||
Reference in New Issue
Block a user