mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
grid split and searchbar
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
|
||||
import "leaflet/dist/leaflet.css";
|
||||
import { MapContainer, TileLayer, Marker } from "react-leaflet";
|
||||
import { LatLngLiteral } from "leaflet";
|
||||
|
||||
export default function TournamentMap() {
|
||||
const center: number[] = [47.0844, 2.3964];
|
||||
const center: LatLngLiteral = { lat: 47.0844, lng: 2.3964 };
|
||||
|
||||
return (
|
||||
<section id="tournament-map" className="">
|
||||
<section id="tournament-map" className="w-full lg:col-start-1 lg:col-end-2">
|
||||
<MapContainer
|
||||
center={center}
|
||||
zoom={5}
|
||||
|
||||
Reference in New Issue
Block a user