A WebGL interactive maps library
23 Mar 2020 · Newest first
Last checked
Checking sources…
Showing 1 of 1 releases. Full release notes.
Signals highlight changes worth reviewing. They cannot determine whether your application is affected.
With this release, we're adding a new changelog policy to our contribution guidelines.
This release also fixes several long-standing bugs and unintentional rendering behavior with line-pattern. The fixes come with a visual change to how patterns added with line-pattern scale. Previously, patterns that became larger than the line would be clipped, sometimes distorting the pattern, particularly on mobile and retina devices. Now the pattern will be scaled to fit under all circumstances. #9266 showcases examples of the visual differences. For more information and to provide feedback on this change, see #9394.
within expression for testing whether an evaluated feature lies within a given GeoJSON object (#9352).
within expression:
"icon-opacity": ["case", ["==", ["within", "some-polygon"], true], 1, ["==", ["within", "some-polygon"], false], 0]easeTo and flyTo now support padding: PaddingOptions which lets developers shift a map's center of perspective when building floating sidebars (#8638)queryRenderedFeatures now have evaluated property values rather than raw expressions (#9198)line-pattern on all device resolutions and pixel ratios (#9266)LngLatBounds.extend is more flexible because it now accepts objects with lat and lon properties as well as arrays of coordinates (#9293)showTileBoundaries debug text (#9267)addImage(id, image, pixelRatio) by the asset pixel ratio, not the device pixel ratio (#9372)in expression to be false (#9295)feature-state for a layer that has been removed, fixes #8634 (#9305)dir=rtl (#9332)line-dash-array of empty length (#9385)icon-image expression that evaluates to an empty string ('') produced a warning (#9380)popup methods threw errors when accessing the container element before it was created, fixes #9429(#9433)