Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
* Copyright (C) 2017-2019 HERE Europe B.V.
* Licensed under Apache 2.0, see full license in LICENSE
* SPDX-License-Identifier: Apache-2.0
*/
declare let self: Worker & {
importScripts(..._scripts: string[]): void;
};
self.importScripts("three.min.js");
import { GeoJsonTileDecoderService } from "@here/harp-geojson-datasource/index-worker";
import { OmvTileDecoderService, OmvTilerService } from "@here/harp-omv-datasource/index-worker";
import { CustomDecoderService } from "./custom_decoder";
OmvTileDecoderService.start();
OmvTilerService.start();
GeoJsonTileDecoderService.start();
//Following code is only needed for datasource_custom example.
// snippet:custom_datasource_example_custom_decoder_service_start.ts
CustomDecoderService.start();
// end:custom_datasource_example_custom_decoder_service_start.ts
/*
* Copyright (C) 2017-2019 HERE Europe B.V.
* Licensed under Apache 2.0, see full license in LICENSE
* SPDX-License-Identifier: Apache-2.0
*/
declare let self: Worker & {
importScripts(..._scripts: string[]): void;
};
self.importScripts("three.min.js");
import { OmvTileDecoderService, OmvTilerService } from "@here/harp-omv-datasource/index-worker";
OmvTileDecoderService.start();
OmvTilerService.start();