Skip to content

Releases: maptalks/maptalks.js

maptalks-gl@0.120.0 maptalks@1.9.0 Released

16 Jan 13:19

Choose a tag to compare

Features

  • 增加 map.options.cameraNear,用于手动设置相机近视面的值
  • terrain上增加errorScale,用于调整地形详细度,默认为1, 越小地形越详细 #2776
  • TileLayer options上增加tms,用于3857或4326投影下的tms瓦片,#2782
  • VectorTileLayer增加对gzip格式瓦片的支持 #2779
  • 完善webgpu测试,准备webgpu的集成测试

Fixes

  • 解决native-point插件的深度值未写入的问题
  • 解决地形瓦片clear mask时机不正确的问题
  • 解决地图中心点有海拔时拖拽和缩放后,中心点海拔丢失的问题 #2786

Contributors

@fuzhenn @deyihu


Features

  • Added map.options.cameraNear for manually setting the camera near clipping plane value.
  • Added errorScale on terrain to adjust terrain detail level. Default is 1. Smaller values result in more detailed terrain. #2776
  • Added tms option to TileLayer options for TMS tiles under 3857 or 4326 projection. #2782
  • Added support for gzip-format tiles in VectorTileLayer. #2779
  • Improved WebGPU testing and prepared for WebGPU integration tests.

Fixes

  • Fixed issue where depth values were not written in the native-point plugin.
  • Fixed incorrect timing for clearing the mask of terrain tiles.
  • Fixed issue where center point altitude was lost after dragging and zooming when the map center point had elevation. #2786

Contributors

@fuzhenn @deyihu

maptalks-gl@0.119.0 maptalks@1.8.0 Released

12 Jan 03:23

Choose a tag to compare

Features

  • GeoJSONVectorTileLayer 会忽略数据范围之外的瓦片请求 #2751
  • map上增加 addGroundExtent 方法, #2767
  • transcoders包增加解码方法的导出

Fixes

  • vt图层的gltf-lit插件会根据markerOpacity或markerFill中透明度,设置模型的alphaMode
  • 解决图层没有正常调用 resizeCanvas 的问题, #2770
  • 解决PointLayer下marker.setProperties没有及时渲染的问题 #2771
  • 解决vt图层打开debug后,图层mask没有正常裁剪的问题 maptalks/issues#917
  • 解决drawTool中重复绘制的问题, #2769
  • 解决vt中查询数据返回不足的问题 #2764
  • 解决创建transform-control没有指定对象时的报错 #2773

Contributors

@fuzhenn @ydfzgyj @deyihu @liubgithub


Features

  • GeoJSONVectorTileLayer will ignore tile requests beyond the data extent #2751
  • Added the addGroundExtent method to the map, #2767
  • Added export of decoding methods to the transcoders package

Fixes

  • The vt layer's gltf-lit plugin will set the model's alphaMode based on the transparency in markerOpacity or markerFill
  • Fixed the issue where the layer did not properly call resizeCanvas, #2770
  • Fixed the issue where marker.setProperties in PointLayer did not render promptly, #2771
  • Fixed the issue where the layer mask did not properly clip when debug mode was enabled in the vt layer, maptalks/issues#917
  • Fixed the issue of repeated drawing in drawTool, #2769
  • Fixed the issue of insufficient data returned in vt queries, #2764
  • Fixed the error when creating transform-control without specifying an object, #2773

Contributors

@fuzhenn @ydfzgyj @deyihu @liubgithub

maptalks-gl@0.118.1 maptalks@1.7.1 Released

26 Dec 09:55

Choose a tag to compare

Fixes

  • Fix error in Height3DTool
  • Fix DrawToolLayer.removeGeometry

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.* 的版本号会保持一致,无论他们是否有更新。