Skip to content

Releases: maptalks/maptalks.js

maptalks V1.4.4 Released

09 Sep 10:08

Choose a tag to compare

Fixes

  • Add map.options.tileBackgroundLimitPerFrame to control how many background tileLayers to draw per frame (#2626)
  • Improve the type safety and robustness of container inspection logic. #2622

Fixes

  • 添加 map.options.tileBackgroundLimitPerFrame 选项,用于控制每帧绘制的背景瓦片图层数量 (#2626)
  • 改进容器检查逻辑的类型安全性和健壮性 #2622

maptalks-gl V0.113.2 Released

09 Sep 10:10

Choose a tag to compare

Fixes

  • Fix GeoJSONVectorTileLayer.clear() (#2625)
  • fix ImageMesh's default alphaTest
  • use rollup-plugin-copy for style-build (#2624)
  • More stable VectorTileLayer specs

Fixes

  • 修复 GeoJSONVectorTileLayer.clear() 方法 (#2625)
  • 修正 ImageMesh 的默认 alphaTest 值
  • 在样式构建中使用 rollup-plugin-copy 插件 (#2624)
  • 优化 VectorTileLayer 测试的稳定性

maptalks V1.4.3 Released

08 Sep 03:37

Choose a tag to compare

Fixes

  • Fix LayerAbstractRenderer resize

maptalks-gl V0.113.1 Released

08 Sep 03:38

Choose a tag to compare

Fixes

  • Fix compatiblity with ThreeLayer

maptalks V1.4.2 Released

05 Sep 10:42

Choose a tag to compare

Features

  • add new method map.lookAt, #2595
  • Implement symbol.lineStrokeColor, #2600

Bug Fixes

  • fix ui collision when collision state change #2608
  • fix Geometry.edit open shadowDraggable, #2604
  • fix Sector _containsPoint by graphical method, #2617

maptalks-gl V0.113.0 Released

05 Sep 10:48

Choose a tag to compare

Features

  • The VectorTileLayer has added a terrain-flat-mask rendering plugin, which allows setting a flat mask (FlatMask) for the terrain using vector tiles, Example
  • The maptalks/gl-layers project is officially retired
  • Testing for @maptalks/vt and @maptalks/layer-3dtiles has been migrated to CircleCI for automated execution

Fixes

  • Fixed several bugs in the VectorTileLayer

Features

  • VectorTileLayer图层增加了terrain-flat-mask渲染插件,可以通过矢量瓦片给地形设置挖平遮罩(FlatMask),示例
  • maptalks/gl-layers 工程正式退休
  • @maptalks/vt与@maptalks/layer-3dtiles测试迁移到CircleCI自动运行

Fixes

  • 修改了VectorTileLayer上若干bug

maptalks V1.4.0 Released

05 Aug 09:19

Choose a tag to compare

Features

  • Added the map.lookAt method, which positions the camera at a specified distance and aligns it to a given 3D coordinate
map.lookAt({
    coordinates: [110, 49],
    pitch: 45,
    bearing: 0,
   // camera's distance to coordinates in meters
    distance: 600
});
  • Added the shadowDraggable option to Geometry.edit

Fixes

  • Fixed the issue where GeometryCollection.getExtent returned incorrect results
  • Improve of Geometry.updateSymbol

新特性

  • map上增加lookAt方法,用于将相机以指定距离对准指定三维坐标
map.lookAt({
    coordinates: [110, 49],
    pitch: 45,
    bearing: 0,
   // camera's distance to coordinates in meters
    distance: 600
});
  • Gometry.edit增加 shadowDraggable 选项

Bug修改

  • 解决GeometryCollection getExtent返回错误结果的问题
  • 优化了Geometry.updateSymbol的逻辑

maptalks V1.3.0 released

28 Jul 04:10
83cce4d

Choose a tag to compare

Features

  • symbol VectorMarker support roundrectangle type (#2587)

Improvements

  • optimize Geometry.updateSymbol (#2585)

Fixes

  • fix map.pointAtResToAltitude when point < 0 which caused jumping when moving map with terrain below sea level
  • fix Path animateShow missing z (#2581)

新特性

  • 矢量标记(symbol VectorMarker)新增支持圆角矩形类型(roundrectangle) (#2587)

优化改进

  • 优化Geometry.updateSymbol方法的性能 (#2585)

问题修复

  • 修复map.pointAtResToAltitude在坐标小于0时的问题,该问题导致海平面以下地形移动时出现跳跃现象
  • 修复Path动画显示(animateShow)缺失z值的问题 (#2581)

maptalks V1.2.1 Released

28 Jul 04:08

Choose a tag to compare

Fixes

  • fix missing terrain in map's event (#2578)

maptalks V1.2.0 Released

28 Jul 04:08

Choose a tag to compare

Features

  • map support options.mousemoveThrottleEnable (#2573)

Bug Fixes

  • getFitZoomForCamera z value null defense (#2558)
  • fix map jump when moving map with terrain, 0 pitch and 0 bearing, set map.isTransforming() to true when map has terrain
  • fix TileLayer draw error when fetch tile is error (#2570)
  • fix MultiGeometry setProperties (#2566)
  • TileLayer loadTileBitmap support abort (#2563)

Features

  • 地图新增支持 options.mousemoveThrottleEnable 节流选项 (#2573)

Bug Fixes

  • 增加 getFitZoomForCamera 方法对 z 值为空的防御处理 (#2558)
  • 修复地形模式下移动地图时(pitch=0/bearing=0)的跳跃问题,当地形启用时设置 map.isTransforming() 为 true
  • 修复 TileLayer 在获取瓦片失败时的绘制错误 (#2570)
  • 修复 MultiGeometry 的 setProperties 方法问题 (#2566)
  • TileLayer 的 loadTileBitmap 方法新增支持中断加载 (#2563)
    翻译说明: