Mapbox-gl-js v0.16.0 发布了。此次更新内容有: New Features & Improvements Improve overall rendering performance. (#2221) Improve performance of GeoJSONSource#setData. (#2222) Add Map#setMaxBounds method (#2234) Add isActive and isEnabled methods to interaction handlers (#2238) Add Map#setZoomBounds method (#2243) Add touch events (#2195) Add map.queryRenderedFeatures to query the styled and rendered representations of features (#2224) Add map.querySourceFeatures to get features directly from vector tiles, independent of the style (#2224) Add mapboxgl.Geolocate control (#1939) Make background patterns render seamlessly across tile boundaries (#2305) Bugfixes Fix calls to setFilter, setLayoutProperty, and setLayerZoomRange on ref children (#2228) Fix undefined bucket errors after setFilter calls (#2244) Fix bugs causing hidden symbols to be rendered (#2246, #2276) Fix raster flickering (#2236) Fix queryRenderedFeatures precision at high zoom levels (#2292) Fix holes in GeoJSON data caused by unexpected winding order (#2285) Fix bug causing deleted features to be returned by queryRenderedFeatures (#2306) Fix bug causing unexpected fill patterns to be rendered (#2307) Fix popup location with preceding sibling elements (#2311) Fix polygon anti-aliasing (#2319) Fix slivers between non-adjacent polygons (#2319) Fix keyboard shortcuts causing page to scroll (#2312) 下载地址: Source code (zip) Source code (tar.gz) Mapbox-gl-js v0.16.0 发布了下载地址