diff options
Diffstat (limited to 'src/imports/location/qdeclarativerectanglemapitem_p.h')
-rw-r--r-- | src/imports/location/qdeclarativerectanglemapitem_p.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/imports/location/qdeclarativerectanglemapitem_p.h b/src/imports/location/qdeclarativerectanglemapitem_p.h index fb9936b0..3c55b7ba 100644 --- a/src/imports/location/qdeclarativerectanglemapitem_p.h +++ b/src/imports/location/qdeclarativerectanglemapitem_p.h @@ -51,23 +51,12 @@ #include "qdeclarativegeomapitembase_p.h" #include "qgeomapitemgeometry_p.h" #include "qdeclarativepolylinemapitem_p.h" +#include "qdeclarativepolygonmapitem_p.h" #include <QSGGeometryNode> #include <QSGFlatColorMaterial> QT_BEGIN_NAMESPACE -class QGeoMapRectangleGeometry : public QGeoMapItemGeometry -{ -public: - QGeoMapRectangleGeometry(); - - void updatePoints(const QGeoMap &map, - const QGeoCoordinate &topLeft, - const QGeoCoordinate &bottomRight); -}; - -class MapRectangleNode; - class QDeclarativeRectangleMapItem: public QDeclarativeGeoMapItemBase { Q_OBJECT @@ -117,7 +106,7 @@ private: QDeclarativeMapLineProperties border_; QColor color_; bool dirtyMaterial_; - QGeoMapRectangleGeometry geometry_; + QGeoMapPolygonGeometry geometry_; QGeoMapPolylineGeometry borderGeometry_; bool updatingGeometry_; }; |