WEB GIS 开发框架 mapbox-gl-js 0.53.0 已发布,Mapbox GL JS 是一个 JavaScript 库,使用 WebGL 渲染交互式矢量瓦片地图和栅格瓦片地图。WebGL 渲染意味着高性能,MapboxGL 能够渲染大量的地图要素,拥有流畅的交互以及动画效果、可以显示立体地图并且支持移动端,是一款十分优秀的 WEB GIS(地理信息系统) 开发框架。
新特性
Enable
fill-extrusion
querying with ray picking (#7499)Add
clusterProperties
option for aggregated cluster properties (#2412, fixed by #7584)Allow initial map bounds to be adjusted with
fitBounds
options. (#7681) (h/t elyobo)Remove popups on
Map#remove
(#7749) (h/t andycalder)Add
Map#removeFeatureState
(#7761)Add
number-format
expression (#7626)Add
symbol-sort-key
style property (#7678)
Bug 修复
Upgrades Earcut to fix a rare bug in rendering polygons that contain a coincident chain of holes (#7806, fixed by #7878)
Allow
file://
protocol in XHR requests for Cordova/Ionic/etc (#7818)Correctly handle WebP images in Edge 18 (#7687)
Fix bug which mistakenly requested WebP images in browsers that do not support WebP (#7817) (#7819)
Fix images not being aborted when dequeued (#7655)
Set correct color state before rendering custom layer (#7711)
Set
LngLat.toBounds()
default radius to 0 (#7722, fixed by #7723) (h/t cherniavskii)Fix race condition in
feature-state
dependent layers (#7523, fixed by #7790)Prevent
map.repaint
from mistakenly enabling continuous repaints (#7667)Prevent map shaking while zooming in on raster tiles (#7426)
Fix query point translation for multi-point geometry (#6833, fixed by #7581)