Releases: maptalks/maptalks.js
Releases · maptalks/maptalks.js
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
贡献者
V0.43.0 Released
Features
- Add a new method
getListeningEvents
in Eventable
Eventable Mixin增加了一个新的方法:getListeningEvents
- (@lifefriend ) Add a new option 'tileRetryCount' in TileLayer, as #853
TileLayer增加新的 optiontileRetryCount
用于设置瓦片重试次数
Fixes
- (@deyihu )Fix simplify of polygon with holes, as #804
解决带洞多边形简化的一个bug, #804 - Draw to a temparary canvas when polgyon has hole, fix #850
将带洞多边形绘制在一个临时canvas上,解决 #850 - Fix error of line gradient out of screen, as #834
解决屏幕之外的 line gradient 会报错的bug,#834 - Fix containerExtent of LineString with altitude, as #847
解决有高度的LineString的容器范围,#847 - Fix tile's full index in a given extent, as #825
修正给定范围内的瓦片序号计算, #825
Contributors
V0.42.2 Released
V0.42.1 Released
Minor Feature
- Add
fixCenterOnResize
to map to fix map's center when resizing
Fixes
- Fix blank tiles of TileLayer with dynamic offset, as #815
- Fix LineString animateShow with with empty coordinates, as #808
- Fix null of context with retina screen, as #802
- Fix missing handledragstart event of geometry editor (#810)
Contributor
V0.42.0 Released
Features
- Add a new option
interactive
in Geometry to enable/disable interaction, as #781 - Add
containerClass
option to ScaleControl to customize its css style, as #792 - Add 2 new options
pitchWithMap
androtateWithMap
to UIComponent, to enable UIMarker rotate and tilt with map, as #766 - Add ToolTip support to UIMarker, as #799
- Add support of MultiPolygon to layer's mask, as #801
Fixes
Enhancements
Thanks to
@Liquid-Zhangliquan @davidweining2333 @alex2wong @deyihu @treasureMoment
V0.41.1 Released
Fixes
- Fix bad mangled
maptalks.min.js
by uglify 3.4.x, rollback to uglify 3.3.28
V0.41.0 Released
Fixes
- Fix invalid mask when adding removed TileLayer to map again, as #713
- Fix extent clipping of geometry on VectorLayer, as #721
- Fix a bug in UIMarker's removal, as #748
- Fix getEventContainerPoint with transform scale, as #727
- Fix overview green extent's dragging when map size changes, as #736
- Fix drawtool redo, as #705
- Fix identity projection's rotation, as #726
- Fix infowindow's position of MultiPoint, as #739
- Fix MultiPolygon's coordinates with child circle, as #725
- Fix blank map when map's pitch animates to 0, as #732 and #762
Features
- Add support of numeric
tileSize
option in TileLayer - Add
animation
support to map.fitExtent, as #734 - Add
getOverviewMap
in OverviewControl - Add 3 new events when editing geometry:
handledragstart
,handledragging
andhandledragend
, as #754 InfoWindow
content now supports html element and firehide
event when closed, as #744
Enhancement
- Upgrade to latest babel@7 and rollup
Contributors
@wordgold @shixuan17 @cooljser @signhuwei @LukasDrgon @hanmag @guzhongren
V0.40.5 Released
Fixes
- Fix missing
maptalks.es.js
on npm