What's New In v8?
Overview
Here's some highlights:
Unbounded horizontal scrolling (by monsieurtanuki)
We're repeating the trend from v7, and introducing yet another feature that's been continuously requested for longer than we can remember ๐!
Thanks to the hard work of external contributors, you can now pan and fling across the anti-meridian as much as you want (when using the default map projection only).
Feature layers (such as polygons) also work across all 'worlds'. Improvements to this are still ongoing as of v8.1.1.
This feature was bounty-funded, thanks to our generous Supporters! We hope to open more bounties in future.
Keyboard controls for map gestures
Maybe not quite as highly requested as horizontal scrolling, we've now also added buttery-smooth keyboard controls! On web and desktop platforms, these are important for accessibility and general usability.
Supports arrow & WASD
keys for panning, QE
keys for rotation, and RF
keys for zoom. All key handlers are based on the physical layout of the QWERTY keyboard, so users using other keyboards will be able to use whichever keys are physically located in the same position. These are all optionally controllable via KeyboardOptions
for MapOptions
- only arrow keys are enabled by default.
Performance improvements
We've also fixed a major performance bug with simplification on Polygon/lineLayer
s. If you previously disabled simplification to workaround the bug and improve performance, we recommend considering re-enabling it.
Also thanks to the community, we've reworked some internals to reduce overheads and reduce the number of different objects.
We've also made other changes to improve the experience for your users. Checkout the CHANGELOG for the curated changes, and the full commit listing for all the small details.
Migration
Migrating to v8 should be pain-free for most apps, but some major changes are likely for plugins.
Some breaking changes have been made. The amount of migration required will depend on how much your project uses more advanced functionality. Basic apps are unlikely to require migration.
Last updated
Was this helpful?