Skip to content

Releases: maptalks/maptalks.js

V0.43.0 Released

28 Jan 14:36
Compare
Choose a tag to compare

Features

  • Add a new method getListeningEvents in Eventable
    Eventable Mixin增加了一个新的方法:getListeningEvents
  • (@lifefriend ) Add a new option 'tileRetryCount' in TileLayer, as #853
    TileLayer增加新的 option tileRetryCount 用于设置瓦片重试次数

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

@lifefriend @XiangLiLiang @deyihu

V0.42.2 Released

23 Dec 07:12
Compare
Choose a tag to compare

Minor Features

  • Add zoomOffset option in TileLayer to specify tile's zoom offset from map's zoom.

Enhancements

  • Ignore tiles out of tilelayer's full extent, as #825
  • Can set crossOrigin to undefined to override tile's default crossOrigin value, as #826

Fixes

  • Fix UIComponent autopan's top position (#831), fix #830
  • Fire hide event after animation (#833), fix #832
  • Fix infinite loop of an edge case for baidu projection
  • Fix changing spatial reference by config

V0.42.1 Released

20 Nov 13:12
Compare
Choose a tag to compare

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

@wxia5

V0.42.0 Released

14 Oct 15:08
Compare
Choose a tag to compare

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 and rotateWithMap 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

  • Fix WMSTileLayer's initial zIndex, as #780
  • Fix setView with pitch, bearing and zoom is 0, as #794

Enhancements

  • Check if tile is out of map's extent, as #778 and #768

Thanks to

@Liquid-Zhangliquan @davidweining2333 @alex2wong @deyihu @treasureMoment

V0.41.1 Released

03 Sep 08:28
Compare
Choose a tag to compare

Fixes

  • Fix bad mangled maptalks.min.js by uglify 3.4.x, rollback to uglify 3.3.28

V0.41.0 Released

02 Sep 14:23
Compare
Choose a tag to compare

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 and handledragend, as #754
  • InfoWindow content now supports html element and fire hide 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

10 Jul 02:01
Compare
Choose a tag to compare

Fixes

  • Fix missing maptalks.es.js on npm

V0.40.4 Released

18 Jun 15:13
Compare
Choose a tag to compare

Fixes

  • Fix animateShow animation of line with smoothness
    animline 3

V0.40.3 Released

11 Jun 09:31
Compare
Choose a tag to compare

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

18 May 14:57
Compare
Choose a tag to compare

Fixes

  • Fix a bug of tile cascade, as #679
  • Fix a compatibility regression bug of dom plugins