Skip to content

V0.28.0 Released

Compare
Choose a tag to compare
@fuzhenn fuzhenn released this 14 Sep 09:22
· 6568 commits to master since this release

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