✨ Features and improvements
- Add
paddingoption toPopupclass to prevent popups from being positioned too close to map container edges (#5978) (by @yuiseki and @lucaswoj) - Emit
style.loadevent on style diff (#6880) (by lesbaa)
🐞 Bug fixes
- Fix setting visibility on custom layer (#6883) (by melitele)
- Hide leading and trailing control characters in
formatexpressions (#6907) (by 1ec5) - Fix image sources being clipped at -180 and 180 longitude when terrain is enabled (#4088) (by pstaszek)
- Fix map not immediately constraining to a valid zoom and center when changing projections (#6892) (by larsmaxfield)
- Fix a blank map when a resize event is triggered before a WebGL context restoration (#6935) (by ToHold)
- Diffed changes when json is passed to
setStyleemit a style.load event. (#2587, #4757) (by @lesbaa) - Fix a precision issue in the atomsphere shader in globe projection. (#6916) (by tavimori)