Skip to content

V0.46.0 Released

Compare
Choose a tag to compare
@fuzhenn fuzhenn released this 15 Nov 06:41
· 935 commits to master since this release

不兼容变化

  • 为了更好的兼容三维渲染,世界坐标系改为与 opengl 坐标系一致,具体可以参考: maptalks/maptalks.three#30
    这次修改对核心库没有影响,但可能引起老版本的threeLayer等webgl图层插件的绘制错误

新功能

  • map.getFitZoom(fromZoom, isFractional) 增加isFractional参数,允许返回非整数级别, #1014
  • 允许ToolTip支持其他各类图形
  • VectorLayer.addGeometry的fitView参数可以用对象的形式,来添加fitView动画, #1011

bug修改

  • 解决文字不对齐的问题, #1019
  • 解决geometry.startEdit会生成多次编辑handle的问题,#915
  • 解决动态大小的marker不正确的事件响应,#1029
  • 解决开启smooth的线某些时候绘制不正确的问题, #930
  • 解决geometry动画移图时,TileLayer不重绘的问题 #1028

贡献者

@deyihu @sakitam-fdd @geek4go

Breaking Changes

Features

  • map.getFitZoom(fromZoom, isFractional) add isFractional param, allow to return zoom with fraction. #1014
  • Allow ToolTip to support other graphics other than VectorLayer geometries.
  • VectorLayer.addGeometry's fitView supports object, to add map animation. #1011

Fixes

  • Fix label alignment, #1019
  • Fix multiple generation of editor handle when calling geometry.startEdit for multiple times, #915
  • Fix marker's incorrect event fire of markers with dynamic size, #1029
  • Fix wrong drawing of LineString with smoothness turning on, #930
  • Fix rendering of TileLayer during geometry.animate

Contributors

@deyihu @sakitam-fdd @geek4go