MapBox-gl-js v0.37.0 发布了,MapBox 是 iOS 上 MapKit 的一个开源实现。
更新内容:
Breaking changes
- Removed
LngLat#wrapToBestWorld
New features
- Improve popup/marker positioning #4577
- Add
Map#isStyleLoaded
andMap#areTilesLoaded
events #4321 - Support offline sprites using
file:
protocol #4649 @oscarfonts
Bug fixes
- Fix fullscreen control in Firefox #4666
- Fix rendering artifacts that caused tile boundaries to be visible in some cases #4636
- Fix default calculation for categorical zoom-and-property functions #4657
- Fix scaling of images on retina screens #4645
- Rendering error when a transparent image is added via
Map#addImage
#4644 - Fix an issue with rendering lines with duplicate points #4634
- Fix error when switching from data-driven styles to a constant paint value #4611
- Add check to make sure invalid bounds on tilejson don’t error out #4641
Development workflow improvements
- Add flowtype interfaces and definitions @vicapow
- Add stylelinting to ensure
mapboxgl-
prefix on all classes #4584 @asantos3026
下载地址:
转自 http://www.oschina.net/news/84389/mapbox-gl-js-0-37-0