diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-01-24 18:05:22 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-01-26 14:53:45 +0200 |
commit | be43310b6ff5465e6717128b577f6e61c0335c44 (patch) | |
tree | 330ba9aa8c9a1af84e9d504301c9d716fafe53b6 /platform/qt/include/qmapboxgl.hpp | |
parent | fb759e949fc6381b92eb2149cbea1db3e282de4b (diff) | |
download | qtlocation-mapboxgl-be43310b6ff5465e6717128b577f6e61c0335c44.tar.gz |
[Qt] Refactor QMapbox Annotations API
Diffstat (limited to 'platform/qt/include/qmapboxgl.hpp')
-rw-r--r-- | platform/qt/include/qmapboxgl.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/platform/qt/include/qmapboxgl.hpp b/platform/qt/include/qmapboxgl.hpp index be2d60608b..0f1ab7c293 100644 --- a/platform/qt/include/qmapboxgl.hpp +++ b/platform/qt/include/qmapboxgl.hpp @@ -183,11 +183,8 @@ public: void addAnnotationIcon(const QString &name, const QImage &sprite); - QMapbox::AnnotationID addPointAnnotation(const QMapbox::PointAnnotation &); - QMapbox::AnnotationID addShapeAnnotation(const QMapbox::ShapeAnnotation &); - - void updatePointAnnotation(QMapbox::AnnotationID, const QMapbox::PointAnnotation &); - + QMapbox::AnnotationID addAnnotation(const QMapbox::Annotation &); + void updateAnnotation(QMapbox::AnnotationID, const QMapbox::Annotation &); void removeAnnotation(QMapbox::AnnotationID); void setLayoutProperty(const QString &layer, const QString &property, const QVariant &value); |