maptalks/maptalks.js
 Watch   
 Star   
 Fork   
24 days ago
maptalks.js

maptalks V1.4.0 Released

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的逻辑
2025-07-28 11:31:37
maptalks.js

maptalks V1.3.0 released

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)
2025-07-15 11:51:47
maptalks.js

maptalks V1.2.1 Released

Fixes

  • fix missing terrain in map's event (#2578)
2025-07-11 18:55:20
maptalks.js

maptalks V1.2.0 Released

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) 翻译说明:
2025-05-30 11:39:24
maptalks.js

maptalks V1.1.3 Released

Bug Fixes

  • fix ResourceCacheMap error when url is number (#2551)
  • UI support only update position when geometry coordinates change (#2555)
  • TileLayer.getTiles null defense (#2556)

Bug Fixes

  • 修复URL为数字时ResourceCacheMap报错的问题 (#2551)
  • UI现在支持仅在地理坐标变化时更新位置 (#2555)
  • 增加TileLayer.getTiles方法的空值防御 (#2556)
2025-05-08 17:33:14
maptalks.js

maptalks V1.1.2 Released

Bug Fixes

  • fix requestAnimFrame error when Object.freeze(exports) (#2549)
2025-05-08 13:53:27
maptalks.js

maptalks V1.1.1 Released

Features

  • add map.options.queryTerrainInMapEvents to control whether to query terrain in map's events
2025-05-08 12:03:15
maptalks.js

maptalks v1.1.0 released

Features

  • markerPlacement support 'vertex-firstlast' #2532

Improvements

  • Layer RourceCache support ImageBItMap key #2524
  • Improve map.getDevicePixelRatio performance #2536
  • Optimize the rendering performance of a large number of canvas layers (#2541)

Bug fixes

  • remove map animation when remove #2526

Features

  • markerPlacement新增支持'vertex-firstlast'首尾顶点模式 #2532

Improvements

  • 图层资源缓存支持ImageBitmap键值 #2524
  • 提升map.getDevicePixelRatio方法性能 #2536
  • 优化大量Canvas图层的渲染性能 (#2541)

Bug Fixes

  • 移除地图时同步清除动画效果 #2526
2025-03-04 15:12:19
maptalks.js

maptalks V1.0.5 Released

Fixes

  • Change tile's mag filter to linear when devicePixelRatio is not 1
2025-03-04 10:17:05
maptalks.js

maptalks V1.0.4 released

What's Changed

New Contributors

Full Changelog: https://github.com/maptalks/maptalks.js/compare/v1.0.0...v1.0.4