Mapbox GL JS 0.48.0 发布,特别处理 404 错误

栏目: 编程工具 · 发布时间: 7年前

内容简介:Mapbox GL JS 0.48.0 发布了,Mapbox GL JS 是一个 JavaScript 库,使用 WebGL 渲染交互式矢量瓦片地图和栅格瓦片地图。WebGL 渲染意味着高性能,MapboxGL 能够渲染大量的地图要素,拥有流畅的交互以及动画效果、可以显示立体地图并且支持移动端,是一款十分优秀的 WEB GIS(地理信息系统) 开发框架。此次更新最重大的变化是将状态为 404 的错误处理为空可渲染切片,以防止在某些稀疏切片集中呈现重复的特征,其它更新内容如下:Bug fixes

Mapbox GL JS 0.48.0 发布了,Mapbox GL JS 是一个 JavaScript 库,使用 WebGL 渲染交互式矢量瓦片地图和栅格瓦片地图。WebGL 渲染意味着高性能,MapboxGL 能够渲染大量的地图要素,拥有流畅的交互以及动画效果、可以显示立体地图并且支持移动端,是一款十分优秀的 WEB GIS(地理信息系统) 开发框架。

此次更新最重大的变化是将状态为 404 的错误处理为空可渲染切片,以防止在某些稀疏切片集中呈现重复的特征,其它更新内容如下:

Bug fixes

  • Require feature.id when using Map#setFeatureState ( #6974 )

  • Fix issue with removing the GeolocateControl when user location is being used ( #6977 ) (h/t  sergei-zelinsky )

  • Fix memory leak caused by a failure to remove all controls added to the map ( #7042 )

  • Fix bug wherein Map#querySourceFeatures was returning bad results on zooms > maxZoom ( #7061 )

  • Relax typing for equality and order expressions ( #6459 , fixed by  #6961 )

Features and improvements

  • Performance Improvements:

  • Stop unnecessary serialization of symbol source features. ( #7013 )

  • Optimize calculation for getting visible tile coordinates ( #6998 )

  • Improve performance of creating {Glyph/Image}Atlases ( #7091 )

  • Optimize and simplify tile retention logic ( #6995 )

  • Add a user turnstile event for users accessing Mapbox APIs ( #6980 )

  • Add support for autogenerating feature ids for GeoJSON sources so they can be used more easily with the Map#setFeatureState API ( #7043 )) ( #7091 )

  • Add customAttribution option to AttributionControl ( #7033 ) (h/t  mklopets )

  • Publish Flow type definitions alongside compiled bundle ( #7079 )

  • Improvements in label collision detection ( #6925 ))

详情见 发布公告

下载地址:


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Head First Rails

Head First Rails

David Griffiths / O'Reilly Media / 2008-12-30 / USD 49.99

Figure its about time that you hop on the Ruby on Rails bandwagon? You've heard that it'll increase your productivity exponentially, and allow you to created full fledged web applications with minimal......一起来看看 《Head First Rails》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换