q3k/content-bump #8
|
|
@ -13,12 +13,12 @@ export default function Map({ t }: {
|
||||||
return (
|
return (
|
||||||
<div className='h-screen max-h-[400px] pt-8 relative mx-auto max-w-3xl'>
|
<div className='h-screen max-h-[400px] pt-8 relative mx-auto max-w-3xl'>
|
||||||
{/* @ts-expect-error dragging IS a valid prop. */}
|
{/* @ts-expect-error dragging IS a valid prop. */}
|
||||||
<MapContainer dragging={false} center={[51.105173, 17.087157]} zoom={40} scrollWheelZoom={false} className="h-full w-full">
|
<MapContainer dragging={false} center={[51.104955057760804, 17.087378768775697]} zoom={40} scrollWheelZoom={false} className="h-full w-full">
|
||||||
{/* @ts-expect-error attribution IS a valid prop. */}
|
{/* @ts-expect-error attribution IS a valid prop. */}
|
||||||
<TileLayer attribution='© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
<TileLayer attribution='© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
||||||
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
||||||
/>
|
/>
|
||||||
<Marker position={[51.105173, 17.087157]}>
|
<Marker position={[51.104955057760804, 17.087378768775697]}>
|
||||||
<Popup>
|
<Popup>
|
||||||
{t.where.location}
|
{t.where.location}
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue