Skip to content

Releases: maptalks/maptalks.js

V0.48.0 Released

30 Jul 12:27
Compare
Choose a tag to compare

Features

  • Add altitude option in VectorLayer

Fixes

  • Fix rectangle and circle edting bugs, #1161
  • Fix redo/undo of DistanceTool and AreaTool
  • Fix map.checkSize when map is tilting
  • Fix document monitor visibilitychange, #1177

Contributors

@deyihu @blackOfMelody

V0.47.5

24 Jun 08:42
Compare
Choose a tag to compare

Fixes

  • Fix wheel zoom on firefox, #1151
  • Fix warning of passive wheel event, #1149

V0.47.4

24 Jun 02:57
Compare
Choose a tag to compare

Fixes

  • Fix compability of dom based plugins, #1152

V0.47.3 Released

19 Jun 10:15
Compare
Choose a tag to compare

Fixes

  • 解决地图动画时卡死的问题, #1131
  • 解决options中maxExtent不生效的问题,#1136
  • 解决尺寸很大的ellipse绘制问题,#1135
  • 解决DistanceTool/AreaTool的redo/undo, #1133, #1130
  • 解决动画时,markerFile不加载的问题,#1129
  • 解决有高度的marker,InfoWindow位置不对的问题, #1121
  • 解决GeometryCollection的拖动,#1099
  • 解决Polygon没有clipping的问题, #1115
  • 解决编辑线时,第一次undo不起作用的问题,#1087
  • 解决GeoJSON.toGeometry中forEach函数geometry缺少properties的bug,#1074
  • 解决百度投影下,跨日期线的animateShow的bug,#1061

Fixes

  • Fix frozen map when animating, #1131
  • Fix options.maxExtent of map, #1136
  • Fix large ellipse's painting, #1135
  • Fix DistanceTool/AreaTool's redo/undo, #1133
  • Fix unloaded markerFile while map is animating, #1129
  • Fix InfoWindow's position when marker has altitude, #1121
  • Fix dragging of GeometryCollection, #1099
  • Fix polygon's clipping, #1115
  • Fix unworked undo when editing LineString, *1087
  • Fix missing properties in GeoJSON.toGeometry, #1074
  • Fix line's animateShow when it crosses meridian under baidu projection, #1061

V0.47.2 Released

10 Jun 02:49
Compare
Choose a tag to compare

Fixes

  • Fix interaction on mobile phones, as #1139

Contributors

@leoneljdias

V0.47.1 Released

08 Jun 03:51
Compare
Choose a tag to compare

Fixes

  • Fixed a null pointer in TileLayerCanvasRenderer.getTileOpacity

V0.47.0 Released

18 Feb 09:11
Compare
Choose a tag to compare

新功能

  • 实现了无限远地平线,及分层的瓦片载入机制
  • VectorLayer的options中添加了hitDetect选项,用于控制是否开启鼠标检测 #1040
  • Geometry上增加cancelEdit方法,用于一次性取消所有的编辑,#1047

bug修改

  • 资源保留相对路径,不再自动转换为绝对路径, #1051
  • 解决与跨日期线有关的若干bug,#1068
  • 解决多次拖动地图变灰的问题,#1065

贡献者

@sakitam-fdd

Features

  • Implement infinite horizon and cascade tiles loading.
  • Add hitDetect option to VectorLayer to control hit detect, #1040
  • Add cancelEdit to Geometry to cancel all edits, #1047

Fixes

  • Reserve relative path of resources #1051
  • Resolve bugs related with anti-meridian, #1068
  • Resolve grey map after dragging map rapidly for several times, #1065

Contributors

@sakitam-fdd

V0.46.0 Released

15 Nov 06:41
Compare
Choose a tag to compare

不兼容变化

  • 为了更好的兼容三维渲染,世界坐标系改为与 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

V0.45.1 Released

17 Sep 03:37
Compare
Choose a tag to compare

Fixes

V0.45.0 Released

09 Sep 13:02
Compare
Choose a tag to compare

新功能

  • 实现了无级缩放,在map中用 seamlessZoom: true 开启
  • GeoJSON.toGeometry, 增加forEach参数, #959
  • map增加zoomOrigin(container坐标)设置,用于指定自定义的缩放中心点

改进

  • 内部逻辑尽量重用对象和数组,减少新对象创建以减少GC

bug修改

  • 解决缩放后,偶发性绘制错误,#962
  • 解决WMS瓦片之间的绘制空隙, #961
  • 解决不同投影下,瓦片错位的问题, #939
  • markerPath支持function-type, #966
  • 解决Y轴平行的line,用pattern填充时,消失的问题, #977
  • 解决debug的文字内容, #978
  • 解决maxExtent回弹的问题,#985 #970
  • 解决旋转时的map.panBy
  • 地图动画时(缩放)暂停用户动画(map.animateTo),结束后恢复

贡献者

@XiangLiLiang @sakitam-fdd


Features

  • implement seamless zooming, turn on by seamlessZoom: true in map's options
  • add forEach callback to GeoJSON.toGeometry method, #959
  • add zoomOrigin (containerPoint) to set customized zooming origin

Improvements

  • Reuse array and object in internal methods, to reduce new object creation

Fixes

  • Fix occasional wrong painting at zoom end, #962
  • Fix white gap between WMS tiles, #961
  • Fix incorrection position of tiles of different projections, #939
  • Let markerPath to support function-type, #966
  • Fix disappeared line with pattern fill that aligns with Y axis, #978
  • Fix bouncing back at world level, #970 #985
  • Fix map.panBy with bearing
  • Resume user's animation after map's internal animation (zooming etc)

Contributors

@XiangLiLiang @sakitam-fdd