Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.1.0 + style-spec v13.19.0 changelogs #10336

Merged
merged 6 commits into from
Jan 27, 2021

Conversation

karimnaaji
Copy link
Contributor

@karimnaaji karimnaaji commented Jan 27, 2021

@karimnaaji karimnaaji requested a review from a team January 27, 2021 19:26
@karimnaaji karimnaaji changed the title mapbox-gl-js v2.1.0 and style-spec v13.19.0 changelogs v2.1.0 + style-spec v13.19.0 changelogs Jan 27, 2021
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Vladimir Agafonkin <agafonkin@gmail.com>
@karimnaaji karimnaaji merged commit 9d5bb34 into release-v2.1.0 Jan 27, 2021
@karimnaaji karimnaaji deleted the karim/v2.1.0-changelog branch January 27, 2021 20:00
- Introduced high resolution local glyph generation for improved rendering quality of glyphs generated using `localIdeographFontFamily` or `localFontFamily` options. ([#10298](https://github.com/mapbox/mapbox-gl-js/pull/10298))
- Added `optimizeForTerrain` map option allowing to use terrain in _layer draw-order_ or _performance_ priority mode. This fixes terrain not always preserving layer draw-order during animations by making the behavior explicit. ([#10258](https://github.com/mapbox/mapbox-gl-js/pull/10258))
- Improved performance by slightly shifting the horizon down, reducing the number of tiles loaded for highly-pitched maps. ([#10304](https://github.com/mapbox/mapbox-gl-js/pull/10304))
- Improved `evented.once(eventName)` to return a promise if no listener function is provided, which allows using `async/await` with map events for a simpler and more readable code. ([#10203](https://github.com/mapbox/mapbox-gl-js/pull/10203))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion:
Enabled the use of async/await with map events by returning a promise when evented.once(eventName) is called with no listener function provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants