Unofficial Rust/WASM binding for mapbox-gl-js
MIT License
Bot releases are hidden (Show)
Full Changelog: https://github.com/yukinarit/mapbox-gl-rs/compare/v0.4.0...v0.4.1
Published by yukinarit about 1 year ago
Full Changelog: https://github.com/yukinarit/mapbox-gl-rs/compare/v0.4.0...v0.4.1
Published by yukinarit about 1 year ago
This release contains a bunch of new features (Also breaking changes), most notably MapFactory
removal. Since v0.4, you can add as many as event listeners as you want using on
method. on
returns an ID for the listener. Please know about how to migrate from v0.3 to v0.4, please see this example.
let id = map.on(Listener {}).unwrap();
Full Changelog: https://github.com/yukinarit/mapbox-gl-rs/compare/v0.3.0...v0.4.0
Published by yukinarit over 1 year ago
fn on_load(&mut self, map: &Map, _e: event::MapBaseEvent)
fn on_load(&mut self, map: Rc<Map>, _e: event::MapBaseEvent)
Full Changelog: https://github.com/yukinarit/mapbox-gl-rs/compare/v0.2.0...v0.3.0
Published by yukinarit almost 2 years ago
There was a silly typo in EventListener
trait 😅 Thanks @thebearjew for fixing that. 👍
Full Changelog: https://github.com/yukinarit/mapbox-gl-rs/compare/v0.1.0...v0.2.0
Published by yukinarit almost 2 years ago
mapbox-gl-rs
doesn't require a module bundler e.g. webpack. Please make sure to use the latest 0.1.0 and follow the usage guide. Now it should be a lot easier than before. If you are a Yew user, please take a look at examples/simple.
Full Changelog: https://github.com/yukinarit/mapbox-gl-rs/commits/v0.1.0