Skip to content

Release 2.28.0

Compare
Choose a tag to compare
@gchoqueux gchoqueux released this 02 Dec 13:03
· 731 commits to master since this release

BREACKING CHANGES

In release 2.28.0, if you instance PlanarView, the view instances also PlanarControls.
If you want instance a another controls, add noControls: true in your PlanarView options.
Otherwise you would have conflicts with both controls.
In your user case, remove old PlanarControls instance.

  • PlanarView: associate a PlanarControls instance to a new PlanarView by default (2c9a0e4)

feature

  • core: expose proj4 defs methods. (619077e)
  • scale 2D: trigger event when 2D map animation is over to detect when scale computation is relevant (bb5758a)

Code Refactoring

  • planar examples: refactor the implementation of PlanarView and PlanarControl in examples which use it to match the refactored PlanarView (with default PlanarControl instantiated) (8ad6a9f)
  • planarControls: refactor planar controls as an ES6 class (348c7e7)

Bug Fixes

  • PlanarControls: fix refactoring errors (6bc812d)
  • PlanarView: fix a refactoring error (63efafe)

Chores

  • npm update lock file. (9c1857d)
  • update packages. (3a422f1)
  • use current node version to test and deploy. (0a7e22b)

examples

  • scale: factorize the updateScaleWidget method as twoo methods declared in Scale.js (00285ff)
  • map 2D and 25D: add scale on 2D and 2.5D map examples (cd4af7e)