Skip to content

Releases: maptalks/maptalks.js

V0.36.0 Released

06 Dec 14:21
Compare
Choose a tag to compare

Features

  • Add a new option dragRotatePitch to enable map to drag to rotate and tilt at the same time.
    Example
  • Add projection parameter in maptalks.Extent to support extent crossing anti-meridian like from [170, 20] to [-160, 40]
const extent = new maptalks.Extent(170, 20, -160, 40, map.getProjection());
extent.contains([180, 40]); //true
  • Add a new method fromProjectionCode in maptalks.CRS
  • Add a new option removeVertexOn in geometry.startEdit to customize event to remove a vertex
  • Extract a new mixin ImageGLRenderable from TileLayerGLRenderer
  • Add drawTinImage in ImageGLRenderable, prepare for some tin painting
    tin

Fixes

  • Fix a bug when updating spatial reference and swtiching GroupTileLayer's child layer.

Improvements

  • Some perf improvement in layer canvas image rendering

V0.35.1 Released

25 Nov 11:49
Compare
Choose a tag to compare

Features

  • Add a new control maptalks.control.LayerSwitcherControl (example). By @1dent1ty in #547
  • map.addLayer supports rest arguments now
  • Add a new method endDraw method in DrawTool
  • Add two method in Layer, setOpacity and getOpacity
  • Reimplement 3D transform matrixes
  • Add two new symbol properties markerHorizontalAlignment and markerVerticalAlignment
  • Add 4 new event in Map: rotatestart, rotateend, pitchstart and pitchend
  • Add 2 new method in Map: getGLZoom and getGLScale

Fixes

  • Fix several compatible bugs on IE9
  • Fix an error to setCoordinates when geometry is being edited, as #551
  • Fix event on/off with event map object
  • Fix linestring/polygon with altitude's painting
  • Fix wrong extent of rectangle with a reversed fullExtent of identity projection
  • Fix WMS parameters with WMS version < 1.3.0
  • Fix tilelayer's rendering after setting zoom without animation
  • Fix infowindow's reopen, as #546
  • Fix SVG marker painting on firefox, as #543
  • Fix black tile image on IE, as #541

Improments

  • TileLayer, change tile texture's min filter to make tile look more clear

Contributors

@1dent1ty

V0.34.0 Released

10 Nov 03:56
Compare
Choose a tag to compare

Features

  • Add tolerance in map.identify/VectorLayer.identify
  • Add event param in map's moveend/moving event

Fixes

  • Fix bug in Circle/Ellipse.containsPoint, as #532
  • Fix dup contextmenu event, as #533
  • Fix a bug in map.getZoomFromRes influencing map.getFitExtent
  • Fix IS_NODE in nw.js

Improvements

  • Add shorter aliases for coordinate conversion methods
  • Improved Tilelayer's animation performance: demo 示例

V0.33.1 Released

25 Oct 08:30
Compare
Choose a tag to compare

Fixes

  • Fix position of marker's auto open infowindow, as #525

V0.33.0 Released

25 Oct 05:28
Compare
Choose a tag to compare

Features

  • Add a new option "autoOpenOn" to InfoWindow, as #525
  • Add a new event "renderercreate" to Layer

V0.32.4 Released

23 Oct 12:14
Compare
Choose a tag to compare

Fixes

  • Reset map's fpsOnInteracting from 0 to 25, as #526

V0.32.3 Released

21 Oct 18:00
Compare
Choose a tag to compare

Fixes

  • Fix unexpected page scrolling when dragging map by touch events on mobiles, this is a regression bug in v0.32.2.

V0.32.2 Released

20 Oct 11:27
Compare
Choose a tag to compare

Improvements

  • Reduce tiles number to load when tilting
  • Ignore dragging out of map

V0.32.1 Released

20 Oct 08:03
Compare
Choose a tag to compare

Features

Improvements

  • Improve map dragging when tilting

V0.32.0 Released

19 Oct 13:22
Compare
Choose a tag to compare

Features

  • Map can tilt to 80 degree now (60 degree previously)
  • Add 2 more options on map: maxPitch and maxVisualPitch
  • Add autoCloseOn in InfoWindow, as #515, proposed by @shanyipeng

Fixes

  • Fix mouse position offset with 'transform:scale', see #450
  • Fix wrong extent of rectangle with a reversed fullExtent of identity projection