map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface Measurement3DModel

    A model, providing access to the current measurement state. It is available as service measurement-3d.Model.

    See Measurement3DModelProperties for documentation of class members.

    interface Measurement3DModel {
        area: string;
        directDistance: string;
        horizontalDistance: string;
        mode: Measurement3DMode;
        perimeter: string;
        state: Measurement3DState;
        unit:
            | "imperial"
            | "metric"
            | "square-millimeters"
            | "square-centimeters"
            | "square-decimeters"
            | "square-meters"
            | "square-kilometers"
            | "square-inches"
            | "square-feet"
            | "square-yards"
            | "square-miles"
            | "square-nautical-miles"
            | "square-us-feet"
            | "acres"
            | "ares"
            | "hectares"
            | "millimeters"
            | "centimeters"
            | "decimeters"
            | "meters"
            | "kilometers"
            | "inches"
            | "feet"
            | "yards"
            | "miles"
            | "nautical-miles"
            | "us-feet";
        verticalDistance: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    area: string

    Locale specific representation of the area including the unit. Available if the mode is set to area.

    directDistance: string

    Locale specific representation of the direct distance including the unit. Available if the mode is set to distance.

    horizontalDistance: string

    Locale specific representation of the horizontal distance including the unit. Available if the mode is set to distance.

    Measurement mode.

    perimeter: string

    Locale specific representation of the perimeter including the unit. Available if the mode is set to area.

    Measurement state.

    unit:
        | "imperial"
        | "metric"
        | "square-millimeters"
        | "square-centimeters"
        | "square-decimeters"
        | "square-meters"
        | "square-kilometers"
        | "square-inches"
        | "square-feet"
        | "square-yards"
        | "square-miles"
        | "square-nautical-miles"
        | "square-us-feet"
        | "acres"
        | "ares"
        | "hectares"
        | "millimeters"
        | "centimeters"
        | "decimeters"
        | "meters"
        | "kilometers"
        | "inches"
        | "feet"
        | "yards"
        | "miles"
        | "nautical-miles"
        | "us-feet"

    Measurement unit is either unit system (metric, imperial) or a specific unit. Available if the mode is set to area or distance.

    verticalDistance: string

    Locale specific representation of the vertical distance including the unit. Available if the mode is set to distance.