Releases: maptalks/maptalks.js
Releases · maptalks/maptalks.js
V0.48.0 Released
V0.47.5
V0.47.4
V0.47.3 Released
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
V0.47.1 Released
Fixes
- Fixed a null pointer in TileLayerCanvasRenderer.getTileOpacity
V0.47.0 Released
新功能
- 实现了无限远地平线,及分层的瓦片载入机制
- VectorLayer的options中添加了hitDetect选项,用于控制是否开启鼠标检测 #1040
- Geometry上增加cancelEdit方法,用于一次性取消所有的编辑,#1047
bug修改
贡献者
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
V0.46.0 Released
不兼容变化
- 为了更好的兼容三维渲染,世界坐标系改为与 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
- For better 3D rendering, change to opengl's world coordinate system, as maptalks/maptalks.three#30
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
V0.45.0 Released
新功能
- 实现了无级缩放,在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),结束后恢复
贡献者
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)