npm mapbox-gl 1.1.0
v1.1.0

latest releases: 3.8.0, 3.8.0-beta.1, 3.7.0...
5 years ago

✨ Minor features and improvements

  • Improve line rendering performance by using a more compact line attributes layout (#8306)
  • Improve data-driven symbol layers rendering performance (#8295)
  • Add the ability to disable validation during queryRenderedFeatures and querySourceFeatures calls, as a performance optimization (#8211) (h/t gorshkov-leonid)
  • Improve setFilter performance by caching keys in groupByLayout routine (#8122) (h/t vallendm)
  • Improve rendering of symbol layers with symbol-z-order: viewport-y, when icons are allowed to overlap but not text (#8180)
  • Prefer breaking lines at a zero width space to allow better break point suggestions for Japanese labels (#8255)
  • Add a WebGLRenderingContext argument to onRemove function of CustomLayerInterface, to allow direct cleanup of related context (#8156) (h/t ogiermaitre)
  • Allow zoom speed customization by adding setZoomRate and setWheelZoomRate methods to ScrollZoomHandler (#7863) (h/t sf31)
  • Add trackPointer method to Popup API that continuously repositions the popup to the mouse cursor when the cursor is within the map (#7786)
  • Add getElement method to Popup to retrieve the popup's HTML element (#8123) (h/t bravecow)
  • Add fill-pattern example to the documentation (#8022) (h/t flawyte)
  • Update script detection for Unicode 12.1 (#8158)
  • Add nofollow to Mapbox logo & "Improve this map" links (#8106) (h/t viniciuskneves)
  • Include source name in invalid GeoJSON error (#8113) (h/t Zirak)

🐞 Bug fixes

  • Fix updateImage not working as expected in Chrome (#8199)
  • Fix issues with double-tap zoom on touch devices (#8086)
  • Fix duplication of movestart events when zooming (#8259) (h/t bambielli-flex)
  • Fix validation of "format" expression failing when options are provided (#8339)
  • Fix setPaintProperty not working on line-pattern property (#8289)
  • Fix the GL context being left in unpredictable states when using custom layers (#8132)
  • Fix unnecessary updates to attribution control string (#8082) (h/t poletani)
  • Fix bugs in findStopLessThanOrEqualTo algorithm (#8134) (h/t Mike96Angelo)
  • Fix map not displaying properly when inside an element with text-align: center (#8227) (h/t mc100s)
  • Clarify in documentation that Popup#maxWidth accepts all max-width CSS values (#8312) (h/t viniciuskneves)
  • Fix location dot shadow not displaying (#8119) (h/t bravecow)
  • Fix docs dev dependencies being mistakenly installed as package dependencies (#8121) (h/t bravecow)
  • Various typo fixes (#8230, h/t erictheise) (#8236, h/t fredj)
  • Fix geolocate button CSS (#8367, h/t GuillaumeGomez)
  • Fix caching for Mapbox tiles (#8389)

Don't miss a new mapbox-gl release

NewReleases is sending notifications on new releases.