Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Release 0.20.0

Compare
Choose a tag to compare
@atomicsulfate atomicsulfate released this 23 Sep 08:22
· 335 commits to master since this release
862a06f

New features

General

  • be5144e Switched from tslint to eslint
  • 94c45bf HARP-11531: Look-at bounds for sphere. (#1830)
  • 0c11f02 HARP-5550: Adds support for GeoBox to wrap around Antimeridian (#1838)

Styling engine

  • 078877d HARP-11089: Handles lineWidth as Expression for ExtrudedPolygonTechniue (#1851)

Examples

  • cf27e73 HARP-11671 Adding mb usage and heading speed to orbit example (#1832)

Changes in dependencies

  • Added @types/stats.js (cf27e73), eslint-plugin-simple-import-sort (1f22c7c).
  • Update node-fetch (395ccdb), three(df5d875)
  • Removed tslint, tslint-config-prettier, tslint-override (be5144e)

API changes

  • 12a3bc9 HARP-11811: Added offset x/y for tilt and heading gestures (#1811)
  • 183e58a MINOR: Add optional filter to markTilesDirty method (#1856)
  • 4af077c HARP-11064: Adds support for HtmlCanvasElement and HtmlImageElement in ImageCache (#1795)
  • a17f002 MINOR: Adds renderOrder support to WebTileDataSource (#1821)
  • 7fefd71 MINOR: Adds support for DataSourceOptions in WebTileDataSource (#1819)

Newly added API

Breaking API changes

  • 7828816 DataProvider interface changes (#1794)
    • DataProvider is now an abstract class. Classes derived from DataProvider must use "extends" instead of "implements",
      and must call super() on constructor.
    • Custom Data sources using DataProvider must call register/unregister instead of connect/dispose.

Fixes

There are also lot of bugfixes. Check the full changelog.

Full changelog

@here/generator-harp.gl v0.19.0..0.20.0

  • d1c5b29 HARP-9420 Add link to tutorial in yeoman generator (#1843)
  • 29858db MINOR: Replace deprecated lookAt API usage in the app generator (#1804)
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.

@here/harp-atlas-tools v0.19.0..0.20.0

  • c1cef73 HARP-11976: Replace svg2png with sharp (#1837)
  • f8336a3 enable eslint return-await
  • 7a6c12a enable lines-between-class-members
  • 96a43ac enable @typescript-eslint/no-for-in-array
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-datasource-protocol v0.19.0..0.20.0

  • a3368ed HARP-11699: Adding minimum geometry height to tiles
  • 83e49fc Made wireframe an automatic property
  • d456f8a HARP-11247: Declare the automatic attributes for the standard techniques.
  • 71486d7 HARP-11247: Declare automatic attributes for solid lines and segments.
  • a0beb96 HARP-11247: Declare the automatic properties of the fill technique.
  • 7311de1 HARP-11247: Introduce automatic attributes.
  • efb4bac HARP-11089: Adds normals for extrudedPolygons even if no edges are available, for correct handling also in Safari (#1842)
  • 563c813 HARP-11784: Fix typo when parsing interpolate operators.
  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • 0e7f880 HARP-11785: Fix exponential interpolations with base equals to 1.
  • e77070a Add visit methods to classify interpolations in when conditions.
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 6ecdb26 HARP-10705: Move technique render order and priority computation to a function.
  • 148feb2 enable eslint prefer-includes check.
  • 7a6c12a enable lines-between-class-members
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-debug-datasource v0.19.0..0.20.0

  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-examples v0.19.0..0.20.0

  • a3368ed HARP-11699: Adding minimum geometry height to tiles
  • 94c45bf HARP-11531: Look-at bounds for sphere. (#1830)
  • cf27e73 HARP-11671 Adding mb usage and heading speed (#1832)
  • 3e8deb7 MINOR: Fixes #1820 raycast not working (#1826)
  • 7a9309d HARP-11772: Fixes boundingbox lines dissapear in example (#1813)
  • 6a0f11a HARP-11771: Fixes unreadable info text in example (#1814)
  • 9ee783e HARP-11779: Fixes bounding box update not as expected in bounds generation example (#1812)
  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • 89f4c03 HARP-11591: Add example showcasing geoToScreen (#1802)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 7828816 HARP-11487: Ensure DataProvider's connect and disposed are called once.
  • 148feb2 enable eslint prefer-includes check.
  • e065fe9 enable eslint prefer-const
  • f8336a3 enable eslint return-await
  • 36fa049 HARP-11574: Supports GeoPolygon in MapView.lookAt (#1771)
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • 7dbd242 MINOR: Added marker example with custom icon (#1780)
  • be5144e Switch to eslint.

@here/harp-features-datasource v0.19.0..0.20.0

  • a3368ed HARP-11699: Adding minimum geometry height to tiles
  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 7a6c12a enable lines-between-class-members
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.

@here/harp-fetch v0.19.0..0.20.0

  • 395ccdb MINOR: Updates node-fetch due to security warning (#1855)
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-geojson-datasource v0.19.0..0.20.0

@here/harp-geometry v0.19.0..0.20.0

  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-geoutils v0.19.0..0.20.0

  • 94c45bf HARP-11531: Look-at bounds for sphere. (#1830)
  • 0c11f02 HARP-5550: Adds support for GeoBox to wrap around Antimeridian (#1838)
  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 7a6c12a enable lines-between-class-members
  • 36fa049 HARP-11574: Supports GeoPolygon in MapView.lookAt (#1771)
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-lines v0.19.0..0.20.0

  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-lrucache v0.19.0..0.20.0

  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-map-controls v0.19.0..0.20.0

  • 525ec55 HARP-11691 Ctrl + click tilts / rotates (#1853)
  • 12a3bc9 HARP-11811: Added offset x/y for tilt and heading gestures (#1811)
  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 7a6c12a enable lines-between-class-members
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-map-theme v0.19.0..0.20.0

  • 04162d3 HARP-11648: Fix attributes in roadshield style
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-mapview-decoder v0.19.0..0.20.0

  • a3368ed HARP-11699: Adding minimum geometry height to tiles
  • 59ff471 HAARP-11468 Change empty payload logic (#1818)
  • 7828816 HARP-11487: Ensure DataProvider's connect and disposed are called once.
  • f8336a3 enable eslint return-await
  • 7a6c12a enable lines-between-class-members
  • d268c1b HARP-11458 Detached tiles don't dispose via VisibleTileSet (#1766)
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-mapview v0.19.0..0.20.0

  • c1d381b HARP-12111: Fix handling of negative tilt angle (#1859)
  • a3368ed HARP-11699: Adding minimum geometry height to tiles
  • 183e58a MINOR: Add optional filter to markTilesDirty method (#1856)
  • 94c45bf HARP-11531: Look-at bounds for sphere. (#1830)
  • 078877d HARP-11089: Handles lineWidth as Expression for ExtrudedPolygonTechniue (#1851)
  • 394f28c Harp 9413 Fixes #1384 issue with incorrect far plane (#1849)
  • 8074de5 Revert "HARP-9413 Fixes #1384 far plane too close in globe (#1834)" (#1847)
  • d456f8a HARP-11247: Declare the automatic attributes for the standard techniques.
  • b996f6e HARP-9413 Fixes #1384 far plane too close in globe (#1834)
  • 71486d7 HARP-11247: Declare automatic attributes for solid lines and segments.
  • a0beb96 HARP-11247: Declare the automatic properties of the fill technique.
  • 7311de1 HARP-11247: Introduce automatic attributes.
  • efb4bac HARP-11089: Adds normals for extrudedPolygons even if no edges are available, for correct handling also in Safari (#1842)
  • 2b089ce HARP-11531: Sphere horizon computation. (#1835)
  • 5056156 HARP-11340: Ignore collision margin when computing text offset (#1836)
  • 12a3bc9 HARP-11811: Added offset x/y for tilt and heading gestures (#1811)
  • 3e8deb7 MINOR: Fixes #1820 raycast not working (#1826)
  • e711539 MINOR: Safeguards width and height accessor on possible null object (#1827)
  • 66a1eb8 HARP-11817: Fixes labels placed outside of frustum (#1816)
  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • 7436af3 HARP-11780: Make events non-global to allow garbage collection of MapView and DataSource (#1807)
  • 89f4c03 HARP-11591: Add example showcasing geoToScreen (#1802)
  • 7ef8249 MINOR: Fix bug in MapViewUtils when chaning tilt and zoom at the same time (#1805)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 4af077c HARP-11064: Adds support for HtmlCanvasElement and HtmlImageElement in ImageCache (#1795)
  • 6ecdb26 HARP-10705: Move technique render order and priority computation to a function.
  • 03e15c0 HARP-11044: Recompute bounding volume * Recompute bounding volume for raycasting if geometry changes.
  • 47729b7 MINOR: Downgrades BoundsGenerator not yet implemented error to warning (#1789)
  • 148feb2 enable eslint prefer-includes check.
  • 61d5ec9 MINOR: Add tests for getGeoCoordinates for sphere projection and disable normalization (#1763)
  • e065fe9 enable eslint prefer-const
  • f8336a3 enable eslint return-await
  • 7a6c12a enable lines-between-class-members
  • 5e68a58 enable no-unused-vars
  • 96a43ac enable @typescript-eslint/no-for-in-array
  • 36fa049 HARP-11574: Supports GeoPolygon in MapView.lookAt (#1771)
  • d268c1b HARP-11458 Detached tiles don't dispose via VisibleTileSet (#1766)
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-materials v0.19.0..0.20.0

  • 078877d HARP-11089: Handles lineWidth as Expression for ExtrudedPolygonTechniue (#1851)
  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 7a6c12a enable lines-between-class-members
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-olp-utils v0.19.0..0.20.0

  • 7828816 HARP-11487: Ensure DataProvider's connect and disposed are called once.
  • f8336a3 enable eslint return-await
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-omv-datasource v0.19.0..0.20.0

@here/harp-test-utils v0.19.0..0.20.0

  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 148feb2 enable eslint prefer-includes check.
  • e065fe9 enable eslint prefer-const
  • f8336a3 enable eslint return-await
  • 7a6c12a enable lines-between-class-members
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-text-canvas v0.19.0..0.20.0

  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 148feb2 enable eslint prefer-includes check.
  • f8336a3 enable eslint return-await
  • 7a6c12a enable lines-between-class-members
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-theme-tools v0.19.0..0.20.0

  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-transfer-manager v0.19.0..0.20.0

  • f8336a3 enable eslint return-await
  • 7a6c12a enable lines-between-class-members
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-utils v0.19.0..0.20.0

  • 41efc2d HARP-11531: Add circle and line intersection to Math2DUtils.
  • 12a297b HARP-10921: Remove unused function mergeWithOptions
  • d268c1b HARP-11458 Detached tiles don't dispose via VisibleTileSet (#1766)
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-vectortile-datasource v0.19.0..0.20.0

  • a3368ed HARP-11699: Adding minimum geometry height to tiles
  • e505fdf HARP-11089: Fixes lineWidth in extruded polygon technique will also be applied if Expression (#1841)
  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • 7828816 HARP-11487: Ensure DataProvider's connect and disposed are called once.
  • c255d07 HARP-11664: Remove deprecated TomTomFeatureModifier
  • 148feb2 enable eslint prefer-includes check.
  • f8336a3 enable eslint return-await
  • 7a6c12a enable lines-between-class-members
  • 5e68a58 enable no-unused-vars
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp-webpack-utils v0.19.0..0.20.0

  • bd06552 HARP-11838 Make three external (#1823)
  • bf17797 HARP-11835: Fix typo preventing the detection of typescript react apps.

@here/harp-webtile-datasource v0.19.0..0.20.0

  • ff56a03 MINOR: Adds opacity accessors to WebTileDataSource (#1831)
  • 83b1d66 MINOR: WebTileDataSource handles rejected Promise and undefined resolve (#1828)
  • a17f002 MINOR: Adds renderOrder support to WebTileDataSource (#1821)
  • 7fefd71 MINOR: Adds support for DataSourceOptions in WebTileDataSource (#1819)
  • df5d875 HARP-11741: Update three to 0.120.1 (#1809)
  • bb4b7d3 HARP-11741: Update three to 0.120.0 (#1801)
  • f8336a3 enable eslint return-await
  • 7a6c12a enable lines-between-class-members
  • 1f22c7c Use eslint simple-import-sort plugin instead of import/order.
  • be5144e Switch to eslint.

@here/harp.gl v0.19.0..0.20.0