4#include <private/qpositioningquickglobal_p.h>
6#include <QGeoCoordinate>
9#include <QGeoRectangle>
10#include <QtPositioningQuick/private/qquickgeocoordinateanimation_p.h>
11#include <QtCore/QVariantAnimation>
12#include <QtQml/QQmlEngineExtensionPlugin>
524 c.setLongitude(
it.value().toDouble());
528 c.setAltitude(
it.value().toDouble());
549 rect.setWidth(
it.value().toDouble());
551 rect.setHeight(
it.value().toDouble());
554 return rect.isValid();
560 QMetaType::registerConverter<QGeoRectangle, QGeoShape>();
561 QMetaType::registerConverter<QGeoShape, QGeoRectangle>();
562 QMetaType::registerConverter<QGeoShape, QGeoCircle>();
563 QMetaType::registerConverter<QGeoCircle, QGeoShape>();
564 QMetaType::registerConverter<QGeoShape, QGeoPath>();
565 QMetaType::registerConverter<QGeoPath, QGeoShape>();
566 QMetaType::registerConverter<QGeoShape, QGeoPolygon>();
567 QMetaType::registerConverter<QGeoPolygon, QGeoShape>();
573 }, QMetaType::fromType<QVariantMap>(), QMetaType::fromType<QGeoCoordinate>())) {
574 qWarning(
"Failed to register conversion function from QVariantMap to QGeoCoordinate");
580 return parseRectangle(
map,
rect);
581 }, QMetaType::fromType<QVariantMap>(), QMetaType::fromType<QGeoRectangle>())) {
582 qWarning(
"Failed to register conversion function from QVariantMap to QGeoRectangle");
592#include "positioningplugin.moc"
void setLatitude(double latitude)
Sets the latitude (in decimal degrees) to latitude.
iterator find(const Key &key)
QObject * parent() const
Returns a pointer to the parent object.
The QQmlEngineExtensionPlugin class provides an abstract base for custom QML extension plugins.
\qmlvaluetype coordinate\inqmlmodule QtPositioning
QtPositioningDeclarativeModule(QObject *parent=0)
QMap< QString, QString > map
[6]
QSet< QString >::iterator it
QT_BEGIN_NAMESPACE QGeoCoordinate parseCoordinate(const QJsonArray &coordinateArray)
Combined button and popup list for selecting options.
void QtPositioningDeclarative_initializeModule()
Q_CONSTRUCTOR_FUNCTION(qt_apple_check_os_version)
Q_CORE_EXPORT Q_DECL_CONST_FUNCTION double qQNaN()
QT_BEGIN_NAMESPACE void Q_POSITIONINGQUICK_EXPORT qml_register_types_QtPositioning()
#define QQmlExtensionInterface_iid
QT_BEGIN_NAMESPACE QVariant q_coordinateInterpolator(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress)
\qmltype CoordinateAnimation \inherits PropertyAnimation \inqmlmodule QtPositioning
#define QStringLiteral(str)