The following members of class Toolkit are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Classes
(since Esri class | ArcGIS |
(since Esri class | ArcGIS |
(since Esri class | Location |
Classes
[since Esri::ArcGISRuntime 100.6, deprecated]
class Toolkit::ArcGISArView
This class is deprecated. We strongly advise against using it in new code.
The Augmented Reality (AR) toolkit provides support for ARKit for iOS and ArCore for Android. This toolkit component allows quick and easy integration of AR into your application for a variety of scenarios.
See additional details about using the ArcGISArView toolkit component.
This class was introduced in Esri::ArcGISRuntime 100.6.
[since Esri::ArcGISRuntime 100.6, deprecated]
class Toolkit::ArcGISArViewInterface
This class is deprecated. We strongly advise against using it in new code.
This class provides the AR features without using the C++ API of the ArcGIS Maps SDK for Qt. It is used as a base class to create the API-dependent classe: ArcGISArView which uses the C++ API.
This class was introduced in Esri::ArcGISRuntime 100.6.
[since Esri::ArcGISRuntime 100.6, deprecated]
class Toolkit::LocationDataSource
This class is deprecated. We strongly advise against using it in new code.
LocationDataSource uses the Qt class QGeoPositionInfoSource to get the location and the heading of the device, using the GPS sensor.
LocationDataSource can be started using the function start and stopped using the function stop. When LocationDataSource is running, the signals headingChanged and locationChanged are emitted every time the values change.
Most of the time, it's not necessary to create an object of this class. A default LocationDataSource is created automatically by ArcGISArView when this is necessary. This class is public to give the possibility to override the class QGeoPositionInfoSource to support a custom GPS device.
See also {http://doc.qt.io/qt-5/qtpositioning-plugins.html}{Qt Positioning service plugins}.
Latitude and longitude
The latitude and longitude parameters hold the latitude and longitude in decimal degrees in the WGS84 datum format. The property is undefined (NaN
) if the latitude or longitude has not been set.
A positive latitude indicates the Northern Hemisphere, and a negative latitude indicates the Southern Hemisphere. A positive longitude indicates the Eastern Hemisphere, and a negative longitude indicates the Western Hemisphere.
To be valid, the latitude must be between -90 to 90 inclusive and the longitude must be between -180 to 180 inclusive.
Altitude
The altitude parameter holds the altitude in meters above sea level. The property is undefined (NaN
) if the altitude has not been set.
Heading
The azimuth of the device as degrees from magnetic north in a clockwise direction based on the top of the device, as defined by QScreen::nativeOrientation.
Tracking Mode
The tracking mode can be LocationTrackingode::Ignore
{ignore} (the location data are ignored), LocationTrackingode::Initial
{initial} (only the first location data are used) or LocationTrackingode::Continuous
{continuous} (all the location data are used).
If the tracking mode is not LocationTrackingode::Ignore
{ignore} and the user didn't provide QGeoPositionInfoSource and QCompass objects, default ones are created with the LocationDataSource as parent. If one of these objects is provided, the LocationDataSource doesn't take ownership of the object.
This class was introduced in Esri::ArcGISRuntime 100.6.
See also QCompass.