Expand description
§Maplibre-rs
A multi-platform library for rendering vector tile maps with WebGPU.
Maplibre-rs is a map renderer that can run natively on MacOS, Linux, Windows, Android, iOS and the web. It takes advantage of Lyon to tessellate vector tiles and WebGPU to display them efficiently. Maplibre-rs also has an headless mode (work in progress) that can generate rasters.
The official guide book can be found here.
§Example
To import maplibre-rs in your Cargo.toml
:
maplibre = "0.0.2"
Modules§
- benchmarking
- Collection of utilities used to perform certain calculations more conveniently.
- context
- coords
- Provides utilities related to coordinates.
- debug
- environment
- event_
loop - io
- Handles IO related processing as well as multithreading.
- kernel
- map
- platform
- Handles platform specific code. Depending on the compilation target, different parts of this module are used.
- plugin
- raster
- render
- This module implements the rendering algorithm of maplibre-rs. It manages the whole communication with the GPU.
- schedule
- style
- Vector tile format styling.
- tcs
- tile
- Nested message and enum types in
Tile
. - util
- Utils which are used internally
- vector
- view_
state - window
- Utilities for the window system.
Macros§
- define_
label - Macro to define a new label trait
- multi_
stage