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