https://github.com/slowtec/leaflet-rs
A wasm-bindgen wrapper for Leaflet.js
https://github.com/slowtec/leaflet-rs
leaflet wasm
Last synced: about 2 months ago
JSON representation
A wasm-bindgen wrapper for Leaflet.js
- Host: GitHub
- URL: https://github.com/slowtec/leaflet-rs
- Owner: slowtec
- License: apache-2.0
- Created: 2020-08-07T17:16:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-11-30T20:27:01.000Z (6 months ago)
- Last Synced: 2025-12-02T14:08:45.604Z (6 months ago)
- Topics: leaflet, wasm
- Language: Rust
- Homepage:
- Size: 951 KB
- Stars: 78
- Watchers: 6
- Forks: 34
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# leaflet-rs
A [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen)
wrapper for
[Leaflet.js](https://leafletjs.com/)
[](https://crates.io/crates/leaflet)
[](https://docs.rs/leaflet/)
[](./LICENSE-MIT)
[](./LICENSE-APACHE)
## Usage
```toml
[dependencies]
leaflet = "0.5"
```
## Example
See:
- Basic example: [`examples/basic`](https://github.com/slowtec/leaflet-rs/tree/master/examples/basic)
- SVG and Canvas renderers: [`examples/renderers`](https://github.com/slowtec/leaflet-rs/tree/master/examples/renderers)
- Usage in yew component: [`examples/yew-component`](https://github.com/slowtec/leaflet-rs/tree/master/examples/yew-component)
- Usage with Dioxus: [`examples/leaflet-dioxus-example`](https://github.com/slowtec/leaflet-rs/tree/master/examples/leaflet-dioxus-example)
- Usage with leptos: [headless-studio/leptos-leaflet](https://github.com/headless-studio/leptos-leaflet)
## License
Copyright (c) 2020 - 2025 [slowtec GmbH](https://slowtec.de)