Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@here/harp-mapview-decoder

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@here/harp-mapview-decoder - npm Package Compare versions

Comparing version
0.16.0
to
0.17.0
+7
-0
index.d.ts

@@ -0,1 +1,8 @@

/**
* Decoder worker for {@ref MapView}.
*
* @remarks
*
* @packageDocumentation
*/
export * from "./lib/DataProvider";

@@ -2,0 +9,0 @@ export * from "./lib/TileDataSource";

@@ -18,2 +18,9 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
/**
* Decoder worker for {@ref MapView}.
*
* @remarks
*
* @packageDocumentation
*/
__exportStar(require("./lib/DataProvider"), exports);

@@ -20,0 +27,0 @@ __exportStar(require("./lib/TileDataSource"), exports);

+2
-2

@@ -22,4 +22,4 @@ import "@here/harp-fetch";

*
* @param tileKey Address of a tile.
* @param abortSignal Optional AbortSignal to cancel the request.
* @param tileKey - Address of a tile.
* @param abortSignal - Optional AbortSignal to cancel the request.
* @returns A promise delivering the data as an [[ArrayBufferLike]], or any object.

@@ -26,0 +26,0 @@ */

@@ -24,7 +24,7 @@ import { DecodedTile, Definitions, ITileDecoder, OptionsMap, StyleSet, TileInfo } from "@here/harp-datasource-protocol";

*
* @param data Binary data in form of [[ArrayBufferLike]], or any object.
* @param tileKey Quadtree address of tile.
* @param styleSetEvaluator Processor of [[Theme]], identifies styling techniques applicable to
* individual objects.
* @param projection Projection used by the individual data sources.
* @param data - Binary data in form of [[ArrayBufferLike]], or any object.
* @param tileKey - Quadtree address of tile.
* @param styleSetEvaluator - Processor of [[Theme]], identifies styling techniques applicable
* to individual objects.
* @param projection - Projection used by the individual data sources.
*/

@@ -31,0 +31,0 @@ abstract decodeThemedTile(data: ArrayBufferLike | {}, tileKey: TileKey, styleSetEvaluator: StyleSetEvaluator, projection: Projection): Promise<DecodedTile>;

@@ -56,3 +56,3 @@ import { Definitions, ITileDecoder, StyleSet, Theme, TileInfo } from "@here/harp-datasource-protocol";

*
* @param m_modelConstructor Constructor of (subclass of) [[Tile]].
* @param m_modelConstructor - Constructor of (subclass of) [[Tile]].
*/

@@ -64,4 +64,4 @@ constructor(m_modelConstructor: new (dataSource: DataSource, tileKey: TileKey) => TileType);

*
* @param dataSource [[Datasource]] this class belongs to.
* @param tileKey Quadtree address of the [[Tile]].
* @param dataSource - [[Datasource]] this class belongs to.
* @param tileKey - Quadtree address of the [[Tile]].
*/

@@ -84,4 +84,4 @@ create(dataSource: DataSource, tileKey: TileKey): TileType;

*
* @param m_tileFactory Factory to create the [[Tile]] instances.
* @param m_options Options specifying the parameters of the [[DataSource]].
* @param m_tileFactory - Factory to create the [[Tile]] instances.
* @param m_options - Options specifying the parameters of the [[DataSource]].
*/

@@ -122,3 +122,3 @@ constructor(m_tileFactory: TileFactory<TileType>, m_options: TileDataSourceOptions);

*
* @param tileKey Quadtree address of the requested tile.
* @param tileKey - Quadtree address of the requested tile.
* @override

@@ -130,3 +130,3 @@ */

*
* @param tileKey Quadtree address of the requested tile.
* @param tileKey - Quadtree address of the requested tile.
* @returns A promise which will contain the [[TileInfo]] when resolved.

@@ -133,0 +133,0 @@ */

@@ -20,3 +20,3 @@ "use strict";

