New
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
- 解决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