Releases: yukinarit/mapbox-gl-rs
v0.6.0
v0.5.0
What's Changed
Breaking changes
- Style as string or struct by @wayeast in #66
MapOptions::style
is renamed toMapOptions::style_ref
.MapOptions::style
takes an object of Mapbox Style spec. See the above PR for more information.
New features
- Add partial support of flyTo and jumpTo by @yukinarit in #61
Refactoring
Example
Other changes
- Fix typo in README.md by @gregoryraymond in #58
- Do not use anyhow::Error inside lib crate by @yukinarit in #59
- Build and check examples in CI by @yukinarit in #60
- Update the leptos example by @RmStorm in #63
- Update categories by @yukinarit in #68
New Contributors
- @gregoryraymond made their first contribution in #58
- @RmStorm made their first contribution in #63
- @wayeast made their first contribution in #66
Full Changelog: v0.4.1...v0.5.0
v0.4.1
What's Changed
New features
- Support queryRenderedFeatures by @yukinarit in #55
Bug fixes
- Allow query_rendered_features to take options by @yukinarit in #56
Full Changelog: v0.4.0...v0.4.1
v0.4.0
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
- Add example filter to release.yml by @yukinarit in #31
Refactoring
- Remove underscore from default trait implementation by @yukinarit in #49
- remove_marker doesn't need &mut by @griffobeid in #52
Example
- Add an example of custom icon with Markers by @shimatar0 in #42
- Add an example of map's style by @shimatar0 in #48
New Contributors
- @griffobeid made their first contribution in #52
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's Changed
New features
- Implement Image APIs by @yukinarit in #22
- Add an example of Leptos by @shimatar0 in #28
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
- Add examples to root workspace by @yukinarit in #23
Documentation
- Add .github/release.yml by @yukinarit in #19
Other changes
- Use Yew 0.20 in examples by @yukinarit in #13
- Refactor set-data example by @yukinarit in #14
- Sycamore basic example by @wa1aric in #16
- Publish to crates.io with Github Actions by @yukinarit in #18
- Bump bumpalo from 3.11.0 to 3.12.0 in /examples/geojson-source by @dependabot in #24
- Bump bumpalo from 3.11.0 to 3.12.0 in /examples/popup by @dependabot in #25
- Bump bumpalo from 3.11.0 to 3.12.0 in /examples/set-data by @dependabot in #26
New Contributors
- @wa1aric made their first contribution in #16
- @dependabot made their first contribution in #24
- @shimatar0 made their first contribution in #28
Full Changelog: v0.2.0...v0.3.0
v0.2.0
There was a silly typo in EventListener
trait 😅 Thanks @thebearjew for fixing that. 👍
What's Changed
- Simplify "simple" example and add "on-load" by @yukinarit in #6
- Rename Listner to Listener by @thebearjew in #7
New Contributors
- @thebearjew made their first contribution in #7
Full Changelog: v0.1.0...v0.2.0
v0.1.0
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.
- Run tests and clippy on CI by @yukinarit in #2
- Update README.md by @yukinarit in #3
- Rework by @yukinarit in #4
- Implement LngLat and LngLatBounds by @yukinarit in #5
New Contributors
- @yukinarit made their first contribution in #2
Full Changelog: https://github.com/yukinarit/mapbox-gl-rs/commits/v0.1.0