DefaultLocationDataSource QML Type

  • Esri.ArcGISRuntime
  • DefaultLocationDataSource
  • A default location data source object. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.8
    Inherits:

    AbstractLocationDataSource

    Properties

    Signals

    Detailed Description

    This type provide a default implementation of the AbstractLocationDataSource interface. It is used by default by the LocationDisplay.

    The DefaultLocationDataSource is designed to work with the QML types:

    Not all devices can determine their own location. Your app can check for location availability using supportedPositioningMethods property on the DefaultLocationDataSource::positionInfoSource property. This property is set to QGeoPositionInfoSource::NoPositioningMethods (0x0) when there is no position source.

    Property Documentation

    compass : Compass

    The Compass used by this data source.

    See also Compass QML Type.


    positionInfoSource : PositionSource

    The PositionSource used by this data source.

    The position source obtains and distributes the position updates. This is provided by Qt's PositionSource QML type, which obtains the device's current location.

    See also PositionSource QML Type.


    Signal Documentation

    compassChanged()

    Emitted when the compass property changes.

    Note: The corresponding handler is onCompassChanged.


    positionInfoSourceChanged()

    Emitted when the positionInfoSource property changes.

    Note: The corresponding handler is onPositionInfoSourceChanged.


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.