v6.0.0-20Pre-release
Changed 1
- Map now composes a Camera instead of extending it, with Map extending Evented directly and forwarding the camera API
Fixed 2
- Fix line-layer-opacity and fill-layer-opacity clipping away a subsequent layer that shares the same source
- Fix camera jump in flyTo when minZoom is set
Removed 2
- Remove internal map.transform property in favor of map's public API
- Remove internal transform.getMatrixForModel helper
✨ Features and improvements
- ⚠️
Mapnow composes aCamerainstead of extending it (MapextendsEventeddirectly and forwards the camera API). The internalmap.transformwas removed — use map's public API instead or open a PR if you need something that's not exposed. Removed the internaltransform.getMatrixForModelhelper (#7800) (by @HarelM)
🐞 Bug fixes
- Fix
line-layer-opacity/fill-layer-opacityclipping away a subsequent layer that shares the same source (#7867) (by @CommanderStorm) - Fix camera jump in flyTo when minZoom is set (#7743) (by @YuChunTsao)