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

Releases: heremaps/harp.gl

Release 0.17.2

14 Jul 12:11
Compare
Choose a tag to compare

This is a hotfix release to fix errors due to API changes in three.js 0.118.

Changelog:

Release 0.17.0

23 Jun 14:10
Compare
Choose a tag to compare

New features

  • 5125074 Simplify the initialization of OMV Data Sources.
  • 7de0b07 HARP-10793: Add overlay property to MapAnchor (#1618)
  • 11ee23a HARP-10793: Add styleSetName and category to MapAnchors and removed MapView.worldAnchors (#1610)
  • cbe9b22 #1526: Add harp.d.ts type definitions to @here/harp.gl.

General

Styling engine

Examples

Changes in dependencies

API changes

Newly added API

  • Two new properties, styleSet and category, were added to MapAnchor. Setting these properties allow automatic computation of renderOrder so that interleaving custom map objects with map objects coming from a datasource (e.g. the basemap) can be interleaved.

  • A new property overlay was added to MapAnchor. Setting this property to true will render the custom map object on top of labels.

  • A new property anchor was added to MapAnchor. This property also supports world coordinates and replaces the now deprecated geoPosition

  • Simplified the initialization of OmvDataSource. For most cases the following declaration is enough to get a working vector tile data source:

    const omvDataSource = new OmvDataSource({
        baseUrl: "https://vector.hereapi.com/v2/vectortiles/base/mc",
        authenticationCode: apikey
    });
    
  • Two new boolean properties panEnabled and zoomEnabled were added to MapControls. Setting them to false disables panning and zooming interactions respectively.

  • A new property delayLabelsUntilMovementFinished was added to MapView. Setting this property to true will delay the rendering of new labels during camera movement, until it is finished, this is enabled by default

Newly added experimental API

Breaking API changes

Fixes

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

Full changelog

@here/generator-harp.gl 0.16.0 ... 0.17.0

  • 5125074 Simplify the initialization of OMV Data Sources.

@here/harp-atlas-tools 0.16.0 ... 0.17.0

@here/harp-datasource-protocol 0.16.0 ... 0.17.0

  • a62933b Add missing documentation for expressions and environments.
  • e967647 Mark as internal the global variables exported by datasource-protocol.
  • fd76f61 Add missing deprecation maessage.
  • be6d922 Remove commas in tsdoc @deprecated declarations.
  • 6e97761 HARP-10450 Remove inner walls by default (#1599)
  • 5b263bb HARP-10627: Use csscolorparser to parse CSS color literals.
  • f53cb52 HARP-10754: Fix usage of tsdoc @param tags.
  • f5963fe Set up package documentation.

@here/harp-debug-datasource 0.16.0 ... 0.17.0

  • f5963fe Set up package documentation.

@here/harp-examples 0.16.0 ... 0.17.0

  • 7de0b07 HARP-10793: Add overlay property to MapAnchor (#1618)
  • 11ee23a HARP-10793: Add styleSetName and category to MapAnchors and removed MapView.worldAnchors (#1610)
  • 32e0522 HARP-10797 Fix object-picking example (#1602)
  • f53cb52 HARP-10754: Fix usage of tsdoc @param tags.
  • 1b9c507 HARP-10603: Fix outline rendering
  • 5125074 Simplify the initialization of OMV Data Sources.
  • dc699a8 (HARP-10278) Adds CameraKeyTrackAnimations and Utilities (#1500)

@here/harp-features-datasource 0.16.0 ... 0.17.0

@here/harp-fetch 0.16.0 ... 0.17.0

  • f5963fe Set up package documentation.

@here/harp-geojson-datasource 0.16.0 ... 0.17.0

  • fd76f61 Add missing deprecation maessage.
  • f53cb52 HARP-10754: Fix usage of tsdoc @param tags.
  • 5125074 Simplify the initialization of OMV Data Sources.
  • f5963fe Set up package documentation.

@here/harp-geometry 0.16.0 ... 0.17.0

@here/harp-geoutils 0.16.0 ... 0.17.0

  • 3471161 HARP-10756: Use @link tags instead of [[..]] to reference declarations. (#1584)
  • a62933b Add missing documentation for expressions and environments.
  • fd76f61 Add missing deprecation maessage.
  • f53cb52 HARP-10754: Fix usage of tsdoc @param tags.
  • f5963fe Set up package documentation.

@here/harp-lines 0.16.0 ... 0.17.0

@here/harp-lrucache 0.16.0 ... 0.17.0

@here/harp-map-controls 0.16.0 ... 0.17.0

  • 4d7ee45 HARP-10717: Unit tests for Map Controls interaction disabling.
  • 3e694b8 HARP-10717: Add zoomEnabled and panEnabled to MapControls.
  • f53cb52 HARP-10754: Fix usage of tsdoc @param tags.
  • dc699a8 (HARP-10278) Adds CameraKeyTrackAnimations and Utilities (#1500)
  • f5963fe Set up package documentation.

@here/harp-mapview-decoder 0.16.0 ... 0.17.0

@here/harp-mapview 0.16.0 ... 0.17.0

  • 5d7e8cd Fix tsdoc links to MapView.lookAt.
  • aa91308 HARP-9221: Fix label debug collisions (#1620)
  • 3471161 HARP-10756: Use @link tags instead of [[..]] to reference declarations. (#1584)
  • 947705c HARP-10446: Simplify extruded building animation. (#1600)
  • 094df69 HARP-10751: Fix animated extrusion for outline effect
  • c8ffb36 MINOR: Remove unneeded options duplicate (#1587)
  • 7de0b07 HARP-10793: Add overlay property to MapAnchor (#1618)
  • fd76f61 Add missing deprecation maessage.
  • be6d922 Remove commas in tsdoc @deprecated declarations.
  • 11ee23a HARP-10793: Add styleSetName and category to MapAnchors and removed MapView.worldAnchors (#1610)
  • f53cb52 HARP-10754: Fix usage of tsdoc @param tags.
  • 1b9c507 HARP-10603: Fix outline rendering
  • 83c957c HARP-10703: Fix multiple root tiles for zoomed in views (#1585)
  • f5963fe Set up package documentation.
  • 0c71b1d (HARP-10414): Delays new labels until map movement finishes (#1577)

@here/harp-materials 0.16.0 ... 0.17.0

  • 3471161 HARP-10756: Use @link tags instead of [[..]] to reference declarations. (#1584)
  • 947705c HARP-10446: Simplify extruded building animation. (#1600)
  • 094df69 HARP-10751: Fix animated extrusion for outline effect
  • 7c7de6f HARP-10793: Disable depth write for text and icons (#1614)
  • fd76f61 Add missing deprecation maessage.
  • f53cb52 HARP-10754: Fix usage of tsdoc @param tags.
  • 1b9c507 HARP-10603: Fix outline rendering
  • f5963fe Set up package documentation.

@here/harp-olp-utils 0.16.0 ... 0.17.0

@here/harp-omv-datasource 0.16.0 ... 0.17.0

  • be6d922 Remove commas in tsdoc @deprecated declarations.
  • 6e97761 HARP-10450 Remove inner walls by default (#1599)
  • f53cb52 HARP-10754: Fix usage of tsdoc @param tags.
  • 5125074 Simplify the initialization of OMV Data Sources.
  • f5963fe Set up package documentation.

@here/harp-test-utils 0.16.0 ... 0.17.0

@here/harp-text-canvas 0.16.0 ... 0.17.0

  • 165e6c7 MINOR: Don't clear the depth buffer when rendering TextElements (#1623)
  • 7c7de6f HARP-10793: Disable depth write for text and icons (#1614)
  • f53cb52 HARP-10754: Fix usage of tsdoc @param tags.
  • f5963fe Set up package documentation.

@here/harp-transfer-manager 0.16.0 ... 0.17.0

@here/harp-utils 0.16.0 ... 0.17.0

  • 3471161 HARP-10756: Use @link tags instead of [[..]] to reference declarations. (#1584)
  • 0fd80d3 HARP-8674: Export authentication types for reuse
  • f53cb52 HARP-10754: Fix usage of tsdoc @param tags.
  • f5963fe Set up package documentation.

@here/harp-webtile-datasource 0.16.0 ... 0.17.0

  • 0fd80d3 HARP-8674: Export authentication types for reuse
  • f53cb52 HARP-10754: Fix usage of tsdoc @param tags.
  • f5963fe Set up package documentation.

@here/harp.gl 0.16.0 ... 0.17.0

  • 26619ee Add typechecking to the webpack configuration of ### @here/harp.gl
  • eeddaa5 Generate the typings in harp.d.ts instead of harp.gl.d.ts
  • 5791523 Fix .npmignore of ### @here/harp.gl
  • ...
Read more

Release 0.16.0

04 Jun 07:44
Compare
Choose a tag to compare

New features

General

  • 9a09fb1 HARP-5644: Support for Political Views via FeatureModifiers stack. (#1570)

Styling engine

  • b0120a9 HARP-6487: Provide placement attribute support for point labels. (#1497)
  • 91624d6 HARP-10179: Add iconBrightness and iconColor support for POIs
  • 0d86bbf HARP-10148: New interpolation engine.
  • c080541 HARP-8309 Add world space offsetting of icons (#1524)
  • e1f9149 HARP-10496: Add support for feature-space texture coords. (#1553)

Examples

Changes in dependencies

  • Update three.js to 0.117.1 (#1479)
  • Update typescript to 3.9.2 (#1473)

API changes

No breaking API changes

Fixes

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

Full changelog

@here/[email protected]

@here/[email protected]

@here/[email protected]

@here/[email protected]

  • b555101 HARP-10671: Update to three.js 0.117.1 (#1580)
  • 4a74f82 Update the snippets and remove references on outdated features.
  • 1fd1f63 Run prettier on the markdown
  • e3611f8 harp-10621: Fix broken floating point color transparency (example rgba(0,0,0,.1))
  • 8aef8d1 Update copyright headers. (#1568)
  • e28aebf Update npm packages
  • 2be517f HARP-10609: Fix evaluation of case statements with dynamic conditions.
  • f4c64c5 HARP-10240: More robust support for localised labels.
  • e1f9149 HARP-10496: Add support for feature-space texture coords.
  • 36ec9bb HARP-10450 MINOR Remove unused file (#1548)
  • 41b9640 HARP-7073: Use memoization to reduce the number of expr evaluations.
  • 9bd80f4 HARP-10423: Update threejs to 0.116.1
  • d8b3dfe HARP-10452: Merge the style and the technique parameters.
  • c080541 HARP-8309 Add world space offsetting of icons (#1524)
  • a6ecdb8 HARP-10402: Fix exponential interpolation.
  • ba300ec Bump Typescript to 3.9.2.
  • b0120a9 HARP-6487: Provide placement attribute support for point labels. (#1497)
  • 51f1cb5 MINOR: Fix secondaryCategory type for solid line technique (#1523)
  • 91624d6 HARP-10179: Add iconBrightness and iconColor support for POIs.
  • 0d86bbf HARP-10148: New interpolation engine.

@here/[email protected]

@here/[email protected]

  • b555101 HARP-10671: Update to three.js 0.117.1 (#1580)
  • b77b027 Enable type checking in the webpack config files.
  • 8aef8d1 Update copyright headers. (#1568)
  • e28aebf Update npm packages
  • b07875b HARP-8388: Fix accidental overflow of HTML body caused by rotating compass.
  • e1f9149 HARP-10496: Add support for feature-space texture coords.
  • 9bd80f4 HARP-10423: Update threejs to 0.116.1
  • 66ebb17 HARP-10163: sunny coffee example (#1515)
  • ba300ec Bump Typescript to 3.9.2.
  • 0d86bbf HARP-10148: New interpolation engine.
  • 9ab2758 MINOR: Fix incorrect directional light direction (#1517)

@here/[email protected]

@here/[email protected]

@here/[email protected]

@here/[email protected]

@here/[email protected]

  • b555101 HARP-10671: Update to three.js 0.117.1 (#1580)
  • e5a8190 Add basic support for running api-documenter.
  • 8aef8d1 Update copyright headers. (#1568)
  • e28aebf Update npm packages
  • 9bd80f4 HARP-10423: Update threejs to 0.116.1
  • ba300ec Bump Typescript to 3.9.2.
  • 35d25c2 HARP-8309 Get local tangent orientation at pos (#1521)

@here/[email protected]

@here/[email protected]

@here/[email protected]

  • b555101 HARP-10671: Update to three.js 0.117.1 (#1580)
  • 8aef8d1 Update copyright headers. (#1568)
  • e28aebf Update npm packages
  • b07875b HARP-8388: Fix accidental overflow of HTML body caused by rotating compass.
  • c2ac531 HARP-10298: Avoid zoom button double click propagation to canvas.
  • 9bd80f4 HARP-10423: Update threejs to 0.116.1
  • ba300ec Bump Typescript to 3.9.2.
  • c6107fb MINOR: Remove timeout cancellation from MapControls unit test.
  • fe1a1a3 HARP-10229: Unit testing globe zoom fix.

@here/[email protected]

  • 8aef8d1 Update copyright headers. (#1568)
  • e28aebf Update npm packages
  • d8b3dfe HARP-10452: Merge the style and the technique parameters.
  • ba300ec Bump Typescript to 3.9.2.

@here/[email protected]

  • e5a8190 Add basic support for running api-documenter.
  • 8aef8d1 Update copyright headers. (#1568)
  • e28aebf Update npm packages
  • bf24900 HARP-10237 Adding flag to disable fallback
  • c080541 HARP-8309 Add world space offsetting of icons (#1524)
  • ba300ec Bump Typescript to 3.9.2.
  • 5804a16 HARP-10183: Fix empty payload check in TileLoader.onloaded(). (#1509)

@here/[email protected]

  • b555101 HARP-10671: Update to three.js 0.117.1 (#1580)
  • e5a8190 Add basic support for running api-documenter.
  • 901b248 HARP-9926: Suppress labels flickering while panning on 2d view. (#1554)
  • b871482 HARP-9673: Snap zoom level to nearest integer if close enough to it.
  • 9a09fb1 HARP-5644: Support for Political Views via FeatureModifiers stack. (#1570)
  • 7a585ff Introduce ITransferManager
  • 8aef8d1 Update copyright headers. (#1568)
  • e28aebf Update npm packages
  • bf24900 HARP-10237 Adding flag to disable fallback
  • f4e250d HARP-10237 Refactor VisibleTileSet - Cache unique tile key of Tile - Rename method to improve ease of understanding - Reorder variable definitions to be closer to their respective usage
  • e1f9149 HARP-10496: Add support for feature-space texture coords.
  • 5624ee0 HARP-10490: Reset the text label bounds when reusing state from other label.
  • 3c5261e HARP-10478: Apply text POIs margin both to collision box and text offset.
  • 41b9640 HARP-7073: Use memoization to reduce the number of expr evaluations.
  • 9bd80f4 HARP-10423: Update threejs to 0.116.1
  • 2a09320 MINOR: Fix broken picking for non 0 tile offsets (#1537)
  • 66ebb17 HARP-10163: sunny coffee example (#1515)
  • d8b3dfe HARP-10452: Merge the style and the technique parameters.
  • c25451b HARP-6487: Do not use default text placements anymore.
  • 8b7ab79 HARP-6487: Add TextElementState placement unit tests.
  • c080541 HARP-8309 Add world space offsetting of icons (#1524)
  • bea9d41 HARP-10184: Fix tile's geo bbox computation. (#1518)
  • ba300ec Bump Typescript to 3.9.2.
  • b0120a9 HARP-6487: Provide placement attribute support for point labels. (#1497)
  • 91624d6 HARP-10179: Add iconBrightness and iconColor support for POIs.
  • 0d86bbf HARP-10148: New interpolation engine.
  • b89e372 Support for interpolated north/south pole properties.
  • 9ba5e18 HARP-8740: Skip transparent world space objects.
  • 5804a16 HARP-10183: Fix empty payload check in TileLoader.onloaded(). (#1509)
  • 65cb8c6 HARP-8309 Fix incorrect position access (#1507)

@here/[email protected]

  • b555101 HARP-10671: Update to three.js 0.117.1 (#1580)
  • 8aef8d1 Update copyright headers. (#1568)
  • e28aebf Update npm packages
  • 9bd80f4 HARP-10423: Update threejs to 0.116.1
  • ba300ec Bump Typescript to 3.9.2.
  • 91624d6 HARP-10179: Add iconBrightness and iconColor support for POIs.

@here/[email protected]

@here/[email protected]

  • 2e94d0d HARP-10654 Fix incorrect return statement in... (#1578)
  • b555101 HARP-10671: Update to three.js 0.117.1 (#1580)
  • 9a09fb1 HARP-5644: Support for Political Views via FeatureModifiers stack. (#1570)
  • 7a585ff Introduce ITransferManager
  • 8aef8d1 Update copyright headers. (#1568)
  • e28aebf Update npm packages
  • 1fefc77 HARP-10605: Fix label debug info for lines
  • b554d60 MINOR: Perf improvement for fill techniques (#1560)
  • bf24900 HARP-10237 Adding flag to disable fallback
  • e1f9149 HARP-10496: Add support for feature-space texture coords.
  • 9bd80f4 HARP-10423: Update threejs to 0.116.1
  • 2a09320 MINOR: Fix broken picking for non 0 tile offsets (#1537)
  • c080541 HARP-8309 Add world space offsetting of icons (#1524)
  • ba30...
Read more

Release 0.15.0

05 May 11:32
Compare
Choose a tag to compare

New features

General

  • HARP-6501 - #1457 MapView.lookAt supports bounds with GeoBox and arbitrary point support.
    If bounds are specified, zoomLevel and distance parameters are ignored and MapView.lookAt calculates best zoomLevel (and possibly target) to fit given bounds.
  • 6533ede Adds Settings to enable transparent canvas (#1480)
  • 24cd0ed HARP-5925: Sky and ground atmospheric scattering for globe projection. (#1378)
  • e3b4311 HARP-7836: Add support for tiled GeoJson.
  • 939018e HARP-10048: Allow passing a WebGLRenderingContext to MapView (#1492)
  • 1ef7b2f HARP-8308 Adding traffic line offsetting (#1482)

Styling engine

  • HARP-6488 - #1441 Support for alternative text placements for point labels.
    Texts collisions during point labels rendering may be solved with alternative text placements, it includes 4 variants (corners around label's position) for texts which are not center aligned. Another 4 variants (north, west, south, east) are used for center aligned texts.
  • 7fc05b9 HARP-9897: Add support for interpolating vector values.
  • 576eb40 HARP-9897: Add support for vector2/3/4 operators.
  • 541b5c1 HARP-9897: Add support for 'array' and 'make-array'.

Changes in dependencies

  • Update three.js to 0.115.0 (#1479)
  • Update typescript to 3.8.3 (#1473)

API changes

  • #1450 Deprecate enableRoadPicking in MapViewOptions. There's no need anymore to pass any explicit option to MapView to enable road picking.
  • #1491 Deprecate createTileInfo and gatherRoadSegments options in OmvDataSourceParameters and OmvDecoderOptions. No tile info is decoded anymore for GeoJson or OMV. Getting this information is possible by implementing a IGeometryProcessor and using OmvProtobufDataAdapter to decode OMV data.
  • 12c2068 HARP-9443: Implement the GeoJson datasource using omv-datasource.
  • f906571 HARP-9151: Remove ExtendedTileInfo decoding from OMV and GeoJson.

Fixes

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

Full changelog

@here/[email protected]

@here/[email protected]

@here/[email protected]

  • 4ad511f MINOR: Update typescript dependant packages (#1473)

@here/[email protected]

  • d00f5d1 MINOR: Fix color evaluation for pole caps (#1496)
  • 1ef7b2f HARP-8308 Adding traffic line offsetting (#1482)
  • 2a47269 MINOR: Update three.js to 0.115.0 (#1479)
  • f906571 HARP-9151: Remove ExtendedTileInfo decoding from OMV and GeoJson.
  • 4ad511f MINOR: Update typescript dependant packages (#1473)
  • 6533ede Adds Settings to enable transparent canvas (#1480)
  • f9834cd MINOR: Update mocha to 7.1.1 (#1476)
  • 7700380 Introduce the internal class InterpolatedProperty.
  • 9b5f2dc HARP-8498: SolidLineMesh. (#1437)
  • 7fc05b9 HARP-9897: Add support for interpolating vector values.
  • 576eb40 HARP-9897: Add support for vector2/3/4 operators.
  • 541b5c1 HARP-9897: Add support for 'array' and 'make-array'.

@here/[email protected]

@here/[email protected]

  • 7fd0ce0 HARP-6501: MapView.lookAt for GeoBox and arbitrary point support
  • 2a47269 MINOR: Update three.js to 0.115.0 (#1479)
  • f906571 HARP-9151: Remove ExtendedTileInfo decoding from OMV and GeoJson.
  • 4ad511f MINOR: Update typescript dependant packages (#1473)
  • 12c2068 HARP-9443: Implement the GeoJson datasource using omv-datasource.
  • 24cd0ed HARP-5925: Sky and ground atmospheric scattering for globe projection. (#1378)
  • 15fb149 MINOR: Fix documentation and usage of MapView.lights (#1464)
  • ebc1921 HARP-10054: Select regions using dynamic properties.
  • 43f6533 HARP-10005 Refactor render loop code to prevent cancelation of animation frame callbacks. (#1462)
  • ecb6366 MINOR: Support touch screens in object picking example. (#1467)
  • 71f5bf5 HARP-8744 Opaque buildings (#1465)
  • 4f00240 HARP-9576 Fix styling data-driven example: (#1449)
  • 4d04db1 HARP-8744 Fix lighting for shadows (#1430)

@here/[email protected]

  • 2a47269 MINOR: Update three.js to 0.115.0 (#1479)
  • 4ad511f MINOR: Update typescript dependant packages (#1473)
  • 12c2068 HARP-9443: Implement the GeoJson datasource using omv-datasource.
  • f9834cd MINOR: Update mocha to 7.1.1 (#1476)

@here/[email protected]

@here/[email protected]

  • 2a47269 MINOR: Update three.js to 0.115.0 (#1479)
  • 4ad511f MINOR: Update typescript dependant packages (#1473)
  • 12c2068 HARP-9443: Implement the GeoJson datasource using omv-datasource.
  • f9834cd MINOR: Update mocha to 7.1.1 (#1476)

@here/[email protected]

@here/[email protected]

  • 7fd0ce0 HARP-6501: MapView.lookAt for GeoBox and arbitrary point support
  • 2a47269 MINOR: Update three.js to 0.115.0 (#1479)
  • 4ad511f MINOR: Update typescript dependant packages (#1473)
  • f9834cd MINOR: Update mocha to 7.1.1 (#1476)

@here/[email protected]

@here/[email protected]

@here/[email protected]

  • fe1a1a3 HARP-10229: Unit testing globe zoom fix.
  • 594b0bc HARP-10128: Use elevation at camera position to compute target. (#1486)
  • 2d1f6a4 HARP-10138: Fix state handling when stoping zoom animation.
  • 2a47269 MINOR: Update three.js to 0.115.0 (#1479)
  • 4ad511f MINOR: Update typescript dependant packages (#1473)
  • f9834cd MINOR: Update mocha to 7.1.1 (#1476)
  • 3393d83 Fix: MapControls don't cache zoom after end of interaction.

@here/[email protected]

@here/[email protected]

@here/[email protected]

  • 8356ce3 HARP-10299: Fix zoom on globe.
  • d00f5d1 MINOR: Fix color evaluation for pole caps (#1496)
  • 64b49d5 HARP-10184: Remove unused MAX_TILT_ANGLE contant from MapView.
  • 594b0bc HARP-10128: Use elevation at camera position to compute target. (#1486)
  • 1ef7b2f HARP-8308 Adding traffic line offsetting (#1482)
  • 7fd0ce0 HARP-6501: MapView.lookAt for GeoBox and arbitrary point support
  • 2a47269 MINOR: Update three.js to 0.115.0 (#1479)
  • d2ee14a MINOR: Also add userData to outline object (#1494)
  • 2144f1b HARP-9664 Implement custom mip map generator (#1436)
  • 939018e HARP-10048: Allow passing a WebGLRenderingContext to MapView (#1492)
  • 4ad511f MINOR: Update typescript dependant packages (#1473)
  • 24cd0ed HARP-5925: Sky and ground atmospheric scattering for globe projection. (#1378)
  • 69c70c5 HARP-9898: Fix TextElement textBufferObject handling.
  • 99ab770 HARP-9898: Solver screen space text offsets for alternative text placements.
  • 053fec0 HARP-9898: Refactor single line text placement to use generic function.
  • 179c753 HARP-9898: Change the way how text offset is applied to the Labels.
  • 6533ede Adds Settings to enable transparent canvas (#1480)
  • 15c5c51 Initialize ColorCache before running the tests.
  • f9834cd MINOR: Update mocha to 7.1.1 (#1476)
  • 15fb149 MINOR: Fix documentation and usage of MapView.lights (#1464)
  • 4300a27 MINOR: Skip degenerate solid-line segments on picking.
  • 43f6533 HARP-10005 Refactor render loop code to prevent cancelation of animation frame callbacks. (#1462)
  • 430c9dc HARP-8498: Remove old road picking code. (#1450)
  • dd6fa74 HARP-6488: Introduce Labels' LayoutState for storing alternative anchor. (#1441)
  • 9b5f2dc HARP-8498: SolidLineMesh. (#1437)
  • 4f00240 HARP-9576 Fix styling data-driven example: (#1449)
  • d4b6bbc MINOR: Remove console warnings for shader (#1458)
  • 4d04db1 HARP-8744 Fix lighting for shadows (#1430)
  • 95c98e0 HARP-9871: Fix label picking on HiDPI screens.

@here/[email protected]

@here/[email protected]

  • 4ad511f MINOR: Update typescript dependant packages (#1473)

@here/[email protected]

  • 2a47269 MINOR: Update three.js to 0.115.0 (#1479)
  • f906571 HARP-9151: Remove ExtendedTileInfo decoding from OMV and GeoJson.
  • 4ad511f MINOR: Update typescript dependant packages (#1473)
  • 12c2068 HARP-9443: Implement the GeoJson datasource using omv-datasource.
  • e3b4311 HARP-7836: Add support for tiled GeoJson.
  • f9834cd MINOR: Update mocha to 7.1....
Read more

Release 0.14.0

08 Apr 12:16
Compare
Choose a tag to compare

New features

  • HARP-8744 Map shadows
  • HARP-6488: Allow multiple label placements when checking collisions. (#1414)

Styling engine

  • 71249db Add support for filtering features based on their state.
  • 52c4c0d Add support for the feature-state operator.
  • 79226d7 Add support for the style operators 'id' and 'geometry-type'.
  • 1c1f99d Implement the new semantics of the 'in' operator.
  • 612afd5 Add support for dynamic properties.

Changes in dependencies

API changes

  • fe8a0ce Deprecate Tile.addUserTextElement, Tile.removeUserTextElement and Tile.userTextElements. To get the same behaviour as a "user" text element, create a TextElement object with priority TextElement.HIGHEST_PRIORITY and add it to the tile with Tile.addTextElement.
  • ae5f191 Changes default Authentication for HERE Services. Changes default Vector Tile Service to use the official HERE Vector Tile API. This breaks an API in WebTileDataSourceParameters. It no longer supports appCode,appId and instead supports only apikey.
  • #1359 Changes default maximum storage level of OmvDataSource from 14 to 17.
  • #1367 Removes phased loading. Deprecate MapViewOptions.enablePhasedLoading and MapView.phasedLoadingEnabled.
  • #1375 Changes API of DataSource. Deprecate DataSource.minZoomLevel and DataSource.maxZoomLevel. Use DataSource.minDataLevel, DataSource.maxDataLevel, DataSource.minDisplayLevel and DataSource.maxDisplayLevel instead. DataSource.constructor now expects an DataSourceOptions object instead of several parameters. Introduced DataSource.isVisible(zoomLevel).
  • #1395 Changes the interface of ClipPlanesEvaluator(s), so ClipPlanesEvaluator.evaluateClipPlanes() does not require a MapView reference as input, but takes camera, projection and an optional elevationProvider.
  • #1392 Adds a new overload for the MapView.lookAt method that takes a parameter object. The old MapView.lookAt method that takes a parameter list is deprecated now.
  • #1392 Also adds tilt and heading getters and setters to MapView.
  • #1405 Removes MapView.worldRootObject. MapView.scene can be used instead.
  • #1415 Adds auth with token for webtile datasource.

Fixes

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

Full changelog:

  • 6655113 HARP-9894 Fix flipped textures across browsers. (#1446)
  • 42bf96f HARP-9861: Remove POIs from Berlin style (#1445)
  • f0a87e7 HARP-9155: Add support for geometry attachments.
  • 5fea180 HARP-9711 Don't put tiles that are still loading into the renderedTiles list
  • e75b01f HARP-9637: Disable shader compile error check in production build (#1424)
  • e7562a9 HARP-9449 Implement auth with token for webtile datasource. (#1415)
  • d4f3e32 HARP-8498: Refactor object construction in TileGeometryCreator.
  • d9a40d6 HARP-6488: Solve multiple label placements when checking collisions. (#1414)
  • b38b69c MINOR: Fixed font resource loading for benchmark example (#1432)
  • d0827ea HARP-9275 DisplacedMesh to support picking of elevated meshes. (#1417)
  • dc1c9ba HARP-3987: Reduce the size of the index buffers.
  • 20618fd HARP-9273 Fixed bug in texture atlas generation (#1427)
  • 3ccd8ec HARP-7835: Removal of MapView.worldRoot (#1405)
  • 086c15f HARP-9159: Fix & cleanup kind-based filtering.
  • b8b7faa Remove unused featureId from 'Group'.
  • 182e320 Remove 'renderOrderOffset'.
  • 5a8df0f HARP-9273 Activate mipmaps and trilinear filtering for POIs to solve flickering of icons. (#1423)
  • e6514e6 Speed up getMatchingTechniques.
  • 703dbc1 MINOR: Added Berlin ZoomIn test and add save result option (#1302)
  • 5f86737 MINOR: Refactor ClipPlanesEvaluator(s), remove MapView dependency.
  • 1fdd566 HARP-7835: Fix toggle tilt button (#1418)
  • ba9b25b HARP-9275: DisplacedBufferGeometry/Attribute classes to displace meshes on the fly.
  • 014778d HARP-9198 HARP-9280 Fix label and icon placement for word wrapping and with offset. (#1408)
  • a44daa8 Move clipPolygon to @here/harp-geometry.
  • 772a8c6 HARP-7835: Improved lookAt API (#1392)
  • b20f1a4 MINOR: Don't downgrade yarn in Travis CI (#1413)
  • e4854d2 HARP-9251: Fix SolidLineMaterial.lineWidth semantics.
  • 0e9f37f MINOR: Update data source polygon example: Implement Brexit. (#1411)
  • 0d937c8 HARP-8744 Shadows take custom depth material
  • ef6e41f HARP-8744 Code review fixes
  • ee4046a HARP-8744 Shadow Maps
  • ab1e3a8 WIP: Enable shadows in the map
  • 8cd60fd HARP-9275: Implement VertexCache for mesh on the fly transformations. (#1402)
  • 075cb21 HARP-7814: Fix gap&dash size handling for solid-line technique.
  • 3775030 HARP-7400: Added fallback for target and targetDistance (#1365)
  • 9ab20bf HARP-9460: Fix Synchronous example. (#1397)
  • 3cedac9 UrlUtils: Support for data: URI scheme.
  • d8eab9f MINOR: yarn upgrade (#1393)
  • 35085ba HARP-9463 Added support for deprecated minZoomLevel, maxZoomLevel in constructor of TileDataSource and OmvDataSource to improve backwards compatibility. (#1398)
  • e8b1f8b Filter examples in webpack via argument
  • 3b930fd HARP-9275: Test intersection with tiles on picking. (#1379)
  • ddacd1f Fixed bug in OmvDataSource introduced by PR #1375 (HARP-9037). (#1394)
  • db60901 HARP-9037 Refactored DataSource zoom level limits(minDataLevel, maxDataLevel, minDisplayLevel, maxDisplayLevel). (#1375)
  • 0600d1b HARP-9275: Move bilinear interpolation sampling to harp utils.
  • 9c922b3 MINOR: Fix WebTileDataSource API break due to removal of appId and appCode (#1391)
  • e4303f3 Bump acorn from 6.4.0 to 6.4.1 (#1381)
  • 268a9d3 Add link to register to slack. (#1376)
  • b6ce6b6 HARP-9275: Implement ray intersection for OrientedBox3.
  • 240a730 MINOR: Reduce logging level of text feature id collision message. (#1374)
  • d7cbb15 Add basic highlighting to the object picking example.
  • 71249db Add support for filtering features based on their state.
  • 1b7a6f0 Allow array of materials when geometries are split in groups.
  • 48d5c9f HARP-7885: Support TypeScript project references.
  • 693e1c7 Fix the evaluation of "label" attributes of text techniques.
  • 6a97dc8 HARP-8873 Removed phase loading (#1367)
  • 52c4c0d Add support for the feature-state operator.
  • ea7397a HARP-8385: Fix MapControls support for flexible layouts.
  • 7313c34 HARP-9344: WebTileDataSource - don't use const enums.
  • f81ad5a HARP-8870 Fix cull frustum setup when terrain data source is used. (#1328)
  • f8cf798 MINOR: Remove projectedTileBounds and fix usage (#1360)
  • 1ce8325 Change default level of OMV DataSource to 17
  • 1aab09f HARP-7942: Enable tslint deprecate check (#1356)
  • ae5f191 Change default vector tile service
  • 847602c Dispose MapViews in StylingTests.
  • 73857b0 HARP-8515: Basic checks nulls/undefined/errors in style.
  • 5843bbd Transfer interleaved attributes and edgeIndex buffers
  • c4aacc7 Fix DecodedTile.techniques typings.
  • 026a07c HARP-8523: Fix zoom level jitter and tiles flickering.
  • 357a6b7 MINOR: Update to three 0.114.0 (#1346)
  • 0cc9bba MINOR: Update packages due to security alert (#1345)
  • eefbfb1 HARP-8971: Fix wrong computation of fullFrameTime (#1307)
  • 5c85020 Remove the usages of Technique._keys.
  • 026f35b Fix the decoding of feature ids.
  • f8af743 Remove special set up of Object.userData for solid lines
  • b846c71 MINOR: Remove 3D objects from root more efficiently.
  • a77b9a8 OLPSUP-9660: Implemented opening of copyright links in new tab. (#1330)
  • 79226d7 Add support for the style operators 'id' and 'geometry-type'
  • b2d6d21 Remove InterpolatedProperty from Technique.
  • 2475f87 Add support for passing multiple materials to ObjectConstructor.
  • 8e7b992 HARP-8709 Implement strategy to fix mixed LOD cracks (#1296)
  • e778e10 HARP-9048: Silence POI warning (#1326)
  • 1c1f99d HARP-9149: Implement the new semantics of the 'in' operator.
  • fe8a0ce HARP-8910: Deprecate user text elements. They are just text elements (#1304)
  • 3b0c463 HARP-7856 Remove background tile when a covering tile is loaded. (#1202)
  • f20ea10 HARP-8622 Added ibct tests for diagonal lines (#1255)
  • b1e2ec3 HARP-9128: Error while running performance test baseline (#1324)
  • bef78c2 MINOR: Added link to Slack channel (#1321)
  • 6962eec HARP-9079: Fix the styling data driven example.
  • 0998b13 HARP-9111: Update three.js to 0.113.2 (#1317)
  • 7d83bce MINOR: Fix typos in README.md (#1322)
  • 48e6501 MINOR: Fix commands in docs for creating harp.gl project
  • 86bec4f MINOR: Fix typo in GettingStartedGuide (#1320)
  • e85fdf9 HARP-9110: Update to Typescript 3.8 (#1316)
  • b2d1a7c HARP-9110: Update to Typescript 3.8 (#1316)
  • 612afd5 Add support for dynamic properties.

Release 0.13.2

02 Apr 16:14
Compare
Choose a tag to compare

This is a hotfix release. Following bugs were fixed:

  • HARP-7814: Fix gap&dash size handling for solid-line technique. (#1403)
  • HARP-9198, HARP-9280: Fix label and icon placement (#1408)
  • HARP-6488: Solve multiple label placements when checking collisions. (#1414)

Release 0.13.1

09 Mar 15:51
Compare
Choose a tag to compare

This is a bugfix relase.

Following issue was fixed:

  • a77b9a8 OLPSUP-9660: Implemented opening of copyright links in new tab. (#1330)

Release 0.13.0

24 Feb 13:45
Compare
Choose a tag to compare

Breaking API changes

  • With 42234cc LineGroup now needs the projection of the MapView to be passed when creating line geometry.
  • With 4d434a2 MapView.lookAtDistance was renamed to MapView.targetDistance

Full changelog

  • 478ea68 Minor: Added support to also use "-" operator to negate numbers(used by POI styling HARP-7077).
  • 6823956 HARP-8521: Fix extruded buildings overlay. (#1275)
  • 891675d HARP-8604: SimpleTileGeometryLoader unit tests added.
  • 61e7151 HARP-8604: Fix for multiple time tile loading using setTimeout() call.
  • 0119d84 HARP-8969: Update Docker Chrome version #80 for IBCT (#1308)
  • e46222f MINOR: Remove logging to console for copyright test
  • 4740df9 MINOR: Remove logging to console.
  • 57cc59e HARP-8922: Ensure to close the polygons before clipping the geometries.
  • a6201a4 HARP-8717: Support mutable user text elements. (#1293)
  • 947f1c1 MINOR: Fixing documentation error (#1200)
  • 4fda7e7 HARP-7104: Theme build tool
  • 3df9655 Fixes #1270. Construct correct Raycaster (#1272)
  • 0360132 Use Env for dynamic expressions.
  • b569b38 Added configurable environment to OlpCopyrightProvider. (#1168)
  • 11b7e3e ExprPool: support match&case operators.
  • 2fdcd5e HARP-8835: Add support for symbolic render orders
  • 44d81a3 MINOR: Switch travis ci script to yarn as a workaround for npm registry issues. (#1297)
  • da498cf MINOR: Fix phased loading default value interpretation.
  • 38c71a8 HARP-8768: Fix cancellation handling in OlpDataProvider.
  • 3a9da60 Refactor OlpDataProvider to use async/await.
  • 01b345e HARP-8521: Remove Projection stub in favor of identity projection.
  • e1ec2d3 HARP-8521: Move text element overlay to TextElementsRenderer.
  • 9c8e6c0 HARP-7814: Tune the internal discrete scaling functions.
  • f1745ea Fix animated exposure of building footprint.
  • f0ceebe HARP-8521: Fix TileGeometryManager.hideKind()
  • dcdd263 Honor $EXTRA_TSC_ARGS when building
  • 1b31697 Remove chai from devDependencies
  • 05151ff Sync harp-website with rest of project.
  • 7245536 MINOR: Add support for RGBA encoded outline colors in SolidLineTechnique.
  • e9a5c86 Remove bogus colorMap from TextStyleCache.
  • 9bf2539 Update olp sdk to 1.2.1
  • 50f88e4 Better handling of olp data
  • ec5b9e8 Don't create dynamic strings in 'hot' asserts.
  • 42234cc HARP-8737: Use projection to compute surface normal
  • 6a484b9 HARP-8615: Add support for reading flat themes.
  • faaa8d1 MINOR: Made license check more flexible and 2020 aware (#1262)
  • 53f62d1 Update OLP SDK
  • 19db4c0 Use chromedriver version compatible with chrome available on CI.
  • b10f499 Remove typestring dependency
  • 9bc68e4 HARP-8263: Labeling technical docs (#1240)
  • 4d434a2 HARP-7907: Limit number of raycasts used for Camera tilt calculus.
  • d476bfe HARP-8344 Fixed CirclePointsMaterial and added tests. (#1258)
  • 6604bfe HARP-8361: Fix unnecessary materials & uniforms updates in MapMeshMaterials.
  • d951f0b HARP-8650 Remove tile loader cache. (#1247)
  • bbb8f39 Simplify postinstall
  • 4ae78c9 HARP-8521: Address review comments.
  • 9766ff4 HARP-8521: Fix terrain overlay.

Release 0.12.0

28 Jan 15:18
Compare
Choose a tag to compare

Release 0.12.0 brings major improvements in labelling, styling and performance.

Notable features:

  • Refactored Labeling system
  • Transparency handling for area features
  • Support for mixed LOD (level of detail) - #1180
  • Unified styling between HARP Native and HARP4WEB
  • Mapeditor improvements
  • Outlines for areas
  • Updated to three.js 0.112 #1190
  • Performance improvements
  • Tons of bug fixes

Other changes:

  • Color interpolation switches to RGB space instead of HSL #1047
  • Support RGBA colors in #rrggbbaa and #rgba and ["rgba",r,g,b,a] formats #1010
  • Theme can now extends / inherit from many base themes. #1188
  • Add empty default theme to MapView. #1237
  • Add support for the ppi-scale family operators. #1216
  • Add operator to extract the alpha component from colors. #1213
  • Upgrade harp-fontcatalog. (Armenian and Georgian fonts) #1176
  • Adding harp.gl webpack configuration helper #1134
  • Improve resolving @here/harp-utils symbols in web target. #1221

API Changes

  • TextElement position is in world space coordinates instead of local tile space.
  • Deprecate gatherFeatureIds and add gatherFeatureAttributes in OmvDataSourceParameters. From now on, feature ids are always decoded, to decode other feature attributes gatherFeatureAttributes must be set to true. #1136
  • Remove support for nested style rules. #1096
  • Renamed DataSource.shouldRender(zoomLevel, tileKey) to DataSource.canGetTile(zoomLevel, tileKey. #1180

As always, release is available from public NPM registry, notable links:

0.11.2

02 Dec 16:59
Compare
Choose a tag to compare

This is a bugfix release. Following issue was fixed:

  • Fix renderOrder not being reset after tile was used as fallback