flywave-mapview.tilefeaturedata
Home > @flywave/flywave-mapview > TileFeatureData
TileFeatureData interface
An interface for optional feature data that is saved in a THREE.Object3D's userData property.
Signature:
export interface TileFeatureData
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
GeometryType | (Optional) The original type of geometry. | ||
Array<{} | undefined> | (Optional) An optional object containing properties defined by the developer. It has the same size as the list of IDs and the starting indices (starts). | ||
number[] | (Optional) An optional array of sorted indices into geometry where the feature starts. The lists of IDs and starting indices (starts) must have the same size. Feature i starts at starts[i] and ends at starts[i+1]-1, except for the last feature, which ends at the last index in the object's geometry. |