Unofficial Rust binding for mapbox-gl-js
mapbox-gl-js is an open source library for rendering a beautiful vector-based maps in web browser, built with Mapbox and OSS community. The goal of this project is to create a rust binding for mapbox-gl-js
via WebAssembly so that Rustacean can build webapps with beautiful Mapbox maps only in Rust.
NOTE: mapbox-gl-rs
is in super-duper infant stage. Most of the features are WIP. Please bear with that if you're interested! Also, any contributions e.g. bug reports, feature requests, sending a patch are appreciated.
wasm-bindgen is a Rust library to compile Rust code into WebAssembly, which is used to run Rust based application on web browsers, e.g. egui and RustPython. Most of the people don't know that wasm-bindgen
also allows to invoke JavaScript code in Rust. This project leverages this feature to provide a Rust binding for mapbox-gl-js
.