MapLibre GL JS v0.50.0 Release Notes
-
October 10, 2018
โจ Features and improvements
- ๐ Add Custom Layers that can be rendered into with user-provided WebGL code (#7039)
- โ Add WebGL face culling for increased performance (#7178)
- ๐ Improve speed of expression evaluation (#7334)
- ๐ Automatically coerce to string for
concat
expression andtext-field
property (#6190, fixed by #7280) - โ Add
fill-extrusion-vertical-gradient
property for controlling shading of fill extrusions (#5768, fixed by #6841) - โ Add update functionality for images provided via
ImageSource
(#4050, fixed by #7342) (h/t @dcervelli)
๐ ๐ Bug fixes
- Expressions
- Fix expressions that use
log2
andlog10
in IE11 (#7318, fixed by #7320) - Fix
let
expression stripping expected type during parsing (#7300, fixed by #7301) - Fix superfluous wrapping of literals in
literal
expression (#7336, fixed by #7337) - Allow calling
to-color
on values that are already of typeColor
(#7260) - Fix
to-array
for empty arrays ((#7261)) - Fix identity functions for
text-field
when using formatted text (#7351) - Fix coercion of
null
to0
into-number
expression (#7083, fixed by #7274)
- Fix expressions that use
- Canvas source
- Rendering
- Fix rendering of fill extrusions with really high heights (#7292)
- Fix an error where the map state wouldn't return to
loaded
after certain runtime styling changes when there were errored tiles in the viewport (#7355) - Fix errors when rendering symbol layers without symbols (#7241, fixed by #7253)
- Don't fade in symbols with
*-allow-overlap: true
when panning into the viewport (#7172, fixed by#7244)
- Library
- Fix disambiguation for
mouseover
event (#7295, fixed by #7299) - Fix silent failure of
getImage
if an SVG is requested (#7312, fixed by #7313) - Fix empty control group box shadow (#7303, fixed by #7304) (h/t Duder-onomy)
- Fixed an issue where a wrong timestamp was sent for Mapbox turnstile events (#7381)
- Fixed a bug that lead to attribution not showing up correctly in Internet Explorer (#3945, fixed by #7391)
- Fix disambiguation for