/leptos-leaflet

Primary LanguageRustMIT LicenseMIT

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.

Features

  • CSR/HYDRATE/SSR support

Components

  • MapContainer
  • TileLayer
  • TileLayerWms
  • ImageOverlay
  • VideoOverlay
  • Marker
  • Polygon
  • Polyline
  • Circle
  • Tooltip
  • Popup

TODO

  • Implement missing components