https://github.com/headless-studio/leptos-leaflet
https://github.com/headless-studio/leptos-leaflet
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/headless-studio/leptos-leaflet
- Owner: headless-studio
- License: mit
- Created: 2023-04-26T06:53:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-10T07:52:09.000Z (about 1 year ago)
- Last Synced: 2024-07-12T11:49:18.557Z (11 months ago)
- Language: Rust
- Size: 307 KB
- Stars: 22
- Watchers: 3
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-leptos - leptos-leaflet
README
# leptos-leaflet
[](https://crates.io/crates/leptos-leaflet)
[](https://docs.rs/leptos-leaflet)
[](https://github.com/headless-studio/leptos-leaflet/LICENSE)Leaflet components for Leptos. This aims to target the functionality of React-Leaflet.
For now only a few of the components are ported, and events must be set in the Signal `map` object set by the MapContainer when leaflet is inited.
## Features
- CSR/HYDRATE/SSR support### Components
- MapContainer
- Control
- TileLayer
- TileLayerWms
- ImageOverlay
- VideoOverlay
- Marker
- Polygon
- Polyline
- Circle
- Tooltip
- Popup## Compatibility
| Crate version | Leptos version |
|---------------|----------------|
| 0.9.x | 0.7.x |
| 0.8.x | 0.6.x |