Maplibre

Latest version: v0.2.6

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 17 of 33

1.5.0

✨ Features

- Add disabled icon to GeolocateControl if user denies geolocation permission. [8871](https://github.com/mapbox/mapbox-gl-js/pull/8871))
- Add `outofmaxbounds` event to GeolocateControl, which is emitted when the user is outside of `map.maxBounds` ([8756](https://github.com/mapbox/mapbox-gl-js/pull/8756)) (h/t [MoradiDavijani](https://github.com/MoradiDavijani))
- Add `mapboxgl.getRTLTextPluginStatus()` to query the current status of the `rtl-text-plugin` to make it easier to allow clearing the plugin when necessary. (ref. [7869](https://github.com/mapbox/mapbox-gl-js/issues/7869)) ([#8864](https://github.com/mapbox/mapbox-gl-js/pull/8864))
- Allow `hash` Map option to be set as a string, which sets the map hash in the url to a custom query parameter. ([8603](https://github.com/mapbox/mapbox-gl-js/pull/8603)) (h/t [SebCorbin](https://github.com/SebCorbin))

🍏 Improvements

- Fade symbols faster when zooming out quickly, reducing overlap. ([8628](https://github.com/mapbox/mapbox-gl-js/pull/8628))
- Reduce memory usage for vector tiles that contain long strings in feature properties. ([8863](https://github.com/mapbox/mapbox-gl-js/pull/8863))

🐞 Bug Fixes

- Fix `text-variable-anchor` not trying multiple placements during collision with icons when `icon-text-fit` is enabled. ([8803](https://github.com/mapbox/mapbox-gl-js/pull/8803))
- Fix `icon-text-fit` not properly respecting vertical labels. ([8835](https://github.com/mapbox/mapbox-gl-js/pull/8835))
- Fix opacity interpolation for composition expressions. ([8818](https://github.com/mapbox/mapbox-gl-js/pull/8818))
- Fix rotate and pitch events being fired at the same time. ([8872](https://github.com/mapbox/mapbox-gl-js/pull/8872))
- Fix memory leaks that occurred during tile loading and map removal.([8813](https://github.com/mapbox/mapbox-gl-js/pull/8813) and [#8850](https://github.com/mapbox/mapbox-gl-js/pull/8850))
- Fix web-worker transfer of `ArrayBuffers` in environments where `instanceof ArrayBuffer` fails.(e.g `cypress`) ([8868](https://github.com/mapbox/mapbox-gl-js/pull/8868))

1.4.1

🐞 Bug Fixes

- Fix the way that `coalesce` handles the `image` operator so available images are rendered properly ([8839](https://github.com/mapbox/mapbox-gl-js/pull/8839))
- Do not emit the `styleimagemissing` event for an empty string value ([8840](https://github.com/mapbox/mapbox-gl-js/pull/8840))
- Fix serialization of `ResolvedImage` type so `*-pattern` properties work properly ([8833](https://github.com/mapbox/mapbox-gl-js/pull/8833))

1.4.0

✨ Features

- Add `image` expression operator to determine image availability ([8684](https://github.com/mapbox/mapbox-gl-js/pull/8684))
- Enable `text-offset` with variable label placement ([8642](https://github.com/mapbox/mapbox-gl-js/pull/8642))

🍏 Improvements

- Faster loading and better look of raster terrain ([8694](https://github.com/mapbox/mapbox-gl-js/pull/8694))
- Improved code documentation around resizing and {get/set}RenderedWorldCopies and more ([8748](https://github.com/mapbox/mapbox-gl-js/pull/8748), [#8754](https://github.com/mapbox/mapbox-gl-js/pull/8754))
- Improve single vs. multi-touch zoom & pan interaction ([7196](https://github.com/mapbox/mapbox-gl-js/issues/7196)) ([#8100](https://github.com/mapbox/mapbox-gl-js/pull/8100))

🐞 Bug fixes

- Fix rendering of `collisionBox` when `text-translate` or `icon-translate` is enabled ([8659](https://github.com/mapbox/mapbox-gl-js/pull/8659))
- Fix `TypeError` when reloading a source and immediately removing the map ([8711](https://github.com/mapbox/mapbox-gl-js/pull/8711))
- Adding tooltip to the geolocation control button ([8735](https://github.com/mapbox/mapbox-gl-js/pull/8735)) (h/t [BAByrne](https://github.com/BAByrne))
- Add `originalEvent` property to NavigationControl events ([8693](https://github.com/mapbox/mapbox-gl-js/pull/8693)) (h/t [stepankuzmin](https://github.com/stepankuzmin))
- Don't cancel follow mode in the GeolocateControl when resizing the map or rotating the screen ([8736](https://github.com/mapbox/mapbox-gl-js/pull/8736))
- Fix error when calling `PopuptrackPointer` before setting its content or location ([8757](https://github.com/mapbox/mapbox-gl-js/pull/8757)) (h/t [zxwandrew](https://github.com/zxwandrew))
- Respect newline characters when text-max-width is set to zero ([8706](https://github.com/mapbox/mapbox-gl-js/pull/8706))
- Update earcut to v2.2.0 to fix polygon tessellation errors ([8772](https://github.com/mapbox/mapbox-gl-js/pull/8772))
- Fix icon-fit with variable label placement ([8755](https://github.com/mapbox/mapbox-gl-js/pull/8755))
- Icons stretched with `icon-text-fit` are now sized correctly ([8741](https://github.com/mapbox/mapbox-gl-js/pull/8741))
- Collision detection for icons with `icon-text-fit` now works correctly ([8741](https://github.com/mapbox/mapbox-gl-js/pull/8741))

1.3.2

- Fix a SecurityError in Firefox >= 69 when accessing the cache [8780](https://github.com/mapbox/mapbox-gl-js/pull/8780)

1.3.1

🐞 Bug Fixes

- Fix a race condition that produced an error when a map was removed while reloading a source. [8711](https://github.com/mapbox/mapbox-gl-js/pull/8711)
- Fix a race condition were `render` event was sometimes not fired after `load` event in IE11. [8708](https://github.com/mapbox/mapbox-gl-js/pull/8708)

1.3.0

🍏 Features

- Introduce `text-writing-mode` symbol layer property to allow placing point labels vertically. [8399](https://github.com/mapbox/mapbox-gl-js/pull/8399)
- Extend variable text placement to work when `text/icon-allow-overlap` is set to `true`. [8620](https://github.com/mapbox/mapbox-gl-js/pull/8620)
- Allow `text-color` to be used in formatted expressions to be able to draw different parts of a label in different colors. [8068](https://github.com/mapbox/mapbox-gl-js/pull/8068)

✨ Improvements

- Improve tile loading logic to cancel requests more aggressively, improving performance when zooming or panning quickly. [8633](https://github.com/mapbox/mapbox-gl-js/pull/8633)
- Display outline on control buttons when focused (e.g. with a tab key) for better accessibility. [8520](https://github.com/mapbox/mapbox-gl-js/pull/8520)
- Improve the shape of line round joins. [8275](https://github.com/mapbox/mapbox-gl-js/pull/8275)
- Improve performance of processing line layers. [8303](https://github.com/mapbox/mapbox-gl-js/pull/8303)
- Improve legibility of info displayed with `map.showTileBoundaries = true`. [8380](https://github.com/mapbox/mapbox-gl-js/pull/8380) (h/t [andrewharvey](https://github.com/andrewharvey))
- Add `MercatorCoordinate.meterInMercatorCoordinateUnits` method to make it easier to convert from meter units to coordinate values used in custom layers. [8524](https://github.com/mapbox/mapbox-gl-js/pull/8524) (h/t [andrewharvey](https://github.com/andrewharvey))
- Improve conversion of legacy filters with duplicate values. [8542](https://github.com/mapbox/mapbox-gl-js/pull/8542)
- Move out documentation & examples website source to a separate `mapbox-gl-js-docs` repo. [8582](https://github.com/mapbox/mapbox-gl-js/pull/8582)

🐞 Bug Fixes

- Fix a bug where local CJK fonts would switch to server-generated ones in overzoomed tiles. [8657](https://github.com/mapbox/mapbox-gl-js/pull/8657)
- Fix precision issues in [deck.gl](https://deck.gl)-powered custom layers. [#8502](https://github.com/mapbox/mapbox-gl-js/pull/8502)
- Fix a bug where fill and line layers wouldn't render correctly over fill extrusions when coming from the same source. [8661](https://github.com/mapbox/mapbox-gl-js/pull/8661)
- Fix map loading for documents loaded from Blob URLs. [8612](https://github.com/mapbox/mapbox-gl-js/pull/8612)
- Fix classification of relative file:// URLs when in documents loaded from a file URL. [8612](https://github.com/mapbox/mapbox-gl-js/pull/8612)
- Remove `esm` from package `dependencies` (so that it's not installed on `npm install mapbox-gl`). [8586](https://github.com/mapbox/mapbox-gl-js/pull/8586) (h/t [DatGreekChick](https://github.com/DatGreekChick))

Page 17 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.