*
* @param m_modelConstructor Constructor of (subclass of) [[Tile]].
* @param m_modelConstructor - Constructor of (subclass of) [[Tile]].
*/

@@ -30,4 +30,4 @@ constructor(m_modelConstructor) {

*
* @param dataSource [[Datasource]] this class belongs to.
* @param tileKey Quadtree address of the [[Tile]].
* @param dataSource - [[Datasource]] this class belongs to.
* @param tileKey - Quadtree address of the [[Tile]].
*/

@@ -48,4 +48,4 @@ create(dataSource, tileKey) {

*
* @param m_tileFactory Factory to create the [[Tile]] instances.
* @param m_options Options specifying the parameters of the [[DataSource]].
* @param m_tileFactory - Factory to create the [[Tile]] instances.
* @param m_options - Options specifying the parameters of the [[DataSource]].
*/

@@ -143,3 +143,3 @@ constructor(m_tileFactory, m_options) {

*
* @param tileKey Quadtree address of the requested tile.
* @param tileKey - Quadtree address of the requested tile.
* @override

@@ -168,3 +168,3 @@ */

*
* @param tileKey Quadtree address of the requested tile.
* @param tileKey - Quadtree address of the requested tile.
* @returns A promise which will contain the [[TileInfo]] when resolved.

@@ -171,0 +171,0 @@ */

@@ -19,4 +19,4 @@ import { ITileDecoder } from "@here/harp-datasource-protocol";

*
* @param serviceId Service id. Must be unique.
* @param decoder [[TileDecoder]] instance.
* @param serviceId - Service id. Must be unique.
* @param decoder - [[TileDecoder]] instance.
*/

@@ -27,4 +27,4 @@ static start(serviceId: string, decoder: ITileDecoder): TileDecoderService;

*
* @param serviceId Service id. Must be unique.
* @param m_decoder Decoder to handle the decoding and info requests.
* @param serviceId - Service id. Must be unique.
* @param m_decoder - Decoder to handle the decoding and info requests.
*/

@@ -35,3 +35,3 @@ constructor(serviceId: string, m_decoder: ITileDecoder);

*
* @param request Message that is either a DecodeTileRequest or a TileInfoRequest.
* @param request - Message that is either a DecodeTileRequest or a TileInfoRequest.
* @returns A promise which resolves to a [[WorkerServiceResponse]].

@@ -44,3 +44,3 @@ * @override

*
* @param request Message of type [[ConfigurationMessage]].
* @param request - Message of type [[ConfigurationMessage]].
* @override

@@ -47,0 +47,0 @@ */

@@ -28,4 +28,4 @@ "use strict";

*
* @param serviceId Service id. Must be unique.
* @param m_decoder Decoder to handle the decoding and info requests.
* @param serviceId - Service id. Must be unique.
* @param m_decoder - Decoder to handle the decoding and info requests.
*/

@@ -41,4 +41,4 @@ constructor(serviceId, m_decoder) {

*
* @param serviceId Service id. Must be unique.
* @param decoder [[TileDecoder]] instance.
* @param serviceId - Service id. Must be unique.
* @param decoder - [[TileDecoder]] instance.
*/

@@ -51,3 +51,3 @@ static start(serviceId, decoder) {

*
* @param request Message that is either a DecodeTileRequest or a TileInfoRequest.
* @param request - Message that is either a DecodeTileRequest or a TileInfoRequest.
* @returns A promise which resolves to a [[WorkerServiceResponse]].

@@ -70,3 +70,3 @@ * @override

*
* @param request Message of type [[ConfigurationMessage]].
* @param request - Message of type [[ConfigurationMessage]].
* @override

@@ -73,0 +73,0 @@ */

@@ -55,7 +55,7 @@ import "@here/harp-fetch";

*
* @param dataSource The [[DataSource]] the tile belongs to.
* @param tileKey The quadtree address of a [[Tile]].
* @param dataProvider The [[DataProvider]] that retrieves the binary tile data.
* @param tileDecoder The [[ITileDecoder]] that decodes the binary tile to a [[DecodeTile]].
* @param priority The priority given to the loading job. Highest number will be served first.
* @param dataSource - The [[DataSource]] the tile belongs to.
* @param tileKey - The quadtree address of a [[Tile]].
* @param dataProvider - The [[DataProvider]] that retrieves the binary tile data.
* @param tileDecoder - The [[ITileDecoder]] that decodes the binary tile to a [[DecodeTile]].
* @param priority - The priority given to the loading job. Highest number will be served first.
*/

@@ -97,3 +97,3 @@ constructor(dataSource: DataSource, tileKey: TileKey, dataProvider: DataProvider, tileDecoder: ITileDecoder, priority: number);

*
* @param payload Binary data in form of [[ArrayBufferLike]], or any object.
* @param payload - Binary data in form of [[ArrayBufferLike]], or any object.
*/

@@ -108,3 +108,3 @@ protected onLoaded(payload: ArrayBufferLike | {}): void;

*
* @param decodedTile The [[DecodedTile]].
* @param decodedTile - The [[DecodedTile]].
*/

@@ -120,3 +120,3 @@ protected onDecoded(decodedTile: DecodedTile): void;

*
* @param doneState The latest state of loading.
* @param doneState - The latest state of loading.
*/

@@ -127,3 +127,3 @@ protected onDone(doneState: TileLoaderState): void;

*
* @param error Error object describing the failing.
* @param error - Error object describing the failing.
*/

@@ -130,0 +130,0 @@ protected onError(error: Error): void;

@@ -25,7 +25,7 @@ "use strict";

*
* @param dataSource The [[DataSource]] the tile belongs to.
* @param tileKey The quadtree address of a [[Tile]].
* @param dataProvider The [[DataProvider]] that retrieves the binary tile data.
* @param tileDecoder The [[ITileDecoder]] that decodes the binary tile to a [[DecodeTile]].
* @param priority The priority given to the loading job. Highest number will be served first.
* @param dataSource - The [[DataSource]] the tile belongs to.
* @param tileKey - The quadtree address of a [[Tile]].
* @param dataProvider - The [[DataProvider]] that retrieves the binary tile data.
* @param tileDecoder - The [[ITileDecoder]] that decodes the binary tile to a [[DecodeTile]].
* @param priority - The priority given to the loading job. Highest number will be served first.
*/

@@ -151,3 +151,3 @@ constructor(dataSource, tileKey, dataProvider, tileDecoder, priority) {

*
* @param payload Binary data in form of [[ArrayBufferLike]], or any object.
* @param payload - Binary data in form of [[ArrayBufferLike]], or any object.
*/

@@ -204,3 +204,3 @@ onLoaded(payload) {

*
* @param decodedTile The [[DecodedTile]].
* @param decodedTile - The [[DecodedTile]].
*/

@@ -225,3 +225,3 @@ onDecoded(decodedTile) {

*
* @param doneState The latest state of loading.
* @param doneState - The latest state of loading.
*/

@@ -243,3 +243,3 @@ onDone(doneState) {

*
* @param error Error object describing the failing.
* @param error - Error object describing the failing.
*/

@@ -246,0 +246,0 @@ onError(error) {

@@ -18,3 +18,3 @@ import { ITiler } from "@here/harp-datasource-protocol";

*
* @param serviceId Service id. Must be unique.
* @param serviceId - Service id. Must be unique.
*/

@@ -26,3 +26,3 @@ static start(serviceId: string): TilerService;

*
* @param serviceId Service id. Must be unique.
* @param serviceId - Service id. Must be unique.
*/

@@ -33,3 +33,3 @@ constructor(serviceId: string);

*
* @param request [[WorkerTilerProtocol]] request.
* @param request - [[WorkerTilerProtocol]] request.
* @returns A promise which resolves to a [[WorkerServiceResponse]].

@@ -36,0 +36,0 @@ * @override

@@ -27,3 +27,3 @@ "use strict";

*
* @param serviceId Service id. Must be unique.
* @param serviceId - Service id. Must be unique.
*/

@@ -38,3 +38,3 @@ constructor(serviceId) {

*
* @param serviceId Service id. Must be unique.
* @param serviceId - Service id. Must be unique.
*/

@@ -47,3 +47,3 @@ static start(serviceId) {

*
* @param request [[WorkerTilerProtocol]] request.
* @param request - [[WorkerTilerProtocol]] request.
* @returns A promise which resolves to a [[WorkerServiceResponse]].

@@ -50,0 +50,0 @@ * @override

@@ -33,3 +33,3 @@ /**

*
* @param serviceId The service id.
* @param serviceId - The service id.
*/

@@ -45,3 +45,3 @@ constructor(serviceId: string);

*
* @param message `MessageEvent.data` as received by `WorkerService`.
* @param message - `MessageEvent.data` as received by `WorkerService`.
*/

@@ -52,3 +52,3 @@ protected handleMessage(message: any): void;

*
* @param request [[RequestMessage.request]] as received by `WorkerService`.
* @param request - [[RequestMessage.request]] as received by `WorkerService`.
*/

@@ -61,3 +61,3 @@ protected handleRequest(request: any): Promise<WorkerServiceResponse>;

*
* @param message Message to be dispatched.
* @param message - Message to be dispatched.
*/

@@ -64,0 +64,0 @@ private onMessage;

@@ -28,3 +28,3 @@ "use strict";

*
* @param serviceId The service id.
* @param serviceId - The service id.
*/

@@ -39,3 +39,3 @@ constructor(serviceId) {

*
* @param message Message to be dispatched.
* @param message - Message to be dispatched.
*/

@@ -100,3 +100,3 @@ this.onMessage = (message) => {

*
* @param message `MessageEvent.data` as received by `WorkerService`.
* @param message - `MessageEvent.data` as received by `WorkerService`.
*/

@@ -109,3 +109,3 @@ handleMessage(message) {

*
* @param request [[RequestMessage.request]] as received by `WorkerService`.
* @param request - [[RequestMessage.request]] as received by `WorkerService`.
*/

@@ -112,0 +112,0 @@ handleRequest(request) {

@@ -40,3 +40,3 @@ import { WorkerService, WorkerServiceResponse } from "./WorkerService";

*
* @param workerServiceDescriptor service type and factory
* @param workerServiceDescriptor - service type and factory
*/

@@ -43,0 +43,0 @@ register(workerServiceDescriptor: WorkerServiceDescriptor): void;

@@ -41,3 +41,3 @@ "use strict";

*
* @param workerServiceDescriptor service type and factory
* @param workerServiceDescriptor - service type and factory
*/

@@ -44,0 +44,0 @@ register(workerServiceDescriptor) {

{
"name": "@here/harp-mapview-decoder",
"version": "0.16.0",
"version": "0.17.0",
"description": "Decoder worker for mapview",

@@ -29,12 +29,12 @@ "main": "index.js",

"dependencies": {
"@here/harp-datasource-protocol": "^0.16.0",
"@here/harp-fetch": "^0.16.0",
"@here/harp-geoutils": "^0.16.0",
"@here/harp-lrucache": "^0.16.0",
"@here/harp-mapview": "^0.16.0",
"@here/harp-utils": "^0.16.0",
"@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",
"geojson-vt": "^3.2.1"
},
"devDependencies": {
"@here/harp-test-utils": "^0.16.0",
"@here/harp-test-utils": "^0.17.0",
"@types/chai": "^4.2.11",

@@ -55,3 +55,3 @@ "@types/chai-as-promised": "^7.1.2",

},
"gitHead": "5598ea33a309aa082f16337534a3673eacd695e4"
"gitHead": "fabadbb5c083b40abc6171761ef32dc8491060fb"
}