From 5e6bc0bb6daca66927333ad2195fa73ca5d765e8 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Thu, 2 Feb 2017 12:15:06 +0200 Subject: Support for Mapbox GL Native rendering of QML Map{Polygon,Polyline} items Replaces Mapbox GL Native annotations with runtime styles API. Missing: - Map{Polygon,Rectangle} border width property - see QTBUG-58872 for details. - MapCircle support - see QTBUG-58869 for detais. Change-Id: I77c9daee813a63efc60104f94f440f00ac3cf70f Reviewed-by: Thiago Marcos P. Santos Reviewed-by: Paolo Angelelli --- src/location/declarativemaps/qdeclarativepolygonmapitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/location/declarativemaps/qdeclarativepolygonmapitem.cpp') diff --git a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp index ff6e58fc..857aec41 100644 --- a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp +++ b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp @@ -331,7 +331,7 @@ void QGeoMapPolygonGeometry::updateScreenPoints(const QGeoMap &map) } QDeclarativePolygonMapItem::QDeclarativePolygonMapItem(QQuickItem *parent) -: QDeclarativeGeoMapItemBase(parent), color_(Qt::transparent), dirtyMaterial_(true), +: QDeclarativeGeoMapItemBase(parent), border_(this), color_(Qt::transparent), dirtyMaterial_(true), updatingGeometry_(false) { setFlag(ItemHasContents, true); -- cgit v1.2.1