Skip to content

Releases: maptalks/maptalks.js

maptalks-gl@0.118.0 maptalks@1.7.0 Released

26 Dec 08:13

Choose a tag to compare

Features

  • VectorTileLayer上增加clearData方法 #2714
  • 建立webgpu版的自动测试环境,以复用webgl的测试用例
  • 增加Layer.getRendererOption方法
  • LineString/PolygonLayer/ExtrudePolygonLayer上增加enableMarkerBloom, enableLineBloom, enablePolygonBloom用于指定bloom的元素, #2755
  • 通过缓存全局状态,减少函数调用以提升性能, #2754, #2756
  • 提升VectorTileLayer worker传输数据的性能,取消options.features设置, #2725

Bug Fixes

  • 解决webgpu上一系列bug
  • 解决相机在地形以下时出现不正常行为的问题
  • 解决有高度的marker拖动时的跳动问题 #2761
  • 解决markerPath在symbol中的优先级问题, #2737
  • 解决clientWidth和clientHeight的异步获取问题, #2666
  • 改进容器检查逻辑的类型安全性和健壮性 #2622

New Contributors

Full Changelog: https://github.com/maptalks/maptalks.js/compare/maptalks-gl@0.117.1...maptalks-gl@0.118.0


Features

  • Added clearData method to VectorTileLayer #2714
  • Established a WebGPU version of the automated testing environment to reuse WebGL test cases
  • Added Layer.getRendererOption method
  • Added enableMarkerBloom, enableLineBloom, and enablePolygonBloom to LineString/PolygonLayer/ExtrudePolygonLayer to specify elements for bloom effect #2755
  • Improved performance by caching global states to reduce function calls #2754, #2756
  • Enhanced VectorTileLayer worker data transfer performance, removed the options.features setting #2725

Bug Fixes

  • Fixed a series of bugs in the WebGPU version
  • Fixed abnormal behavior when the camera is below terrain
  • Fixed the jumping issue when dragging markers with height #2761
  • Fixed the priority issue of markerPath in symbols #2737
  • Fixed the asynchronous retrieval issue of clientWidth and clientHeight #2666
  • Improved type safety and robustness of container checking logic #2622

New Contributors

Full Changelog: https://github.com/maptalks/maptalks.js/compare/maptalks-gl@0.117.1...maptalks-gl@0.118.0

maptalks-gl V0.117.0 released

11 Nov 03:40

Choose a tag to compare

Features

  • 地形的数据准备挪到了worker,提升了地形交互体验 #2689

Fixes

  • 修改了webgpu和webgl渲染模式下的多个bug
  • 解决了若干社区报告的bug (胡佬和fuzhenn)

Features

  • Terrain data preparation has been moved to worker threads, improving the terrain interaction experience #2689

Fixes

  • Fixed multiple bugs in WebGPU and WebGL rendering modes
  • Resolved several community-reported bugs

maptalks-gl V0.116.0 released

11 Nov 03:34

Choose a tag to compare

Breaking Changes

  • map.options.queryTerrainInMapEvents 默认关闭

Fixes

  • 修正了 webgpu 模式的代码构建
  • 修正了Measure3DTool和VT相关的bug

Breaking Changes

  • map.options.queryTerrainInMapEvents is turned off by default

Fixes

  • Fixes serveral bugs on webgpu renderer
  • Fixes bugs related with Measure3DTool and VectorTileLayer

maptalks-gl V0.115.1 released

11 Nov 03:32

Choose a tag to compare

Fixes

  • 解决若干地形相关bug

Fixes

  • related several bugs on terrain

maptalks-gl V0.115.0 released

11 Nov 03:29

Choose a tag to compare

特性

  • UIComponent 的options中增加了 enableScrollbar 设置,用于控制是否允许显示滚动条 #2652
  • GLTFMarker.setUniform方法,增加对nodexIndex参数的支持 #2667
  • DrawTool类增加getAllRegisterMode静态方法 #2655
  • lights.ambient.resource 增加 crossOrigin 设置 #2654
  • 0.115.0 开始,maptalks-gl和maptalks-gpu相关的库版本号都保持一致

Fixes

  • 解决 gl 渲染模式下的系列bug
  • 解决若干社区报告的bug

Features

  • Added the enableScrollbar setting in UIComponent options to control whether the scrollbar is allowed to display #2652
  • Added support for the nodeIndex parameter in the GLTFMarker.setUniform method #2667
  • Added the static method getAllRegisterMode to the DrawTool class #2655
  • Added crossOrigin setting for lights.ambient.resource #2654
  • Starting from version 0.115.0, the version numbers of maptalks-gl and maptalks-gpu related libraries are consistent

Fixes

  • Fixed a series of bugs in GL rendering mode
  • Resolved several community-reported bugs

maptalks V1.4.6 Released

19 Sep 03:48

Choose a tag to compare

Features

  • Added the strictClip option to Geometry's settings to address inaccuracies in drawing positions when the endpoints of line data are behind the camera. #2637

Fixes

  • Fixed the issue with determining whether a layer's mask extent intersects with the map. #2640
  • Fixed a bug where vertex positions were incorrect during Path editing. #2646

新功能

  • Geometry的options增加strictClip,解决线数据端点在相机背后时,绘制位置有误差的问题, #2637

Fixes

  • 修改了图层mask extent是否与map相交的判断问题 #2640
  • 修改Path编辑时顶点位置错误的bug #2637

maptalks-gl V0.114.0 Released

19 Sep 03:51

Choose a tag to compare

Features

  • Added the loadTileErrorLog option for vt layers to configure whether tile loading errors are printed to the console. #2641

Fixes

  • Improved some typings declarations.
  • Resolved the issue where multiple renderPlugins in vt layers could not simultaneously modify symbol.visible, and changes to visible no longer require refreshing the layer. #2647
  • Fixed an issue where configuring an ambient light source caused errors in ground rendering. #2643

Note:

For convenience, future versions of maptalks-gl, maptalks-gpu, and transcoders.* will remain consistent, regardless of whether they have been updated.


新特性

  • vt图层增加loadTileErrorLog option用于配置控制台是否打印瓦片加载错误 #2641

Fixes

  • 完善了一些typings声明
  • 解决vt图层多个renderPlugin无法同时修改symbol.visible的问题,并且修改visible不再需要刷新图层 #2647
  • 解决配置ambient光源后,ground绘制报错的问题 #2643

注:

为使用方便,未来 maptalks-gl,maptalks-gpu,transcoders.* 的版本号会保持一致,无论他们是否有更新。

maptalks-gl V0.113.6 Released

16 Sep 10:36

Choose a tag to compare

Fixes

maptalks-gl V0.113.5 Released

16 Sep 10:34

Choose a tag to compare

Fixes

  • fix missing extraCommandProps when shadow includes changed in FillPainter

maptalks-gl V0.113.4 Released

11 Sep 10:58

Choose a tag to compare

Refactor

  • merge packages/reshader.gl into packages/gl, #2631

Fixes

  • Fix failing check of uniform ambientColor when rendering unlit 3dtiles models #2632