4#ifndef QDECLARATIVEGEOMAPQUICKITEM_H
5#define QDECLARATIVEGEOMAPQUICKITEM_H
18#include <QtLocation/private/qlocationglobal_p.h>
20#include <QtQuick/QQuickItem>
21#include <QtQuick/QSGNode>
23#include <QtLocation/private/qdeclarativegeomap_p.h>
24#include <QtLocation/private/qdeclarativegeomapitembase_p.h>
25#include <QtPositioning/qgeoshape.h>
46 Q_PROPERTY(
QPointF anchorPoint READ anchorPoint WRITE setAnchorPoint NOTIFY anchorPointChanged)
47 Q_PROPERTY(
qreal zoomLevel READ zoomLevel WRITE setZoomLevel NOTIFY zoomLevelChanged)
62 void setAnchorPoint(const
QPointF &anchorPoint);
65 void setZoomLevel(
qreal zoomLevel);
66 qreal zoomLevel() const;
68 const
QGeoShape &geoShape() const override;
69 void setGeoShape(const
QGeoShape &shape) override;
72 void coordinateChanged();
73 void sourceItemChanged();
74 void anchorPointChanged();
75 void zoomLevelChanged();
78 void geometryChange(const
QRectF &newGeometry, const
QRectF &oldGeometry) override;
79 void updatePolish() override;
82 void afterChildrenChanged() override;
92 qreal zoomLevel_ = 0.0;
93 bool mapAndSourceItemSet_ =
false;
94 bool updatingGeometry_ =
false;
QMapQuickItemMatrix4x4(QObject *parent=nullptr)
\qmltype MapQuickItem \instantiates QDeclarativeGeoMapQuickItem \inqmlmodule QtLocation
void applyTo(QMatrix4x4 *matrix) const override
void setMatrix(const QMatrix4x4 &matrix)
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
QObject * parent() const
Returns a pointer to the parent object.
\inmodule QtCore\reentrant
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
\inmodule QtCore\reentrant
QMap< QString, QString > map
[6]
Combined button and popup list for selecting options.
#define QML_DECLARE_TYPE(TYPE)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)