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

Release 0.14.0

Compare
Choose a tag to compare
@atomicsulfate atomicsulfate released this 08 Apr 12:16
· 708 commits to master since this release

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.