Open Pioneer Trails Packages
    Preparing search index...

    Represents a result returned by a spatial selection.

    interface SelectionResult {
        geometry: Geometry;
        id: string | number;
        projection?: string;
        properties?: Readonly<Record<string, unknown>>;
        style?: Style;
    }

    Hierarchy (View Summary)

    Index

    Properties

    geometry: Geometry

    Geometry of the selection result. One should also specify the projection.

    id: string | number

    Identifier for the feature object. Must be unique within all features of one source/layer.

    If your source cannot provide a useful id on its own, another strategy to generate unique ids is to generate a UUID instead.

    projection?: string

    The projection of the geometry.

    properties?: Readonly<Record<string, unknown>>

    Properties of the feature.

    style?: Style

    Additional style information for displaying the feature on the map.