Releases: maptalks/maptalks.js
Releases · maptalks/maptalks.js
maptalks-gl@0.124.3 Released
maptalks-gl@0.124.2 maptalks@1.12.1
maptalks-gl@0.124.1 released
maptalks-gl@0.124.0 maptalks@1.12.0 Released
Features
- InfoWindow 新增两个新的设置 horizontalAlignment 和 verticalAlignment, #2813
- 优化了map上 resizeObserver 相关逻辑 #2809
Fixes
- 解决webgpu上与天气,draco解析,地形压平等相关的若干bug
Contributors
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
maptalks-gl@0.123.0 maptalks@1.11.0 Released
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
maptalks-gl@0.121.0 maptalks@1.10.0 Released
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
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
maptalks-gl@0.120.0 maptalks@1.9.0 Released
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
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
tmsoption 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
maptalks-gl@0.119.0 maptalks@1.8.0 Released
Features
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
maptalks-gl@0.118.1 maptalks@1.7.1 Released
Fixes
- Fix error in Height3DTool
- Fix DrawToolLayer.removeGeometry