Releases: maptalks/maptalks.js
Releases · maptalks/maptalks.js
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)
Contributors
V0.44.2 Released
小改进
- map对象上增加VERSION属性
- 在DrawTool的geometry生成方法参数中增加了drawTool对象引用
修正
- 修正node环境下,devicePixelRatio的bug
- 修正ToolTip无法设置width和height的bug
- 修正pie矢量marker的sprite生成
- 修正图层为gl renderer时,无法正确clip的bug,#909
- 修正extent的投影逻辑,并解决一个相关的maxExtent的bug,#899
贡献者
Minor Features
- Add VERSION property in map instance
- Add drawtool reference in drawtool geometry generation methods
Fixes
- Fix devicePixelRatio in node environment
- Fix tooltip can't set width and height
- Fix pie vector marker's sprite
- Fix layer clip with gl renderer, as #909
- Fix extent's projection and a related bug with maxExtent, as #899
Contributors
V0.44.0 Released
Features
- add a new Handler
autoPanAtEdge
, #877 - add
default
support in function type - add
checkSizeInterval
option to map - add 'devicePixelRatio' option and
getDevicePixelRatio()
in map, as #869
Fixes
- fix conflict with vue's object reactivating
- fix a bug of ImageLayer when viewing images in earth scale, as #887
- fix custom infowindow's position, as #873
- let OverlayLayer.filter return array, fix #881
- change anti-meridian direction, fix #888
- fix coordinate direction in TileConfig.getTilePrjNW
- fix map.panBy's direction, as #879
- fix DistanceTool's disable, as #865
- retire image glbuffer if needs to, fix #861
Contributors
新特性
- 增加新的map handler: autoPanAtEdge, 鼠标移动到地图边缘后会自动滑动 #877
- function type 中增加default的支持
- map option 中增加 checkSizeInterval,用于指定容器变化的检查间隔时间
- map option 中增加 devicePixelRatio,用于自定义devicePixelRatio, 并在map上增加 getDevicePixelRatio() 方法
修正
- 修正与vue reactivating的对象检查的冲突
- 修正ImageLayer绘制大尺度图片时会消失的问题 #887
- 修正自定义信息框的位移, #873
- OverlayLayer.filter 返回数组,修正 #881
- 改变 anti-meridian 图形的绘制方向,修正 #888
- 修正 TileConfig.getTilePrjNW 中的坐标方向
- 修正 map.panBy 的方向,#879
- 修正 DistanceTool 只绘制一个点时的disable, #865
- 在必要时删除 image glbuffer,修正一些绘制错误,fix #861