Skip to content

Releases: maptalks/maptalks.js

V0.42.2 Released

23 Dec 07:12

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

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

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

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

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

Choose a tag to compare

Fixes

  • Fix missing maptalks.es.js on npm

V0.40.4 Released

18 Jun 15:13

Choose a tag to compare

Fixes

  • Fix animateShow animation of line with smoothness
    animline 3

V0.40.3 Released

11 Jun 09:31

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

Choose a tag to compare

Fixes

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

V0.40.1 Released

15 May 04:50

Choose a tag to compare

Features

  • [example] Add a new Layer, ImageLayer, to add images with geographic extent on map.

    image

  • [example] Add new modes to DrawTool: FreeHandPolygon, FreeHandLineString.

    freeline 1

  • [example] Add 4 new symbol properties: linePatternDx, linePatternDy, polygonPatternDx, polygonPatternDy, for pattern animation.

    animpattern 1

Enhancements

  • Significantly improve TileLayer's performance by introducing 2 new options: cascadeTiles, minPitchToCascade

Fixes

  • Fix identify of arc curves, as #666
  • Fix shadow rendering of text halo, as #671
  • Fix cursor style on retina screen, as #668
  • Fix infowindow's position with loading images, as #657

Contributors

❤️ Thanks @sakitam-fdd for DrawTool updates and @liubgithub for ImageLayer