summaryrefslogtreecommitdiffstats
path: root/src/plugins/geoservices/mapboxgl/qmapboxglstylechange_p.h
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-01 11:15:08 -0800
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-03-06 22:08:44 +0000
commit2c4811a1c33412cc47e92df1df63b7d1131439b3 (patch)
treef7365554e7dbcd62b97fd5c005ded93ead64b40f /src/plugins/geoservices/mapboxgl/qmapboxglstylechange_p.h
parent9c2bf32b1185cdfcf448a76dbc4a9ba18ae68b05 (diff)
Fix line rendering when ending and joining
Change-Id: I30e1ae3ec70e8ab36ef3344cecb7a66b1d37a952 Reviewed-by: Thiago Marcos P. Santos <tmpsantos@gmail.com> Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/plugins/geoservices/mapboxgl/qmapboxglstylechange_p.h')
-rw-r--r--src/plugins/geoservices/mapboxgl/qmapboxglstylechange_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/geoservices/mapboxgl/qmapboxglstylechange_p.h b/src/plugins/geoservices/mapboxgl/qmapboxglstylechange_p.h
index e6a56470..a380660b 100644
--- a/src/plugins/geoservices/mapboxgl/qmapboxglstylechange_p.h
+++ b/src/plugins/geoservices/mapboxgl/qmapboxglstylechange_p.h
@@ -68,11 +68,15 @@ class QMapboxGLStyleSetLayoutProperty : public QMapboxGLStyleChange
{
public:
static QList<QSharedPointer<QMapboxGLStyleChange>> fromMapParameter(QGeoMapParameter *);
+ static QList<QSharedPointer<QMapboxGLStyleChange>> fromMapItem(QDeclarativeGeoMapItemBase *);
void apply(QMapboxGL *map) Q_DECL_OVERRIDE;
private:
+ static QList<QSharedPointer<QMapboxGLStyleChange>> fromMapItem(QDeclarativePolylineMapItem *);
+
QMapboxGLStyleSetLayoutProperty() = default;
+ QMapboxGLStyleSetLayoutProperty(const QString &layer, const QString &property, const QVariant &value);
QString m_layer;
QString m_property;