Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
static start() {
WorkerServiceManager.getInstance().register({
serviceType: "geojson-tile-decoder",
factory: (serviceId: string) =>
TileDecoderService.start(serviceId, new GeoJsonTileDecoder())
});
}
}
static start() {
WorkerServiceManager.getInstance().register({
serviceType: CUSTOM_DECODER_SERVICE_TYPE,
factory: (serviceId: string) => TileDecoderService.start(serviceId, new CustomDecoder())
});
}
}
static start() {
WorkerServiceManager.getInstance().register({
serviceType: OMV_TILE_DECODER_SERVICE_TYPE,
factory: (serviceId: string) =>
TileDecoderService.start(serviceId, new OmvTileDecoder())
});
}
}