Module prelude

Source

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.
CircleOptions
DragEvents
LayerEvents
LeafletMap
LeafletMapContext
A context struct for the Leaflet map.
LeafletOverlayContainerContext
A context struct for Leaflet overlay container.
MapEvents
MouseEvents
MoveEvents
PathOptions
PolylineOptions
PopupEvents
Position
A struct to represent a position on the map.
ThreadSafeJsValue
A wrapper around a value that is intended to be passed between threads.
TileLayerWmsContext
TooltipEvents

Enums§

FillRule
Options for configuring the appearance of a path fill.
LineCap
Options for configuring the appearance of a path cap.
LineJoin
Options for configuring the appearance of a path join.

Traits§

IntoLatLng
IntoThreadSafeJsValue
A trait for converting a value into a ThreadSafeJsValue.
StringEmptyOption

Functions§

Circle
A circle overlay that represents a circle on the map.
Control
Creates a new control.
ImageOverlay
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.
QuadTileLayer
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.
TileLayer
A tile layer component.
TileLayerWms
A WMS tile layer component.
TileLayerWmsEvents
Required Props
Tooltip
A tooltip component.
VideoOverlay
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.

Type Aliases§

JsReadSignal
JsRwSignal
JsSignal
JsStoredValue
JsWriteSignal
MapReadSignal
MapWriteSignal