Skip to content

Releases: maptalks/maptalks.js

V0.32.3 Released

21 Oct 18:00

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

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

Choose a tag to compare

Features

Improvements

  • Improve map dragging when tilting

V0.32.0 Released

19 Oct 13:22

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

V0.31.0 Released

13 Oct 16:38

Choose a tag to compare

Features

  • Fractional zooming on mobile
  • Add a new Layer GroupTileLayer
  • Add 2 new methods on map hasPreviousView() and hasNextView() for view history

Fixes

  • Use jsonp instead of xhr to load arcgis config to avoid CORS blocking
  • Fix map bouncing when hitting min/max zoom
  • Fix tile gap of tilelayer on mobile
  • Fix map.getZoomForScale
  • Fix background painting when rotating canvas tilelayer

Breaking Changes

  • Change getPreviousView and getNextView to zoomToPreviousView and zoomToNextView

V0.30.2 Released

07 Oct 08:34

Choose a tag to compare

Fixes

  • Fix dxdy in marker symbolizers
  • Add validity check in spatial reference full extent

V0.30.1 Released

04 Oct 10:00

Choose a tag to compare

Fixes

  • Fix maptalks.Util.now()

V0.30.0 Released

04 Oct 06:11

Choose a tag to compare

Features

  • Replace TileLayer's dom renderer with gl renderer (webgl)
  • Add a new event "mouseenter" in geometry's events
  • Add "canvascreate" event in CanvasRenderer
  • Add support of "identity" in function-type
  • Add "drawAltitude" for geometry with altitude
  • Add support of seperate altitude for each vertex of LineString

Fixes

  • Fix overview control perspective with pitch and rotation
  • Fix text's dxdy with rotation
  • Fix once's off in Eventable

Breaking changes

  • Rename VectorLayer "enableHeight" to "enableAltitude", "heightProperty" to "altitudeProperty", and change default altitude property to "altitude"
  • Change attribution control's default position

V0.29.0 Released

16 Sep 07:59

Choose a tag to compare

Features

  • Add getCenterInExtent in LineString/Polygon/MultiLineString/MultiPolygon to get center of intersection between geometry and given extent
  • Add dom parameter in map.requestFullScreen

Fixes

  • Fix menu dom's style updating

Contributors

@1dent1ty

V0.28.0 Released

14 Sep 09:22

Choose a tag to compare

Features

  • Support dom element for attribution control
  • Add a new map handler Map.BoxZoom
  • Add Map.animateTo for map animation
  • Add Map.isFullScreen (by @1dent1ty)
  • Add UIComponent.getOwnerEvents
  • Add Map.isAnimating and map.isRotating
  • Add a new markerType rectangle
  • Add Map.getPreviousView Map.getNextView getViewHistory for map view history
  • Add Geometry.redoEdit Geometry.undoEdit (proposed by @axmand)
  • Add LineString.animateShow and Polygon.animateShow (inspired by @NStal)
  • Add DrawTool.redo and DrawTool.undo
  • Mimic dblclick with touch events on mobiles
  • Add dragstart/dragging/dragend events to Panel Control
  • Add UIMarker.flash
  • Add canvas option in Layer to replace default canvas with your own canvas element
  • Add getCenterInExtent in LineString/Polygon/MultiLineString/MulPolygon to get center of intersection between geometry and extent
  • Add css option in Overview Control

Fixes

  • Improve geometry rendering performance by clipping (inspired by Leaflet)
  • Improve user experience of map wheel zooming
  • Signifantly improve text rendering performance by caching text measurement
  • Fix geometry renderering in anti-meridian
  • Lots of other fixes

Breaking Changes

  • rename JSONAble.getClass to getJSONClass
  • reimplement TextBox and Label, see #462

Contributors

@axmand
@1dent1ty
@NStal