MapBox-gl-js 0.34.0 发布了,MapBox 是 iOS 上 MapKit 的一个开源实现。本次更新主要是 bug 的修复和一些新特性的添加。详细如下:
新特性
Add Map#addImage and Map#removeImage API to allow adding icon images at runtime
Simplify non-browserify bundler usage by making the distribution build the main entrypoint
Bug 修复
Fix issue where coincident start/end points of LineStrings were incorrectly rendered as joined
Fix bug causing queryRenderedFeatures to fail in cases where both multiple sources and data-driven paint properties were present
Fix bug where tile request errors caused map.loaded() to incorrectly return false
测试改进
Improve test coverage across several core modules
下载地址:https://github.com/mapbox/mapbox-gl-js/archive/v0.34.0.zip
来自:开源中国社区

