Macros§
- effect_
update_ on_ change - effect_
update_ on_ change_ ref - position
- setup_
layer_ leaflet_ option - setup_
layer_ leaflet_ option_ ref - setup_
layer_ leaflet_ string - setup_
layer_ option - setup_
layer_ option_ ref - setup_
layer_ option_ str
Structs§
- Bounds
- Represents a geographical area defined by its northeast and southwest corners.
- Circle
Options - Drag
Events - Layer
Events - Leaflet
Map - Leaflet
MapContext - A context struct for the Leaflet map.
- Leaflet
Overlay Container Context - A context struct for Leaflet overlay container.
- MapEvents
- Mouse
Events - Move
Events - Path
Options - Polyline
Options - Popup
Events - Position
- A struct to represent a position on the map.
- Thread
Safe JsValue - A wrapper around a value that is intended to be passed between threads.
- Tile
Layer WmsContext - Tooltip
Events
Enums§
- Fill
Rule - Options for configuring the appearance of a path fill.
- LineCap
- Options for configuring the appearance of a path cap.
- Line
Join - Options for configuring the appearance of a path join.
Traits§
- Into
LatLng - Into
Thread Safe JsValue - A trait for converting a value into a ThreadSafeJsValue.
- String
Empty Option
Functions§
- Circle
- A circle overlay that represents a circle on the map.
- Control
- Creates a new control.
- Image
Overlay - An image overlay component.
- MapContainer
- A container for the Leaflet map.
- Marker
- A marker component.
- Polygon
- A polygon overlay that represents a polygon on the map.
- Polyline
- A polyline overlay that represents a polyline on the map.
- Popup
- A popup component for displaying content on the map.
- Quad
Tile Layer - A quad tile layer component that uses quadkey-based URLs. Instead of the standard {z}/{x}/{y} pattern, this component expects URLs with a {q} placeholder for the quadkey.
- Tile
Layer - A tile layer component.
- Tile
Layer Wms - A WMS tile layer component.
- Tile
Layer WmsEvents - Required Props
- Tooltip
- A tooltip component.
- Video
Overlay - A video overlay component.
- Zoom
- Zoom controls
- create_
map_ signal - Creates a pair of signals for reading and writing a
leaflet::Map
instance. - extend_
context_ with_ overlay - Extends the context with an overlay container.
- positions
- provide_
leaflet_ context - Provides the Leaflet map context.
- update_
overlay_ context - Updates the overlay context with the given layer.
- use_
leaflet_ context - Returns an optional
LeafletMapContext
object that can be used to access the current state of the Leaflet map. - use_
overlay_ context - Returns an optional
LeafletOverlayContainerContext
for the current overlay. - use_
overlay_ context_ layer - Returns an optional
leafet::Layer
for the overlay context layer.