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

    Interface CoordinateConversionModel

    A model that provides access to the current state of the coordinate conversion widget. Properties and methods are designed to be used together with the Reactivity API.

    It is available as service coordinateconversion.Model.

    interface CoordinateConversionModel {
        active: boolean;
        confirmedLocation: undefined | Point;
        currentLocation: undefined | Point;
    }
    Index

    Properties

    active: boolean

    True if the widget is currently active.

    confirmedLocation: undefined | Point

    The current marker location, if any.

    This value represents explicit location inputs only, i.e. if the user clicked on the map (not just moving the mouse) or confirmed the input form.

    currentLocation: undefined | Point

    The current marker location, if any. This value represents explicit location inputs and also locations from mouse movements.