Releases: maptalks/maptalks.js
Releases · maptalks/maptalks.js
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
V0.40.4 Released
V0.40.3 Released
Features
- Add a new method
toJSON
in SpatialReference - Add a new method
pointToDistance
in Map - Add a new method
onLoadEnd
in Layer
Improvements
- Improve tooltip's user experience, as #695
- Sync overview control when zooming
- Improve map's rotation sliding
Fixes
- Fix circle.getShell
- Fix rectangle draw when map rotate, close #617
- Fallback to build-helper 0.4.3 for webpack 4, close #693
- Fix infowindow's offset on some markers, close #678
- Not rebuild uimarker's dom on zoom end, close #688
- Fix tilelayer's bug with invisible container, close #692
Contributors
@zhangpeichuan001 @1dent1ty
V0.40.2 Released
Fixes
- Fix a bug of tile cascade, as #679
- Fix a compatibility regression bug of dom plugins