All checks were successful
Build Docker Image / run (push) Successful in 24s
Reviewed-on: #7 Co-authored-by: Clement <c.boesmier@aptatio.com> Co-committed-by: Clement <c.boesmier@aptatio.com>
18 lines
477 B
Plaintext
18 lines
477 B
Plaintext
---
|
|
import Layout from 'layouts/Layout.astro';
|
|
import { Marker, Popup } from 'leaflet';
|
|
import { MapContainer } from 'react-leaflet'
|
|
---
|
|
|
|
<Layout title="maps test">
|
|
|
|
<MapContainer client:load center={[51.505, -0.09]} zoom={13} scrollWheelZoom={false}>
|
|
<Marker client:load lat={51.505} lng={-0.09}>
|
|
<Popup client:load>
|
|
A pretty CSS3 popup. <br /> Easily customizable.
|
|
</Popup>
|
|
</Marker>
|
|
</MapContainer>
|
|
|
|
</Layout>
|