leptos-leaflet

Crates.ioleptos-leaflet
lib.rsleptos-leaflet
version0.9.0-rc1
sourcesrc
created_at2023-11-16 13:53:57.657829
updated_at2024-11-10 10:58:23.672419
descriptionLeaflet components to use in Leptos.
homepage
repositoryhttps://github.com/headless-studio/leptos-leaflet
max_upload_size
id1037630
size119,211
Daniel Santana (dgsantana)

documentation

README

leptos-leaflet

crates.io license: MIT

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.

NOTE: Current version support leptos 0.6.x, that removes all Scope usages from signals and effects.

Support for leptos 0.7.x exists in the leptos-0.7 branch. When Leptos 0.7 is released, this branch will be merged into main.

Features

  • CSR/HYDRATE/SSR support

Components

  • MapContainer
  • Control
  • TileLayer
  • TileLayerWms
  • ImageOverlay
  • VideoOverlay
  • Marker
  • Polygon
  • Polyline
  • Circle
  • Tooltip
  • Popup
Commit count: 148

cargo fmt