UNPKG

@loaders.gl/i3s

Version:
33 lines 1.15 kB
import type { LoaderOptions } from '@loaders.gl/loader-utils'; import type { I3STileAttributes } from "./lib/parsers/parse-i3s-attribute.js"; /** * Loader for I3S attributes */ export declare const I3SAttributeLoader: { readonly dataType: I3STileAttributes; readonly batchType: never; readonly name: "I3S Attribute"; readonly id: "i3s-attribute"; readonly module: "i3s"; readonly version: any; readonly mimeTypes: ["application/binary"]; readonly parse: (arrayBuffer: ArrayBuffer, options?: LoaderOptions) => Promise<I3STileAttributes>; readonly extensions: ["bin"]; readonly options: {}; readonly binary: true; }; /** * Load attributes based on feature id * @param {Object} tile * @param {number} featureId * @param {Object} options * @returns {Promise} */ export declare function loadFeatureAttributes(tile: any, featureId: any, options?: {}): Promise<{} | null>; /** * Get attribute value type based on property names * @param {Object} attribute * @returns {String} */ export declare function getAttributeValueType(attribute: any): any; //# sourceMappingURL=i3s-attribute-loader.d.ts.map