Web GIS 开发框架 mapbox-gl-js v0.49 发布

栏目: 软件资讯 · 发布时间: 5年前

内容简介:WEB GIS 开发框架 mapbox-gl-js v0.49 已发布,Mapbox GL JS 是一个 JavaScript 库,使用 WebGL 渲染交互式矢量瓦片地图和栅格瓦片地图。WebGL 渲染意味着高性能,MapboxGL 能够渲染大量的地图要素,拥有流畅的交...

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

Breaking changes

  • Use client{Height/Width} instead of offset{Height/Width} for map canvas sizing (#6848, fixed by #7128)

Bug 修复

  • Fix Top Issues list for mapbox-gl-js (#7108, fixed by #7112)

  • Fix bug in which symbols with icon-allow-overlap: true, text-allow-overlap: true, text-optional: false would show icons when they shouldn't (#7041)

  • Fix bug where the map would not stop at the exact zoom level requested by Map#FlyTo (#7222) (#7223) (h/t benoitbzl)

  • Keep map centered on the center point of a multi-touch gesture when zooming (#6722) (#7191) (h/t pakastin)

  • Update the style-spec's old gl-style-migrate script to include conversion of legacy functions and filters to their expression equivalents (#6927, fixed by #7095)

  • Fix icon-size for small data-driven values (#7125)

  • Fix bug in the way AJAX requests load local files on iOS web view (#6610) (h/t oscarfonts)

  • Fix bug in which canvas sources would not render in world wrapped tiles at the edge of the viewport ([#7271]#7271), fixed by #7273)

功能改进

  • Improve time to first render by updating how feature ID maps are transferred to the main thread (#7110, fixed by #7132)

  • Reduce size of JSON transmitted from worker thread to main thread (#7124)

  • Improve image/glyph atlas packing algorithm (#7171)

  • Use murmur hash on symbol instance keys to reduce worker transfer costs (#7127)

  • Add GL state management for uniforms (#6018)

  • Add symbol-z-order symbol layout property to style spec (#7219)

  • Implement data-driven styling support for *-pattern properties (#6289)

  • Add Map#fitScreenCoordinates which fits viewport to two points, similar to Map#fitBounds but uses screen coordinates and supports non-zero map bearings (#6894)

  • Re-implement LAB/HSL color space interpolation for expressions (#5326, fixed by #7123)

  • Enable benchmark testing for Mapbox styles (#7047)

  • Allow Map#setFeatureState and Map#getFeatureState to accept numeric IDs (#7106) (h/t bfrengley)

更多详情可查阅发行列表


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


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

查看所有标签

猜你喜欢:

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

Algorithms and Data Structures

Algorithms and Data Structures

Kurt Mehlhorn、Peter Sanders / Springer / 2008-08-06 / USD 49.95

Algorithms are at the heart of every nontrivial computer application, and algorithmics is a modern and active area of computer science. Every computer scientist and every professional programmer shoul......一起来看看 《Algorithms and Data Structures》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

随机密码生成器
随机密码生成器

多种字符组合密码