maptalks V1.4.0 Released
- 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
- 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 选项
- 解决GeometryCollection getExtent返回错误结果的问题
- 优化了Geometry.updateSymbol的逻辑
maptalks V1.3.0 released
- symbol VectorMarker support roundrectangle type (#2587)
- optimize Geometry.updateSymbol (#2585)
- 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.0 Released
- map support options.mousemoveThrottleEnable (#2573)
- 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)
- 地图新增支持 options.mousemoveThrottleEnable 节流选项 (#2573)
- 增加 getFitZoomForCamera 方法对 z 值为空的防御处理 (#2558)
- 修复地形模式下移动地图时(pitch=0/bearing=0)的跳跃问题,当地形启用时设置 map.isTransforming() 为 true
- 修复 TileLayer 在获取瓦片失败时的绘制错误 (#2570)
- 修复 MultiGeometry 的 setProperties 方法问题 (#2566)
- TileLayer 的 loadTileBitmap 方法新增支持中断加载 (#2563) 翻译说明:
maptalks v1.1.0 released
- markerPlacement support 'vertex-firstlast' #2532
- Layer RourceCache support ImageBItMap key #2524
- Improve map.getDevicePixelRatio performance #2536
- Optimize the rendering performance of a large number of canvas layers (#2541)
- remove map animation when remove #2526
- markerPlacement新增支持'vertex-firstlast'首尾顶点模式 #2532
- 图层资源缓存支持ImageBitmap键值 #2524
- 提升map.getDevicePixelRatio方法性能 #2536
- 优化大量Canvas图层的渲染性能 (#2541)
- 移除地图时同步清除动画效果 #2526
maptalks V1.0.4 released
- Fix: add types to parameters by @Eshmanski in https://github.com/maptalks/maptalks.js/pull/2479
- feat:Geomerty adds two function: undoEditcheck and redoEditcheck, which are used to determine whether the edit can continue to undo and redo, respectively by @minemine-m in https://github.com/maptalks/maptalks.js/pull/2483
- fix: MultiGeometry supports undoEditCheck, redoEditCheck, undoEdit, redoEdit by @minemine-m in https://github.com/maptalks/maptalks.js/pull/2487
- fix Layer opacity lose efficiency when it has Mask by @deyihu in https://github.com/maptalks/maptalks.js/pull/2502
- round UI position css value by @deyihu in https://github.com/maptalks/maptalks.js/pull/2503
- fix gradientPath color alpha Not effective by @deyihu in https://github.com/maptalks/maptalks.js/pull/2505
- Canvas.getImageData error defense by @deyihu in https://github.com/maptalks/maptalks.js/pull/2508
- fix Vector Marker getFixedExtent by @deyihu in https://github.com/maptalks/maptalks.js/pull/2512
- @Eshmanski made their first contribution in https://github.com/maptalks/maptalks.js/pull/2479
Full Changelog: https://github.com/maptalks/maptalks.js/compare/v1.0.0...v1.0.4