bjaskj / leptos-leaflet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leptos-leaflet

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.5.0-beta, that removes all Scope usages from signals and effects.

Features

  • CSR/HYDRATE/SSR support

Components

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

TODO

  • Better way to handle events
  • Implement missing components

About

License:MIT License


Languages

Language:Rust 100.0%