Skip to content

Releases: maptalks/maptalks.js

maptalks-gl@0.124.3 Released

11 Feb 10:01

Choose a tag to compare

Features

  • add fetchSchema option in GLTFLoader, #2820

Contributor

@yy923683900

maptalks-gl@0.124.2 maptalks@1.12.1

10 Feb 10:16

Choose a tag to compare

Features

  • Geometry.edit 增加 dragOnAxis 配置, #2818

Fixes

  • 解决 VectorTileLayer 打开renderBeforeTerrain后,identify失效的问题 #2819

Contributors

@deyihu @fuzhenn


Features

  • add dragOnAxis option in Geometry.edit, #2818

Fixes

  • Fix identify on terrain, when VectorTileLayer's renderBeforeTerrain is on, #2819

Contributors

@deyihu @fuzhenn

maptalks-gl@0.124.1 released

06 Feb 09:31

Choose a tag to compare

Fixes

  • 解决地形上 GeoJSONVectorTileLayer 瓦片没有正常更新的问题 #2816

Fixes

  • Fix outdated tile cache of vt layer on terrain, #2816

maptalks-gl@0.124.0 maptalks@1.12.0 Released

06 Feb 03:23

Choose a tag to compare

Features

  • InfoWindow 新增两个新的设置 horizontalAlignment 和 verticalAlignment, #2813
  • 优化了map上 resizeObserver 相关逻辑 #2809

Fixes

  • 解决webgpu上与天气,draco解析,地形压平等相关的若干bug

Contributors

@fuzhenn @deyihu


Features

  • InfoWindow now includes two new settings: horizontalAlignment and verticalAlignment, #2813
  • Optimized the resizeObserver-related logic on the map #2809

Fixes

  • Fixed several bugs related to weather, Draco parsing, terrain flattening, etc. on WebGPU

Contributors

@fuzhenn @deyihu

maptalks-gl@0.123.0 maptalks@1.11.0 Released

28 Jan 07:28

Choose a tag to compare

Breaking changes

  • @maptalks/gpu 不再是 @maptalks/gl 的webgpu版本,而改成为 @maptalks/gl 提供wgsl代码管理功能

Features

  • maptalks.Util 新增 warnOnce方法

Breaking changes

  • @maptalks/gpu is no longer the webgpu version of @maptalks/gl, but is changed to provide wgsl code management functionality for @maptalks/gl

Features

  • Added warnOnce method to maptalks.Util

maptalks-gl@0.122.0 Released

27 Jan 04:31

Choose a tag to compare

Features

  • gltf-loader中新增几个扩展支持: structrual_metadata, mesh_features, gpu_instancing, #2802

Features

  • add support for mesh_features, structural_metadata, gpu_instancing extensions in gltf-loader (#2802)

maptalks-gl@0.121.0 maptalks@1.10.0 Released

26 Jan 09:13

Choose a tag to compare

Features

  • map.fitExtent 方法考虑海拔 #2791
  • webgl图层,icon资源适配ResourceProxy, #2794
  • DrawTool 上新增 realRectangle 和 freehandRealRectangle 两个新模式, #2792 #1583
  • VectorTileLayer 新增对 sdf 字体的支持 #2787
        new maptalks.VectorTileLayer("baselayer", {
            urlTemplate: `path/to/{z}/{x}/{y}`,
            sdfURL: "./glyphs/{fontstack}/{range}.pbf",
            style: `./style.json`,
          }).addTo(groupLayer);

Fixes

  • 解决webgpu上若干bug
  • map 拖动或缩放过程中,忽略click事件 #2789
  • 解决 VectorTileLayer 样式无法同时加载 glb 和 gltf 模型的bug #2800

Contributors

@fuzhenn @deyihu @HGX-DJK @ipcjs


Features

  • The map.fitExtent method now takes altitude into account #2791
  • WebGL layer, icon resources adapted to ResourceProxy, #2794
  • Added two new modes, realRectangle and freehandRealRectangle, to DrawTool #2792 #1583
  • VectorTileLayer added support for SDF fonts #2787
        new maptalks.VectorTileLayer("baselayer", {
            urlTemplate: `path/to/{z}/{x}/{y}`,
            sdfURL: "./glyphs/{fontstack}/{range}.pbf",
            style: `./style.json`,
          }).addTo(groupLayer);

Fixes

  • Fixed several bugs on WebGPU
  • Ignore click events during map dragging or zooming #2789
  • Fixed the bug where VectorTileLayer style could not load glb and gltf models simultaneously #2800

Contributors

@fuzhenn @deyihu @HGX-DJK @ipcjs

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