MVFv3 API Documentation
    Preparing search index...

    Type Alias NodesSchema

    The Nodes extension adds a single property to the root of the bundle, nodes, which is a record of FloorId to NodeCollection objects.

    This describes the nodes on each floor.

    type NodesSchema = {
        nodes: Partial<
            {
                [x: `f_${string}`]: {
                    features: {
                        geometry: { coordinates: [number, number]; type: "Point" };
                        properties: {
                            id: `n_${string}`;
                            neighbors: ({ extraCost: ...; id: ... } & { flags: ... })[];
                        } & { geometryIds: `g_${string}`[] };
                        type: "Feature";
                    }[];
                    type: "FeatureCollection";
                };
            },
        >;
    }
    Index

    Properties

    Properties

    nodes: Partial<
        {
            [x: `f_${string}`]: {
                features: {
                    geometry: { coordinates: [number, number]; type: "Point" };
                    properties: {
                        id: `n_${string}`;
                        neighbors: ({ extraCost: ...; id: ... } & { flags: ... })[];
                    } & { geometryIds: `g_${string}`[] };
                    type: "Feature";
                }[];
                type: "FeatureCollection";
            };
        },
    >