Skip to main content

@novorender/web_app / downloadMeasureImports

Function: downloadMeasureImports()

function downloadMeasureImports(map): Promise<MeasureImports>

Download any missing imports.

Parameters

ParameterTypeDescription
mapMeasureImportMapURLs or bundled asset map.

Returns

Promise<MeasureImports>

Remarks

This function will attempt to download any resource not inlined from the specified urls, using the specified baseUrl. If map is undefined, it will look for the files in the same folder as the current script.

Defined in

@novorender/measure/imports.ts:51