Open Pioneer Trails Packages
    Preparing search index...

    This is for special properties of the Measurement.

    interface MeasurementProps {
        activeFeatureStyle?: StyleLike;
        finishedFeatureStyle?: StyleLike;
        map?: MapModel;
        mapId?: string;
        onMeasurementsChange?: (event: MeasurementsChangeEvent) => void;
        predefinedMeasurements?: MeasurementGeometry[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    activeFeatureStyle?: StyleLike

    The style for the active drawing feature's geometry.

    finishedFeatureStyle?: StyleLike

    The style for the finished drawn feature's geometry.

    map?: MapModel

    The map model to use.

    mapId?: string

    The id of the map. The map will be looked up in the MapRegistry service.

    Use the map property instead.

    onMeasurementsChange?: (event: MeasurementsChangeEvent) => void

    Event handler that is called whenever a measurement is added or removed.

    predefinedMeasurements?: MeasurementGeometry[]

    List of measurements to be rendered when the component is initialized.