Skip to content

Releases: yukinarit/mapbox-gl-rs

v0.6.0

03 Oct 12:44
Compare
Choose a tag to compare

What's Changed

Breaking changes

Thank you so much for great contribution! @RmStorm 🎉 🚀

Full Changelog: v0.5.0...v0.6.0

v0.5.0

16 Aug 14:55
Compare
Choose a tag to compare

What's Changed

Breaking changes

  • Style as string or struct by @wayeast in #66
    MapOptions::style is renamed to MapOptions::style_ref. MapOptions::style takes an object of Mapbox Style spec. See the above PR for more information.

New features

Refactoring

  • Use macro's for more of the event handling code by @RmStorm in #62

Example

Other changes

New Contributors

Full Changelog: v0.4.1...v0.5.0

v0.4.1

17 Sep 13:47
Compare
Choose a tag to compare

What's Changed

New features

Bug fixes

  • Allow query_rendered_features to take options by @yukinarit in #56

Full Changelog: v0.4.0...v0.4.1

v0.4.0

25 Jul 14:14
Compare
Choose a tag to compare

What's Changed

Breaking changes

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();
  • Feat marker events and example of draggable marker by @shimatar0 in #45
  • Remove MapFactory and move functionalities to Map by @yukinarit in #50
  • Add resource ID class rather than exposing uuid by @yukinarit in #51

CI

Refactoring

Example

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

20 Apr 14:18
Compare
Choose a tag to compare

What's Changed

New features

Breaking changes

  • Pass Rc in Event Listeners by @yukinarit in #20
    • Until v0.2
    fn on_load(&mut self, map: &Map, _e: event::MapBaseEvent) 
    • Since v0.3
    fn on_load(&mut self, map: Rc<Map>, _e: event::MapBaseEvent) 

Build

Documentation

Other changes

New Contributors

Full Changelog: v0.2.0...v0.3.0

v0.2.0

04 Dec 13:57
Compare
Choose a tag to compare

There was a silly typo in EventListener trait 😅 Thanks @thebearjew for fixing that. 👍

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

21 Nov 04:43
Compare
Choose a tag to compare

What's Changed

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.

New Contributors

Full Changelog: https://github.com/yukinarit/mapbox-gl-rs/commits/v0.1.0