红联Linux门户
Linux帮助

MapBox-gl-js 0.29发布,MapKit开源实现

发布时间:2016-12-21 09:21:15来源:红联作者:baihuo
MapBox-gl-js 0.29 发布了,MapBox 是 iOS 上 MapKit 的一个开源实现。

更新内容:

新特性

为线图层上的许多样式属性添加对属性函数的支持

使Map#setStyle平滑地过渡到新的样式

添加styledata,sourcedata,styledataloading和sourcedataloading事件

将isSourceLoaded和源属性添加到MapDataEvent

移除20的最大缩放上限

性能提升

Fix memory leak when calling Map#removeSource

Reduce bundle size by adding custom build of gl-matrix

Improve performance of projection code

Improve performance of style function evaluation

Bug 修复

Fix exception thrown when using line-color property functions

Fix exception thrown when removing a layer and then adding another layer with the same id but different type

Fix exception thrown when passing a single point to Map#fitBounds

Fix exception thrown occasionally during rapid map mutations

Fix rendering defects on pitch=0 on some systems

Fix unnecessary CPU usage when displaying a raster layer

Fix bug causing sprite after Map#setStyle

Fix bug preventing Map from emitting a contextmenu event on Windows browsers

软件详情:https://github.com/mapbox/mapbox-gl-js/releases

下载地址:https://github.com/mapbox/mapbox-gl-js/archive/v0.29.0.zip

来自:开源中国社区
文章评论

共有 0 条评论