diff --git a/package.json b/package.json index 7118c04..5a6e920 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@here/harp-map-editor", - "version": "0.1.1", + "version": "0.1.2", "description": "A simple online editor for harp.gl themes.", "author": { "name": "HERE Europe B.V.", @@ -31,11 +31,10 @@ }, "devDependencies": { "@here/harp-font-resources": "~0.2.4", - "@here/harp-map-controls": "~0.17.0", - "@here/harp-map-theme": "~0.17.0", - "@here/harp-mapview": "~0.17.0", - "@here/harp-omv-datasource": "~0.17.0", - "@types/jszip": "^3.1.6", + "@here/harp-map-controls": "~0.19.0", + "@here/harp-map-theme": "~0.19.0", + "@here/harp-mapview": "~0.19.0", + "@here/harp-vectortile-datasource": "~0.19.1", "@types/react": "^16.8.18", "@types/react-dom": "^16.8.4", "@types/react-json-tree": "^0.6.11", @@ -55,7 +54,7 @@ "react-json-tree": "^0.11.2", "sass-loader": "^8.0.0", "style-loader": "^1.0.0", - "three": "^0.117.1", + "three": "^0.119.0", "throttle-debounce": "^2.1.0", "ts-loader": "^7.0.5", "tslint": "^6.1.2", diff --git a/src/decoder.ts b/src/decoder.ts index bc57d6d..73524f8 100644 --- a/src/decoder.ts +++ b/src/decoder.ts @@ -3,6 +3,6 @@ * Licensed under Apache 2.0, see full license in LICENSE * SPDX-License-Identifier: Apache-2.0 */ -import { OmvTileDecoderService } from "@here/harp-omv-datasource/index-worker"; +import { VectorTileDecoderService } from "@here/harp-vectortile-datasource/index-worker"; -OmvTileDecoderService.start(); +VectorTileDecoderService.start(); diff --git a/src/map-editor/components-smart/PopupCreateTechnique.tsx b/src/map-editor/components-smart/PopupCreateTechnique.tsx index 60ff04b..c6cc51b 100644 --- a/src/map-editor/components-smart/PopupCreateTechnique.tsx +++ b/src/map-editor/components-smart/PopupCreateTechnique.tsx @@ -3,7 +3,7 @@ * Licensed under Apache 2.0, see full license in LICENSE * SPDX-License-Identifier: Apache-2.0 */ -import { ResolvedStyleDeclaration } from "@here/harp-datasource-protocol"; +import { Style } from "@here/harp-datasource-protocol"; import { Expr } from "@here/harp-datasource-protocol/lib/Expr"; import * as React from "react"; import { GeometryType, TechniqueData, Techniques } from "../../types"; @@ -80,7 +80,7 @@ export default class extends Component { attr: {}, }; - switch (MapHandler.addStyleTechnique(style as ResolvedStyleDeclaration)) { + switch (MapHandler.addStyleTechnique(style as Style)) { case "err": PopupsContainer.alertPopup("Error", "Can't create style."); break; diff --git a/src/map-editor/map-handler/MapGeometryList.ts b/src/map-editor/map-handler/MapGeometryList.ts index 3291808..1fd449b 100644 --- a/src/map-editor/map-handler/MapGeometryList.ts +++ b/src/map-editor/map-handler/MapGeometryList.ts @@ -7,15 +7,15 @@ import { MapEnv } from "@here/harp-datasource-protocol/index-decoder"; import { GeoCoordinates, mercatorProjection, webMercatorTilingScheme } from "@here/harp-geoutils"; import { MapView } from "@here/harp-mapview"; import { DataProvider } from "@here/harp-mapview-decoder"; -import { OmvDataSource } from "@here/harp-omv-datasource"; -import { OmvProtobufDataAdapter } from "@here/harp-omv-datasource/lib/OmvData"; +import { VectorTileDataSource } from "@here/harp-vectortile-datasource"; +import { OmvDataAdapter } from "@here/harp-vectortile-datasource/lib/adapters/omv/OmvDataAdapter"; -import { DecodeInfo } from "@here/harp-omv-datasource/lib/DecodeInfo"; +import { DecodeInfo } from "@here/harp-vectortile-datasource/lib/DecodeInfo"; import { IGeometryProcessor, ILineGeometry, IPolygonGeometry, -} from "@here/harp-omv-datasource/lib/IGeometryProcessor"; +} from "@here/harp-vectortile-datasource/lib/IGeometryProcessor"; import { Vector2 } from "three"; // @@ -88,13 +88,13 @@ async function dumpTile( geometryList = {}; const buffer = (await dataProvider.getTile(tileKey)) as ArrayBuffer; const decoder = new Decoder(); - const adapter = new OmvProtobufDataAdapter(decoder); + const adapter = new OmvDataAdapter(decoder); const decodeInfo = new DecodeInfo("dump", projection, tileKey, storageLevelOffset); adapter.process(buffer, decodeInfo); } -export const getGeometryData = (mapView: MapView, dataSource: OmvDataSource): void => { +export const getGeometryData = (mapView: MapView, dataSource: VectorTileDataSource): void => { const geoPoint = new GeoCoordinates( mapView.geoCenter.latitude % 180, mapView.geoCenter.longitude % 180 diff --git a/src/map-editor/map-handler/MapHighliter.ts b/src/map-editor/map-handler/MapHighliter.ts index c763bc2..78df8cc 100644 --- a/src/map-editor/map-handler/MapHighliter.ts +++ b/src/map-editor/map-handler/MapHighliter.ts @@ -4,15 +4,15 @@ * SPDX-License-Identifier: Apache-2.0 */ -import { APIFormat, OmvDataSource } from "@here/harp-omv-datasource"; -import { OmvTileDecoder } from "@here/harp-omv-datasource/lib/OmvDecoder"; +import { APIFormat, VectorTileDataSource } from "@here/harp-vectortile-datasource"; +import { VectorTileDecoder } from "@here/harp-vectortile-datasource/lib/VectorTileDecoder"; import { accessToken } from "../config"; import settings from "../Settings"; import MapHandler from "./index"; class MapHighlighter { private m_activeWhereParam = ""; - private m_highlightDataSource: OmvDataSource; + private m_highlightDataSource: VectorTileDataSource; private m_style: any = { when: "0", @@ -46,14 +46,14 @@ class MapHighlighter { }; constructor() { - this.m_highlightDataSource = new OmvDataSource({ + this.m_highlightDataSource = new VectorTileDataSource({ name: "decorations", baseUrl: "https://xyz.api.here.com/tiles/herebase.02", apiFormat: APIFormat.XYZOMV, styleSetName: "tilezen", - maxZoomLevel: 17, + maxDisplayLevel: 17, authenticationCode: accessToken, - decoder: new OmvTileDecoder(), + decoder: new VectorTileDecoder(), }); } diff --git a/src/map-editor/map-handler/index.ts b/src/map-editor/map-handler/index.ts index 2f13bc4..c158f24 100644 --- a/src/map-editor/map-handler/index.ts +++ b/src/map-editor/map-handler/index.ts @@ -3,7 +3,7 @@ * Licensed under Apache 2.0, see full license in LICENSE * SPDX-License-Identifier: Apache-2.0 */ -import { BaseStyle, ResolvedStyleDeclaration, Theme } from "@here/harp-datasource-protocol"; +import { BaseStyle, Style, Theme } from "@here/harp-datasource-protocol"; import { MapControls } from "@here/harp-map-controls"; import { CopyrightElementHandler, @@ -12,9 +12,9 @@ import { MapViewEventNames, MapViewUtils, } from "@here/harp-mapview"; -import { APIFormat, OmvDataSource } from "@here/harp-omv-datasource"; -import { OmvTileDecoder } from "@here/harp-omv-datasource/lib/OmvDecoder"; import { LoggerManager } from "@here/harp-utils"; +import { APIFormat, VectorTileDataSource } from "@here/harp-vectortile-datasource"; +import { VectorTileDecoder } from "@here/harp-vectortile-datasource/lib/VectorTileDecoder"; import { EventEmitter } from "events"; import { throttle } from "throttle-debounce"; import { WhenPropsData } from "../../types"; @@ -66,7 +66,7 @@ class MapHandler extends EventEmitter { /** * The current data source for the camera. */ - private m_datasource: OmvDataSource | null = null; + private m_datasource: VectorTileDataSource | null = null; private m_copyrights: CopyrightInfo[]; private m_copyrightHandler: CopyrightElementHandler | null = null; @@ -175,14 +175,14 @@ class MapHandler extends EventEmitter { this.m_mapViewState.azimuth ); - this.m_datasource = new OmvDataSource({ + this.m_datasource = new VectorTileDataSource({ baseUrl: "https://xyz.api.here.com/tiles/herebase.02", apiFormat: APIFormat.XYZOMV, styleSetName: style || undefined, - maxZoomLevel: 17, + maxDisplayLevel: 17, authenticationCode: accessToken, copyrightInfo: this.m_copyrights, - decoder: new OmvTileDecoder(), + decoder: new VectorTileDecoder(), }); this.m_copyrightHandler = CopyrightElementHandler.install( @@ -206,7 +206,7 @@ class MapHandler extends EventEmitter { }); this.onMovementFinished = () => { - getGeometryData(this.m_mapView as MapView, this.m_datasource as OmvDataSource); + getGeometryData(this.m_mapView as MapView, this.m_datasource as VectorTileDataSource); }; } @@ -273,7 +273,7 @@ class MapHandler extends EventEmitter { .join(" && "); } - addStyleTechnique(style: ResolvedStyleDeclaration): AddStyleTechniqueResult { + addStyleTechnique(style: Style): AddStyleTechniqueResult { const theme = textEditor.getParsedTheme(); const currentStyle = settings.get("editorCurrentStyle"); diff --git a/src/text-editor-frame/TextEditor.ts b/src/text-editor-frame/TextEditor.ts index 6524d9c..a6761ec 100644 --- a/src/text-editor-frame/TextEditor.ts +++ b/src/text-editor-frame/TextEditor.ts @@ -3,7 +3,7 @@ * Licensed under Apache 2.0, see full license in LICENSE * SPDX-License-Identifier: Apache-2.0 */ -import { ResolvedStyleDeclaration } from "@here/harp-datasource-protocol"; +import { Style } from "@here/harp-datasource-protocol"; import { Expr } from "@here/harp-datasource-protocol/lib/Expr"; import { EventEmitter } from "events"; import * as monaco from "monaco-editor"; @@ -184,7 +184,7 @@ export class TextEditor extends EventEmitter { const data = JSON.parse(code); const lines = code.split("\n"); - markers = Object.values(data.styles as { [key: string]: ResolvedStyleDeclaration[] }) + markers = Object.values(data.styles as { [key: string]: Style[] }) // flatten all styles .reduce((a, b) => [...a, ...b], []) // find "when" props with errors diff --git a/yarn.lock b/yarn.lock index 84330dd..fe9966c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -23,20 +23,20 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@here/harp-datasource-protocol@^0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-datasource-protocol/-/harp-datasource-protocol-0.17.0.tgz#0d85300be486ae8a929196da6dffa1314eaad6bb" - integrity sha512-qVi0oz+LZBalsfyi/Ad3zDjSXWEVMBfQk017JlnMw0wcaPXuC724gZZUCnBnz9cDRdV9j+CrQuvYGAkrj/PmqQ== - dependencies: - "@here/harp-geometry" "^0.17.0" - "@here/harp-geoutils" "^0.17.0" - "@here/harp-utils" "^0.17.0" +"@here/harp-datasource-protocol@^0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-datasource-protocol/-/harp-datasource-protocol-0.19.0.tgz#2035f36f882cf72ab4ca86fdc442ffefa6d97b31" + integrity sha512-JkYKZ5B+uX9/g3hFjKASCIFUwhOoHWyLwQvucHhikj8NRhv8n7na7eE/4VFuv9mMltf4l4nxKQ5cqW9aTWAY6g== + dependencies: + "@here/harp-geometry" "^0.19.0" + "@here/harp-geoutils" "^0.19.0" + "@here/harp-utils" "^0.19.0" csscolorparser "^1.0.3" -"@here/harp-fetch@^0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-fetch/-/harp-fetch-0.17.0.tgz#0d80c09cc1089c653ff0de45d06fc05cab335e7c" - integrity sha512-q/5Ez1fmHfkYAgK+1yKxnKWT+xgYRbImnJrBHE0+xRWci+u19/RUgmhI4mVq4GNcaJT4nk6/4tOI7tVcQ/mqtQ== +"@here/harp-fetch@^0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-fetch/-/harp-fetch-0.19.0.tgz#7af9250138392fefdb817527914c59f532bfe310" + integrity sha512-kPH5GQ6qOsQXaEiR0bT2CCsvcxwKYlmIwML9Dby1bfWmEtZdM49HMOKKj47HiTpS17fXTGrsVwOFY/gw0nbpDA== dependencies: node-fetch "^2.2.0" @@ -45,125 +45,126 @@ resolved "https://registry.yarnpkg.com/@here/harp-font-resources/-/harp-font-resources-0.2.4.tgz#266bff0187a45317ae92a5ba82083e324c26fa1b" integrity sha512-/DVU+1Mo8dW6NPyucJKuBVQ3NFIR0HPt6Oio1gtMaxQh3t3zIH7kXJMKOyjzcQrrENZar99pbyZKnemgIwNgWg== -"@here/harp-geometry@^0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-geometry/-/harp-geometry-0.17.0.tgz#d80ede4f1fc3fd4bfa90f13d1233e2778812fd33" - integrity sha512-pQvZVSwiFcjlszGr+ZccifQxmzDucNTu43iHlDFhfXRymQvyBUtbfSvus+NARozPBhp5w5YspdbahvkIvyrzGg== +"@here/harp-geometry@^0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-geometry/-/harp-geometry-0.19.0.tgz#5d3c971c8e40228ef3ba36b8b8647c7ebddbbf40" + integrity sha512-qlywx7/76JM6mew1tgZGNz+TlnnbvYHvyXDfQnTU/jYalX46yo780SwCeuX5YYis68haOd1FbDsjWoAy+Jj4Ag== dependencies: - "@here/harp-geoutils" "^0.17.0" - "@here/harp-utils" "^0.17.0" + "@here/harp-geoutils" "^0.19.0" + "@here/harp-utils" "^0.19.0" -"@here/harp-geoutils@^0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-geoutils/-/harp-geoutils-0.17.0.tgz#37e84fb62b13b7aaf104ed5704cd331f836376de" - integrity sha512-ovKpEfgArjDf71Bbl6Ds4eJeb62q84eQsOjxtCLaOWqwj5mAQxtTDRzZTgYxx+o5F/W1NuQHUgOzFS9OaT5oNg== +"@here/harp-geoutils@^0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-geoutils/-/harp-geoutils-0.19.0.tgz#de11f6377856a8855f76524f29218e122a324014" + integrity sha512-BrShlezMgslKvNMRA9OF5y+TXSvNr7DaiECFVWJKSfF7BZP+MkU6XUj6NLgBQmiZugZJtZeiDCPdnq7PE4sfBQ== -"@here/harp-lines@^0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-lines/-/harp-lines-0.17.0.tgz#f2aecf81a59f264c3dcdd134b5e208e8ddffc30d" - integrity sha512-WDVDfUvcTCjqW+sc3UhL47zW5yISFT2bHpKboFWCiTV2O2mFd92/0SbKRdZ1fcAeJjhBiGKL50L2ccdy5gpIOA== +"@here/harp-lines@^0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-lines/-/harp-lines-0.19.0.tgz#4599544901dfd3be668007ae848c46e34c3e21cf" + integrity sha512-/Fdf2Nf6jiwoqud5LIQC9UQUtrnDSu9ZsTuxkt4CLdaK50pPjhZkTu/YtdD4YB/HXWEef6lTc/r6T1jV3qBuIQ== dependencies: - "@here/harp-materials" "^0.17.0" + "@here/harp-materials" "^0.19.0" -"@here/harp-lrucache@^0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-lrucache/-/harp-lrucache-0.17.0.tgz#9ffa33d2dd7a9a7ad064edee226636c18c0257be" - integrity sha512-h45Mfimxn9N7IklSeYZmJUUVeGLcDEPT9bXJFuWzGSvkm18zSvkGsVr7hxdTb9e9DpR9p4PCm1Ftyr3+lNdEWQ== +"@here/harp-lrucache@^0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-lrucache/-/harp-lrucache-0.19.0.tgz#5c119e2a81becde504f9ac320fe95420409728a6" + integrity sha512-hYRvCIziHzrQp4ze5BTP/r4GevuF0XhPZOR84kQPU2ySNce29Q2muNQzfuA9nFdVP9fR7+33iuthBLiIVzKnEQ== dependencies: - "@here/harp-utils" "^0.17.0" + "@here/harp-utils" "^0.19.0" -"@here/harp-map-controls@~0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-map-controls/-/harp-map-controls-0.17.0.tgz#663d7f9c9eef590df13b231df29cc26349a4b3bc" - integrity sha512-sxTKvAEnSZcRsIjQPr//Et9p6AVr56pOCg+9ERdvo60fw/iR89dI8T8hGdTO3D3YGPwfh6UTuuSd+f4IL/5wDw== +"@here/harp-map-controls@~0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-map-controls/-/harp-map-controls-0.19.0.tgz#5fe69f147482d28a2edb84f27e1ebba654753f3f" + integrity sha512-+MavYTSgHe4mZmyJ0l//fz99bIEVQa4Y4FskepKkcZRIdA5hBrK3ReomoG1CpgyrTfLaht+uFmkqncGx4Naz+g== dependencies: - "@here/harp-geoutils" "^0.17.0" - "@here/harp-mapview" "^0.17.0" - "@here/harp-utils" "^0.17.0" + "@here/harp-geoutils" "^0.19.0" + "@here/harp-mapview" "^0.19.0" + "@here/harp-utils" "^0.19.0" "@tweenjs/tween.js" "^17.4.0" "@types/tween.js" "^17.2.0" -"@here/harp-map-theme@~0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-map-theme/-/harp-map-theme-0.17.0.tgz#06784fc84a86f35521f7ec705ea97a1bab2d7df4" - integrity sha512-n/oR8CgfHdMTUf84AwtZcVbRcpiHs6flutqVuLu8lqBLqoHtkfXimVsOTO56/m2jBw405aD1bI6ocoR6OHnvaA== - -"@here/harp-mapview-decoder@^0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-mapview-decoder/-/harp-mapview-decoder-0.17.0.tgz#de42407e7818950ae8a669e9caf415d891f66b47" - integrity sha512-vyYIMVpW+vN7N4YdVeOYlYqm+kglGXH3ErcQJbeeuCz8OJNNQX8cdR9QrYdRHHFoHSy3ZZ6Xec0SaORtNdQ6rg== - dependencies: - "@here/harp-datasource-protocol" "^0.17.0" - "@here/harp-fetch" "^0.17.0" - "@here/harp-geoutils" "^0.17.0" - "@here/harp-lrucache" "^0.17.0" - "@here/harp-mapview" "^0.17.0" - "@here/harp-utils" "^0.17.0" +"@here/harp-map-theme@~0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-map-theme/-/harp-map-theme-0.19.0.tgz#4a76b57bf3c61d0cf7a5fcff6f97cc0d611c85c2" + integrity sha512-yIDyWgQoRB3/+CdyuPkdk7JsjXI+zEqmcnaYbudxlRXqpUJHu0LD8nlSvHeyXyR5eg8QgBbk1xS7ett19MbB9g== + +"@here/harp-mapview-decoder@^0.19.1": + version "0.19.1" + resolved "https://registry.yarnpkg.com/@here/harp-mapview-decoder/-/harp-mapview-decoder-0.19.1.tgz#763ba38890844a0d2fe6d935804bc6d5d1fd24fc" + integrity sha512-Y/Wy207T0esL9mWDVmga2nYyCATWv5ZBgzyC5z5DXEUBf+kFbAqVUa+tp0HJLU+PNLQNebNMYmgcD1sOEaX5lQ== + dependencies: + "@here/harp-datasource-protocol" "^0.19.0" + "@here/harp-fetch" "^0.19.0" + "@here/harp-geoutils" "^0.19.0" + "@here/harp-lrucache" "^0.19.0" + "@here/harp-mapview" "^0.19.0" + "@here/harp-utils" "^0.19.0" geojson-vt "^3.2.1" -"@here/harp-mapview@^0.17.0", "@here/harp-mapview@~0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-mapview/-/harp-mapview-0.17.0.tgz#7052637e46d80d7a03daf6230b778309b3df8504" - integrity sha512-uQaW16DewjPEn0eue3a78ePmt8kaWMprZz4iKkSm5E6bkaexTnY1zDdMQHKlHT1xFj6kDzsUsMyHqEDgBJeqKQ== - dependencies: - "@here/harp-datasource-protocol" "^0.17.0" - "@here/harp-fetch" "^0.17.0" - "@here/harp-geometry" "^0.17.0" - "@here/harp-geoutils" "^0.17.0" - "@here/harp-lines" "^0.17.0" - "@here/harp-lrucache" "^0.17.0" - "@here/harp-materials" "^0.17.0" - "@here/harp-text-canvas" "^0.17.0" - "@here/harp-transfer-manager" "^0.17.0" - "@here/harp-utils" "^0.17.0" +"@here/harp-mapview@^0.19.0", "@here/harp-mapview@~0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-mapview/-/harp-mapview-0.19.0.tgz#4b5038864eb3f583cd4523861ba0a0987db68cd0" + integrity sha512-GKZbrJniBbvnrbuP5yCNavc4gp8HWFngwOf5zmvxSESAvJZXGgnbbvJnuVzdNGm+z+RK2nnjTYAOuEtR/8Hjfw== + dependencies: + "@here/harp-datasource-protocol" "^0.19.0" + "@here/harp-fetch" "^0.19.0" + "@here/harp-geometry" "^0.19.0" + "@here/harp-geoutils" "^0.19.0" + "@here/harp-lines" "^0.19.0" + "@here/harp-lrucache" "^0.19.0" + "@here/harp-materials" "^0.19.0" + "@here/harp-text-canvas" "^0.19.0" + "@here/harp-transfer-manager" "^0.19.0" + "@here/harp-utils" "^0.19.0" rbush "^3.0.1" -"@here/harp-materials@^0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-materials/-/harp-materials-0.17.0.tgz#2a43c0a2d7df403a94455dc61a0a302818486cd0" - integrity sha512-TTSGQxmPnwOXt0QxpnpZy2dvYIKVSOuc/W/dvXnkJNkJskjpa5PhCmhuB1x0eLKdyKMrYTbonXeruhFLvZu+Kw== - dependencies: - "@here/harp-datasource-protocol" "^0.17.0" - "@here/harp-utils" "^0.17.0" - -"@here/harp-omv-datasource@~0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-omv-datasource/-/harp-omv-datasource-0.17.0.tgz#2a0ed86301309358bdc9eab3e5ea73e7f6c0bc2c" - integrity sha512-KgSssTK9ELyqBEOaiY+HLcmsFWvzcdYzYXEdJPsSBZl0esPGUJSeb4C+n3td7OoFMSiRIic84QTL34lUNPpVRA== - dependencies: - "@here/harp-datasource-protocol" "^0.17.0" - "@here/harp-geometry" "^0.17.0" - "@here/harp-geoutils" "^0.17.0" - "@here/harp-lines" "^0.17.0" - "@here/harp-lrucache" "^0.17.0" - "@here/harp-mapview" "^0.17.0" - "@here/harp-mapview-decoder" "^0.17.0" - "@here/harp-materials" "^0.17.0" - "@here/harp-text-canvas" "^0.17.0" - "@here/harp-transfer-manager" "^0.17.0" - "@here/harp-utils" "^0.17.0" - earcut "^2.2.2" - long "^4.0.0" - protobufjs "^6.9.0" +"@here/harp-materials@^0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-materials/-/harp-materials-0.19.0.tgz#d404b55e3a3ff22ff780ad2342d9a5b8190ae8aa" + integrity sha512-aHmq/rxq3l2v3na/ovtTwTl5r7m4TqrzpXAINiuh0WAh+4RHBP4c29WU0mmXaaTiV0xlbqznq8UmR5SaEh7fTA== + dependencies: + "@here/harp-datasource-protocol" "^0.19.0" + "@here/harp-utils" "^0.19.0" -"@here/harp-text-canvas@^0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-text-canvas/-/harp-text-canvas-0.17.0.tgz#63fb0ac9ebcb787df855bc0bddac556e6facca34" - integrity sha512-8TFx6jcR2a634XrfAiYUdFz+epXW5JxTfxFUkjqNpxeykccsQEoyU9bqijZ90/h3Ia7UdQMJSgiJmOOHbMfcDg== +"@here/harp-text-canvas@^0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-text-canvas/-/harp-text-canvas-0.19.0.tgz#432d23165ed751daf5a380820fe4b1be19224339" + integrity sha512-/CoGmU+vlJiZgTDBb2FiptKV9GfOR9PjhVMaO4+R901hF4lOfLIf8Zi6dJ0sFwolYcVz4WgWeMkT2OLiUlAKvQ== dependencies: - "@here/harp-lrucache" "^0.17.0" + "@here/harp-lrucache" "^0.19.0" + "@here/harp-utils" "^0.19.0" -"@here/harp-transfer-manager@^0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-transfer-manager/-/harp-transfer-manager-0.17.0.tgz#8c65cfe73abd6dc571465b4a607d9c897b2aa8ae" - integrity sha512-XhFRhZxej9QYt2Q/XWBP98EI/j9SNmoy/YNKY15+aNYFQBg4xo7mm38rbS7Z8r6EIL9FRicGfBzyXZhwJgZ3XQ== +"@here/harp-transfer-manager@^0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-transfer-manager/-/harp-transfer-manager-0.19.0.tgz#5672738f932c93b6227c1178a1ab6316636c1bff" + integrity sha512-UvhtCBGtNHBd869ivvCxw9yEFF2bDbAnC2qfoaeiPfwqDh54Rh/mi4F7jNvb396zYxSyd0oGLi3EFKMK+PwFYw== dependencies: - "@here/harp-fetch" "^0.17.0" + "@here/harp-fetch" "^0.19.0" + +"@here/harp-utils@^0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@here/harp-utils/-/harp-utils-0.19.0.tgz#719fc8f29ebd30910507130f0f8ad618f3124d1a" + integrity sha512-rF5u+Tl3I9CLyQSTp1UDpEOwNVSlkPzONZCe4WutjjApvTJNuj9403vG/p7YImMpQVcUgqzxWbu1NZb3sr0pEw== -"@here/harp-utils@^0.17.0": - version "0.17.0" - resolved "https://registry.yarnpkg.com/@here/harp-utils/-/harp-utils-0.17.0.tgz#3659e1ce34d749792895dbc1d61aca2745433bb3" - integrity sha512-/J3EQWUvhFaUSUTCc0wT29+wUo4TeI8xhUWrZs3pprsGFKYoJAKLQ/S2zUUy/pULXk8RhQX6gvW0dtEgj96WZw== +"@here/harp-vectortile-datasource@~0.19.1": + version "0.19.1" + resolved "https://registry.yarnpkg.com/@here/harp-vectortile-datasource/-/harp-vectortile-datasource-0.19.1.tgz#bfd97e1375eebe0dc34a36b8a408d28b31a0cfa3" + integrity sha512-3L3loE9eZZsMcxqw1hRQ4q2FrWyhYTXofoVsSa60dyL8H7JIK3vRDAfLpYc7kstOWBD+TVNhb93qRrviKdiKGQ== + dependencies: + "@here/harp-datasource-protocol" "^0.19.0" + "@here/harp-geometry" "^0.19.0" + "@here/harp-geoutils" "^0.19.0" + "@here/harp-lines" "^0.19.0" + "@here/harp-lrucache" "^0.19.0" + "@here/harp-mapview" "^0.19.0" + "@here/harp-mapview-decoder" "^0.19.1" + "@here/harp-materials" "^0.19.0" + "@here/harp-text-canvas" "^0.19.0" + "@here/harp-transfer-manager" "^0.19.0" + "@here/harp-utils" "^0.19.0" + earcut "^2.2.2" + long "^4.0.0" + protobufjs "^6.9.0" "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": version "1.1.2" @@ -252,13 +253,6 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.4.tgz#38fd73ddfd9b55abb1e1b2ed578cb55bd7b7d339" integrity sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA== -"@types/jszip@^3.1.6": - version "3.4.1" - resolved "https://registry.yarnpkg.com/@types/jszip/-/jszip-3.4.1.tgz#e7a4059486e494c949ef750933d009684227846f" - integrity sha512-TezXjmf3lj+zQ651r6hPqvSScqBLvyPI9FxdXBqpEwBijNGQ2NXpaFW/7joGzveYkKQUil7iiDHLo6LV71Pc0A== - dependencies: - jszip "*" - "@types/long@^4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.1.tgz#459c65fa1867dafe6a8f322c4c51695663cc55e9" @@ -3142,7 +3136,7 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" -jszip@*, jszip@^3.2.1: +jszip@^3.2.1: version "3.4.0" resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.4.0.tgz#1a69421fa5f0bb9bc222a46bca88182fba075350" integrity sha512-gZAOYuPl4EhPTXT0GjhI3o+ZAz3su6EhLrKUoAivcKqyqC7laS5JEv4XWZND9BgcDcF83vI85yGbDmDR6UhrIg== @@ -5349,10 +5343,10 @@ terser@^4.1.2, terser@^4.6.3: source-map "~0.6.1" source-map-support "~0.5.12" -three@^0.117.1: - version "0.117.1" - resolved "https://registry.yarnpkg.com/three/-/three-0.117.1.tgz#a49bcb1a6ddea2f250003e42585dc3e78e92b9d3" - integrity sha512-t4zeJhlNzUIj9+ub0l6nICVimSuRTZJOqvk3Rmlu+YGdTOJ49Wna8p7aumpkXJakJfITiybfpYE1XN1o1Z34UQ== +three@^0.119.0: + version "0.119.1" + resolved "https://registry.yarnpkg.com/three/-/three-0.119.1.tgz#9d979a082c4cd9622af8e3498a8dfa026a619332" + integrity sha512-GHyh/RiUfQ5VTiWIVRRTANYoXc1PFB1y+jDVRTb649nif1uX1F06PT1TKU3k2+F/MN4UJ3PWvQB53fY2OqKqKw== throttle-debounce@^2.1.0: version "2.1.0"