summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h')
-rw-r--r--src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h b/src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h
index 83f1100e..8d566e69 100644
--- a/src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h
+++ b/src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h
@@ -116,6 +116,8 @@ public:
void allocateAndFillPolygon(QSGGeometry *geom) const
{
+
+
const QVector<QDeclarativeGeoMapItemUtils::vec2> &vx = m_screenVertices;
const QVector<quint32> &ix = m_screenIndices;
@@ -613,7 +615,9 @@ public:
combinedMatrix,
cameraCenter,
Qt::SquareCap,
- true);
+ true,
+ 30); // No LOD for polygons just yet.
+ // First figure out what to do with holes.
m_borderGeometry.setPreserveGeometry(false);
m_borderGeometry.markClean();
} else {