1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! # dioxus-maplibre
//!
//! A MapLibre GL JS wrapper for Dioxus 0.7+
//!
//! This crate provides Dioxus components for integrating MapLibre GL JS maps
//! into your Dioxus applications.
//!
//! ## Example
//!
//! ```rust,ignore
//! use dioxus::prelude::*;
//! use dioxus_maplibre::{Map, Marker, Popup, LatLng};
//!
//! fn App() -> Element {
//! rsx! {
//! Map {
//! style: "https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",
//! center: LatLng::new(60.17, 24.94),
//! zoom: 10.0,
//!
//! Marker {
//! position: LatLng::new(60.17, 24.94),
//! Popup { content: "Hello Helsinki!" }
//! }
//! }
//! }
//! }
//! ```
/// Map components (Map, Marker, Popup)
// Re-export public API
pub use ;
pub use ;
pub use MapContext;
pub use ;
pub use ;