Examples
The following examples are based on the official examples in MapLibre Docs. They are defined in the examples directory of the repository and automatically bundeled in the docs.
Add a raster tile source 🌐 🔗
Add a third-party raster source to the map.
Add a WMS source 🌐 🔗
Add an external Web Map Service raster layer to the map.
Check if WebGL is supported 🌐 🔗
Check for WebGL browser support.
Display a map 🌐 🔗
Initialize a map with Yew and the unofficial MapLibre GL JS Rust bindings.
Display a map with HTMLElement 🌐 🔗
Initialize a map with Yew and the unofficial MapLibre GL JS Rust bindings by passing an HTMLElement reference.
Display a satellite map 🌐 🔗
Display a satellite raster baselayer.
Display a non-interactive map 🌐 🔗
Create a map without interactivity.






